Mistral is a French model provider that develops open, efficient, helpful, and trustworthy AI models through ground-breaking innovations in natural language processing.With HoneyHive, you can trace all your operations using a single line of code. Find a list of all supported integrations here.
Here is an example of how to trace your code in HoneyHive.
Copy
Ask AI
from mistralai.client import MistralClientimport osfrom honeyhive import HoneyHiveTracertracer = HoneyHiveTracer.init( api_key="MY_HONEYHIVE_API_KEY", project="MY_HONEYHIVE_PROJECT_NAME",)s = MistralClient( api_key=os.getenv("MISTRAL_API_KEY", ""),)res = s.chat( model="mistral-small-latest", messages=[ { "content": "What is your name and model type? Answer in one short sentence.", "role": "user", },])if res is not None: print(res.choices[0].message.content)