Integrations
IBM WatsonX Integration
Lunary has partnered with IBM to provide a seamless integration for monitoring WatsonX calls in your Python app.
Our Python SDK includes automatic integration with IBM WatsonX’s foundation models using Lunary.
1
Setup the SDK
First, ensure you have installed the IBM WatsonX SDK and Lunary. Set your environment variables for IBM authentication.
Configure your environment variables:
IBM_API_KEY
: your IBM API keyIBM_PROJECT_ID
: your IBM project id
2
Monitor IBM WatsonX calls
Wrap your WatsonX model instance with Lunary’s monitor
method to automatically track your calls.
3
Tag requests and identify users
Optionally, pass extra parameters to track details such as tags and user information by including additional arguments to the chat call.