RxInfer Client - v1.3.0
    Preparing search index...

    RxInfer Client - v1.3.0

    RxInfer Client

    npm version License: MIT

    A TypeScript client for interacting with RxInferServer, providing type-safe access to its API endpoints.

    RxInferServer is a Julia-based server that provides an API for performing probabilistic inference using the RxInfer.jl package. This client library allows you to interact with RxInferServer from TypeScript/JavaScript applications.

    • Probabilistic inference using message passing
    • Support for various probabilistic models
    • RESTful API interface
    • Real-time inference capabilities
    npm install @lazydynamics/rxinfer-client
    
    import { RxInferClient, pingServer } from '@lazydynamics/rxinfer-client';

    // Create a client instance
    const client = await RxInferClient.create();

    // Use the client to interact with RxInferServer
    const response = await pingServer({ client });
    console.log(response.data); // { status: 'ok' }
    • Node.js (LTS version recommended)
    • RxInferServer running locally or accessible via network
    1. Clone the RxInferServer repository:

      git clone https://github.com/lazydynamics/RxInferServer.git
      cd RxInferServer
    2. Build and start the server:

      make docker
      make dev

      This will start RxInferServer on http://localhost:8000.

    1. Install dependencies:

      npm install
      
    2. Generate TypeScript client from OpenAPI specification:

      npm run generate
      
    3. Build the package:

      npm run build
      
    npm test
    

    Note: Tests require RxInferServer to be running locally.

    Generate and view documentation:

    npm run docs
    npm run docs:serve

    See CONTRIBUTING.md for details on how to contribute to this project.

    This project is licensed under the MIT License - see the LICENSE file for details.

    If you encounter any issues or have questions, please:

    1. Check the documentation
    2. Open an issue
    3. Contact the maintainers