Crate llm_tools

Source
Expand description

§Module :: llm_tools

experimental rust-status docs.rs discord

NOT ready for production

Unified API for AI.

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§

AssistantObject
AssistantObjectWrap
A wrapper for AssistantObject to make pretty print.
Client
FileDataWrap
A wrapper for FileData to make pretty print.
RunObjectWrap
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.
IteratorTrait
A trait for iterators that implement _IteratorTrait and Clone.
_IteratorTrait
A trait for iterators that are also ExactSizeIterator.

Functions§

client
Creates a new OpenAI API client using the secrets.