docs.rs failed to build serdes-ai-models-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
serdes-ai-models
Model trait and provider implementations for serdes-ai
This crate defines the Model trait and provides implementations for various LLM providers:
- OpenAI (GPT-4, GPT-4o, o1, o3)
- Anthropic (Claude 3.5, Claude 4)
- Google (Gemini 1.5, Gemini 2.0)
- Groq (Llama, Mixtral)
- Mistral
- Ollama (local models)
- Azure OpenAI
- AWS Bedrock
Installation
[]
= "0.1"
Usage
use ;
let model = from_env?;
let response = model.chat.await?;
Part of SerdesAI
This crate is part of the SerdesAI workspace.
For most use cases, you should use the main serdes-ai crate which re-exports these types.
License
MIT License - see LICENSE for details.