rag_toolchain/clients/
mod.rs1#[cfg(feature = "openai")]
5mod open_ai;
6
7#[cfg(feature = "anthropic")]
8mod anthropic;
9
10mod traits;
11mod types;
12
13#[cfg(feature = "openai")]
14pub use self::open_ai::{
15 CompletionStreamValue, OpenAIChatCompletionClient, OpenAICompletionStream,
16 OpenAIEmbeddingClient, OpenAIError, OpenAIModel,
17};
18
19#[cfg(feature = "anthropic")]
20pub use self::anthropic::{AnthropicChatCompletionClient, AnthropicError, AnthropicModel};
21
22pub use self::traits::{
23 AsyncChatClient, AsyncEmbeddingClient, AsyncStreamedChatClient, ChatCompletionStream,
24};
25pub use self::types::PromptMessage;
26
27#[cfg(test)]
29pub use traits::{MockAsyncChatClient, MockAsyncStreamedChatClient, MockChatCompletionStream};