Installation
Install both the Netra SDK and Hugging Face Transformers:Usage
Initialize the Netra SDK with Hugging Face instrumentation enabled. The SDK automatically traces all Transformers operations once initialized.Streaming Responses
The SDK automatically handles streaming responses from Hugging Face models:Different Task Types
Various Transformers tasks are automatically instrumented:Selective Instrumentation
Control which integrations are enabled using theinstruments or blockInstruments configuration:
Next Steps
- Quick Start Guide - Complete setup and configuration
- Auto Instrumentation - Automatic tracing for supported libraries
- Decorators - Add custom tracing with
@workflow,@agent, and@taskdecorators - Session Tracking - Track user sessions and conversations
- Transformers Documentation - Official Hugging Face Transformers quick tour