Before you start logging you will have to create a LogRepository on the Maxim dashboard. To create a log repository,click on Logs and the click on + icon on the sidebar. You can use the ID of that repository to push logs.
ObservabilityPython
Getting started
In this guide, we'll walk you through the process of getting started with the Maxim Python SDK.
Let's consider the following example system:
Integrating Maxim SDK
Initialize Maxim logger.
To get the Maxim API key
Decorate handler to trigger a new Trace
Decorate LLM call
Decorate Retrieval call
You can see entire code here.