iso8583sim.llm.providers
This module provides a factory function to create LLM providers
and auto-detect available providers based on installed packages
and configured API keys.
Functions
get_provider()
str | None
default:"None"
Provider name (‘anthropic’, ‘openai’, ‘google’, ‘ollama’)
or None for auto-detection
Any
Additional arguments passed to the provider constructor
LLMProvider
An initialized LLMProvider instance
ProviderConfigError: If no provider is available or configured
list_available_providers()
list[str]
List of provider names that are installed and configured
list_installed_providers()
list[str]
List of provider names that have their packages installed