File tree 3 files changed +7
-13
lines changed
3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 19
19
# ************************************************
20
20
# Define the configuration for the graph
21
21
# ************************************************
22
+ gemini_key = os .getenv ("GOOGLE_APIKEY" )
22
23
23
24
graph_config = {
24
25
"llm" : {
25
- "model" : "ollama/mistral" ,
26
- "temperature" : 0 ,
27
- "format" : "json" , # Ollama needs the format to be specified explicitly
28
- # "model_tokens": 2000, # set context length arbitrarily
29
- "base_url" : "http://localhost:11434" ,
26
+ "api_key" : gemini_key ,
27
+ "model" : "gemini-pro" ,
30
28
},
31
- "embeddings" : {
32
- "model" : "ollama/nomic-embed-text" ,
33
- "temperature" : 0 ,
34
- "base_url" : "http://localhost:11434" ,
35
- }
36
29
}
37
30
38
31
# ************************************************
Original file line number Diff line number Diff line change 18
18
graph_config = {
19
19
"llm" : {
20
20
"api_key" : gemini_key ,
21
- "model" : "gpt-3.5-turbo " ,
21
+ "model" : "gemini-pro " ,
22
22
},
23
23
}
24
24
Original file line number Diff line number Diff line change 20
20
"gpt-4-32k-0613" : 32768 ,
21
21
},
22
22
"azure" : {
23
- "gpt-3.5-turbo" : 4096
23
+ "gpt-3.5-turbo" : 4096 ,
24
+ "gpt-4" : 8192 ,
25
+ "gpt-4-32k" : 32768
24
26
},
25
27
"gemini" : {
26
28
"gemini-pro" : 128000 ,
48
50
"claude3" : 200000
49
51
}
50
52
}
51
-
You can’t perform that action at this time.
0 commit comments