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
Monitor IBM WatsonX calls
Wrap your WatsonX model instance with Lunary’s
monitor method to automatically track your calls.