Docs.rs
  • rag-toolchain-0.1.9
    • rag-toolchain 0.1.9
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • JackMatthewRimmer
    • Dependencies
      • dotenv ^0.15.0 normal
      • eventsource-stream ^0.2.3 normal optional
      • futures ^0.3.31 normal
      • pgvector ^0.4.0 normal optional
      • reqwest ^0.12.8 normal
      • reqwest-eventsource ^0.6.0 normal optional
      • serde ^1.0.200 normal
      • serde_json ^1.0.116 normal
      • sqlx ^0.8.0 normal
      • thiserror ^1.0.61 normal
      • tiktoken-rs ^0.5.8 normal
      • tokio ^1.37 normal
      • typed-builder ^0.20.0 normal
      • lazy_static ^1.4.0 dev
      • mockall ^0.13.0 dev
      • mockito ^1.4.0 dev
      • testcontainers ^0.23.1 dev
    • Versions
    • 63.08% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

rag_toolchain0.1.9

Module clients

Sections

  • Clients

Module Items

  • Structs
  • Enums
  • Traits

In crate rag_toolchain

rag_toolchain

Module clients

Source
Expand description

§Clients

The clients module is simply a place for all our implemented clients and there supporting code. This is going to be common for any embedding model’s and LLM’s we support and the easiest is the example of our OpenAI client.

Structs§

AnthropicChatCompletionClient
AnthropicChatCompletionClient
OpenAIChatCompletionClient
OpenAIChatCompletionClient
OpenAICompletionStream
OpenAICompletionStream
OpenAIEmbeddingClient
OpenAIEmbeddingClient

Enums§

AnthropicError
AnthropicError
AnthropicModel
AnthropicModel
CompletionStreamValue
CompletionStreamValue
OpenAIError
OpenAIError
OpenAIModel
OpenAIModel
PromptMessage
PromptMessage

Traits§

AsyncChatClient
AsyncChatClient
AsyncEmbeddingClient
AsyncEmbeddingClient
AsyncStreamedChatClient
AsyncStreamedChatClient
ChatCompletionStream
ChatCompletionStream