Integrate with OpenAI¶
To monitor your LLM Applications, you can use the Opik platform by Comet.
Using the OpenAI integration¶
You can learn more about Opik's integration with OpenAI here.
Logging all your OpenAI calls to the platform is as simple as adding the following lines of code to your script or notebook:
from opik.integrations.openai import track_openai
from openai import OpenAI
open_ai_client = OpenAI()
client = track_openai(open_ai_client)
Nov. 18, 2024