Github-Repo-Visualizer / __init__.py
madhurjindal's picture
Create __init__.py
3610943 verified
raw
history blame
335 Bytes
from langchain_mistralai import ChatMistralAI
llm = ChatMistralAI(
model="mistral-small-latest",
temperature=0,
max_retries=2,
# other params...
)
llm_structured = ChatMistralAI(
model="mistral-small-latest",
temperature=0,
max_retries=2,
# other params...
).with_structured_output(method="json_mode")