Parameters
Parameter | Type | Default | Description |
---|---|---|---|
id | str | "gpt-4o-mini" | The id of the model to use |
name | str | "AIMLAPI" | The name of the model |
provider | str | "AIMLAPI" | The provider of the model |
api_key | Optional[str] | None | The API key for AI/ML API (defaults to AIMLAPI_API_KEY env var) |
base_url | str | "https://api.aimlapi.com/v1" | The base URL for the AI/ML API |
max_tokens | int | 4096 | Maximum number of tokens to generate |