Docs.rs
ai-chain-openai-0.14.2
ai-chain-openai 0.14.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
louloulin
Dependencies
ai-chain ^0.14.2
normal
async-openai ^0.16.2
normal
async-trait ^0.1.68
normal
futures ^0.3.28
normal
serde ^1.0.163
normal
strum ^0.24
normal
strum_macros ^0.24
normal
thiserror ^1.0.40
normal
tiktoken-rs ^0.5.7
normal
tokio ^1.28.0
normal
anyhow ^1.0.70
dev
qdrant-client ^1.3.0
dev
serde_yaml ^0.9.21
dev
tokio ^1.28.2
dev
Versions
57.89%
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
ai_
chain_
openai
0.14.2
Module chatgpt
Module Items
Structs
Enums
In crate ai_
chain_
openai
ai_chain_openai
Module
chatgpt
Copy item path
Source
Expand description
This module implements chains for the ChatGPT model from OpenAI.
Structs
§
Executor
The
Executor
struct for the ChatGPT model. This executor uses the
async_openai
crate to communicate with the OpenAI API.
Enums
§
Error
Model
The
Model
enum represents the available ChatGPT models that you can use through the OpenAI API.