MistralAI Evals
Configure and run MistralAI for evals
MistralAIModel
class MistralAIModel(BaseModel):
model: str = "mistral-large-latest"
temperature: float = 0
top_p: Optional[float] = None
random_seed: Optional[int] = None
response_format: Optional[Dict[str, str]] = None
safe_mode: bool = False
safe_prompt: bool = False
Usag
# model = Instantiate your MistralAIModel here
model("Hello there, how are you?")
# Output: "As an artificial intelligence, I don't have feelings,
# but I'm here and ready to assist you. How can I help you today?"
Last updated
Was this helpful?