API Key Setup
Before running your application, set the following environment variables:HF_TOKEN is your Hugging Face API token.
Install
Install smolagents, the OpenInference instrumentor, Arize OTel, and supporting OpenTelemetry packages:Setup Tracing
Add yourHF_TOKEN as an environment variable: