Crate kind_openai
source ·Expand description
An opinionated wrapper around the OpenAI API. This does not support all endpoints, and is not automatically generated.
Re-exports§
pub use error::OpenAIError;
pub use error::OpenAIResult;
Modules§
Macros§
Structs§
- Auth token provided that takes the auth token from the environment.
- A handle to OpenAI.
- A string that, when deserialize, bypasses the normal deserialization process and instead returns the raw string. This is useful when deserializing data that might be a string or might be a JSON string, and you want to have a unified interface over both.
Traits§
- Any type that can provide a bearer auth token.