Pydantic + Nebius AI docs
Prerequisites
- Create an API key to authorize requests to Nebius Token Factory.
-
Save the API key into a
NEBIUS_API_KEYenvironment variable: -
Install the
pydanticpackage:
Create an Agent Application
Simplest application.NEBIUS_API_KEY will be inferred from env variables.
NebiusProvider class: