Authentication
Set yourNEBIUS_API_KEY
environment variable. Get your key from Nebius AI Studio here.
Example
UseNebius
with your Agent
:
View more examples here.
Params
Parameter | Type | Default | Description |
---|---|---|---|
id | str | "meta-llama/Meta-Llama-3.1-70B-Instruct" | The id of the Nebius model to use |
name | str | "Nebius" | The name of the model |
provider | str | "Nebius" | The provider of the model |
api_key | Optional[str] | None | The API key for Nebius (defaults to NEBIUS_API_KEY env var) |
base_url | str | "https://api.studio.nebius.ai/v1" | The base URL for the Nebius API |