Docs.rs
mini-openai-0.1.1
mini-openai 0.1.1
Docs.rs crate page
BSD-2-Clause
Links
Homepage
Repository
crates.io
Source
Owners
Papierkorb
Dependencies
reqwest ^0.12.8
normal
optional
serde >=1.0
normal
serde_json >=1.0
normal
thiserror ^1.0.64
normal
ureq ^2.10.1
normal
optional
tokio ^1
dev
Versions
13.33%
of the crate is documented
Go to latest version
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
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
mini_
openai
0.1.1
All Items
Crate Items
Structs
Enums
Constants
Functions
Crate
mini_openai
Copy item path
source
Structs
§
Chat
Completions
Chat completions structure.
Chat
Completions
Response
Choice
Client
Embedding
Embeddings
Embeddings request structure.
Embeddings
Response
Message
Usage
Enums
§
Error
Input
Response
Format
Stop
Constants
§
DEFAULT_
CHAT_
MODEL
DEFAULT_
EMBEDDING_
MODEL
ROLE_
ASSISTANT
ROLE_
SYSTEM
ROLE_
USER
Functions
§
parse_
json_
lenient
Helper function to be used with Client::chat_completions_into().