Docs.rs
openai-utils-0.5.1
openai-utils 0.5.1
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
RobertasJ
Dependencies
anyhow ^1.0.75
normal
dotenv ^0.15.0
normal
futures ^0.3.28
normal
futures-util ^0.3.28
normal
lazy_static ^1.4.0
normal
log ^0.4.20
normal
reqwest ^0.11.20
normal
reqwest-eventsource ^0.5.0
normal
schemars ^0.8.15
normal
serde ^1.0.188
normal
serde_derive ^1.0.188
normal
serde_json ^1.0.107
normal
thiserror ^1.0.48
normal
tiktoken-rs ^0.5.6
normal
tokio ^1.32.0
normal
Versions
0%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
openai_
utils
0.5.1
All Items
Crate Items
Structs
Functions
Crate
openai_utils
Copy item path
Source
Structs
§
AiAgent
Chat
Chat
Delta
Chat
Request
Choice
Choice
Delta
Delta
Delta
Receiver
Function
Function
Call
Function
Call
Delta
Message
NoArgs
Usage
Functions
§
api_key
calculate_
message_
tokens
calculate_
tokens