Re-exports§
pub use error::RStructorError;pub use error::Result;pub use model::Instructor;pub use schema::CustomTypeSchema;pub use schema::Schema;pub use schema::SchemaBuilder;pub use schema::SchemaType;
Modules§
Macros§
- impl_
client_ builder_ methods - Macro to generate standard builder methods for LLM clients.
Structs§
- Anthropic
Client - Anthropic client for generating completions
- Gemini
Client - Gemini client for generating completions
- Grok
Client - Grok client for generating completions
- OpenAI
Client - OpenAI client for generating completions
Enums§
- Anthropic
Model - Anthropic models available for completion
- Gemini
Model - Gemini models available for completion
- Grok
Model - Grok models available for completion
- OpenAI
Model - OpenAI models available for completion
Traits§
- LLMClient
- LLMClient trait defines the interface for all LLM API clients.
Derive Macros§
- Instructor
- Derive macro for implementing Instructor and SchemaType