A simple API for calling configured LLMs from multiple providers.
For local development:
pip install -e .For production use:
pip install llm-factoryfrom llm_factory import call_llm
result = call_llm("my_llm_name", "Hello, how are you?")- Support for multiple LLM providers (OpenAI, Anthropic, Google, Cohere, Mistral)
- Configuration management
- Structured output parsing
- Tool execution capabilities