Skip to content

Commit

Permalink
use qwen2:7b
Browse files Browse the repository at this point in the history
  • Loading branch information
guanlisheng committed Jul 27, 2024
1 parent 60fffaa commit 6fe4a5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions synochatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def process_gpt_response(webhook):
# https://github.com/ollama/ollama/blob/main/docs/openai.md#v1chatcompletions
response = client.chat.completions.create(
messages=messages,
temperature=0.3,
model='llama3:8b',
model='qwen2:7b',
)

response_role = response.choices[0].message.role
Expand Down

0 comments on commit 6fe4a5f

Please sign in to comment.