pub trait LLMProvider:
ChatProvider
+ CompletionProvider
+ EmbeddingProvider {
// Provided method
fn tools(&self) -> Option<&[Tool]> { ... }
}
Expand description
Core trait that all LLM providers must implement, combining chat, completion and embedding capabilities into a unified interface
Provided Methods§
Implementors§
impl LLMProvider for Anthropic
impl LLMProvider for DeepSeek
impl LLMProvider for Google
impl LLMProvider for Groq
impl LLMProvider for Ollama
impl LLMProvider for OpenAI
impl LLMProvider for Phind
Implementation of the LLMProvider trait for Phind.