Expand description
ObjectiveAI API server library.
This crate provides the core implementation for the ObjectiveAI REST API, which enables scoring, ranking, and simulating preferences using ensembles of LLMs.
§Modules
auth- Authentication and API key managementchat- Chat completions with Ensemble LLMsctx- Request context and extensionsensemble- Ensemble management and retrievalensemble_llm- Ensemble LLM management and retrievalerror- Error response handlingfunctions- Function execution and profile managementutil- Utility types for streaming and indexingvector- Vector completions for scoring and ranking
Modules§
- auth
- Authentication and API key management. Authentication and API key management.
- chat
- Chat completions with Ensemble LLMs. Chat completions with Ensemble LLMs.
- ctx
- Request context and extensions for dependency injection. Request context and extensions for dependency injection.
- ensemble
- Ensemble management, fetching, and retrieval. Ensemble management, fetching, and retrieval.
- ensemble_
llm - Ensemble LLM management, fetching, and retrieval. Ensemble LLM management, fetching, and retrieval.
- error
- Error response handling and conversion. Error response handling and conversion to Axum responses.
- functions
- Function execution, profile management, and computations. Function operations.
- util
- Utility types for streaming and choice indexing. Utility types for streaming and choice indexing.
- vector
- Vector completions for scoring and ranking responses. Vector completion operations.