xiaosuhu86 commited on
Commit
ff06b17
·
1 Parent(s): afe1590

update: openai for ollama test

Browse files
Files changed (1) hide show
  1. modules/llm_in_use.py +8 -1
modules/llm_in_use.py CHANGED
@@ -13,9 +13,16 @@ def get_llm():
13
 
14
  # llm = ChatOpenAI(temperature=0)
15
 
16
- llm = ChatOllama(model="llama3.2:3b", temperature=0, base_url="http://141.211.127.171")
17
  # llm = ChatOllama(model="qwen2.5:14b", temperature=0, base_url="http://141.211.127.171")
18
  # llm = ChatOllama(model="nexusraven:13b", temperature=0, base_url="http://141.211.127.171")
 
 
 
 
 
 
 
19
 
20
  # llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest")
21
 
 
13
 
14
  # llm = ChatOpenAI(temperature=0)
15
 
16
+ # llm = ChatOllama(model="llama3.2:3b", temperature=0, base_url="http://141.211.127.171")
17
  # llm = ChatOllama(model="qwen2.5:14b", temperature=0, base_url="http://141.211.127.171")
18
  # llm = ChatOllama(model="nexusraven:13b", temperature=0, base_url="http://141.211.127.171")
19
+
20
+ """llm = ChatOpenAI(
21
+ api_key="ollama",
22
+ model="llama3.2:latest",
23
+ base_url="http://141.211.127.171/",
24
+ )"""
25
+
26
 
27
  # llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest")
28