objectiveai_api/lib.rs
1//! ObjectiveAI API server library.
2//!
3//! This crate provides the core implementation for the ObjectiveAI REST API,
4//! which enables scoring, ranking, and simulating preferences using ensembles of LLMs.
5//!
6//! # Modules
7//!
8//! - [`auth`] - Authentication and API key management
9//! - [`chat`] - Chat completions with Ensemble LLMs
10//! - [`ctx`] - Request context and extensions
11//! - [`ensemble`] - Ensemble management and retrieval
12//! - [`ensemble_llm`] - Ensemble LLM management and retrieval
13//! - [`error`] - Error response handling
14//! - [`functions`] - Function execution and profile management
15//! - [`util`] - Utility types for streaming and indexing
16//! - [`vector`] - Vector completions for scoring and ranking
17
18/// Authentication and API key management.
19pub mod auth;
20/// Chat completions with Ensemble LLMs.
21pub mod chat;
22/// Request context and extensions for dependency injection.
23pub mod ctx;
24/// Ensemble management, fetching, and retrieval.
25pub mod ensemble;
26/// Ensemble LLM management, fetching, and retrieval.
27pub mod ensemble_llm;
28/// Error response handling and conversion.
29pub mod error;
30/// Function execution, profile management, and computations.
31pub mod functions;
32/// Utility types for streaming and choice indexing.
33pub mod util;
34/// Vector completions for scoring and ranking responses.
35pub mod vector;