Installation
Install the Netra SDK along with the Cohere client library:Usage
Netra automatically instruments Cohere API calls when you initialize the SDK. The instrumentation captures chat completions, streaming responses, and rerank operations.Basic Setup
Initialize Netra at the start of your application to enable automatic Cohere instrumentation:Streaming Responses
Netra automatically handles streaming responses from Cohere:Rerank Operations
Rerank API calls are also automatically instrumented:Session Tracking
Associate Cohere operations with user sessions for better analytics:Selective Instrumentation
Enable only Cohere instrumentation if needed:Next Steps
- Quick Start Guide - Get started with Netra SDK
- Auto Instrumentation - Learn about automatic instrumentation
- Session Management - Track user sessions and context
- The Cohere Platform - Official Cohere documentation