Expand description
Modules§
- client
- Client of API.
- debug
- Client of API.
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*
. - secret
- Tool’s secrets.
- ser
- Serde-related exports.
- util
- Collection of utility functions for this crate.
Structs§
- Assistant
Object - Assistant
Object Wrap - A wrapper for
AssistantObject
to make pretty print. - Client
- File
Data Wrap - A wrapper for
FileData
to make pretty print. - RunObject
Wrap - A wrapper for
RunObject
to make pretty print. - Secret
- Represents the application secrets loaded from environment variables.
Traits§
- Fields
- A trait for iterating over fields convertible to a specified type within an entity.
- Iterator
Trait - A trait for iterators that implement
_IteratorTrait
andClone
. - _Iterator
Trait - A trait for iterators that are also
ExactSizeIterator
.
Functions§
- client
- Creates a new OpenAI API client using the secrets.