madhurjindal commited on
Commit
3610943
·
verified ·
1 Parent(s): 39d2789

Create __init__.py

Browse files
Files changed (1) hide show
  1. __init__.py +14 -0
__init__.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from langchain_mistralai import ChatMistralAI
2
+
3
+ llm = ChatMistralAI(
4
+ model="mistral-small-latest",
5
+ temperature=0,
6
+ max_retries=2,
7
+ # other params...
8
+ )
9
+ llm_structured = ChatMistralAI(
10
+ model="mistral-small-latest",
11
+ temperature=0,
12
+ max_retries=2,
13
+ # other params...
14
+ ).with_structured_output(method="json_mode")