orkes.services.LLMFactory#
- class orkes.services.LLMFactory[source]#
A factory for creating pre-configured
UniversalLLMClientinstances.This factory provides static methods to create clients for various LLM providers, such as vLLM, OpenAI, Anthropic, and Google Gemini.
- __init__()#
Methods
__init__()create_anthropic(api_key[, model, base_url])Creates a client for the Anthropic API.
create_gemini(api_key[, model, base_url])Creates a client for the Google Gemini API.
create_openai(api_key[, model, base_url])Creates a client for the OpenAI API.
create_vllm(url, model[, api_key, base_url])Creates a client for a vLLM-compatible server.