Skip to content

Commit

Permalink
Change token account in QA node to 128
Browse files Browse the repository at this point in the history
  • Loading branch information
derkmed committed May 29, 2024
1 parent 8130fb6 commit cbb38b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def prompt_gpt(self, question, model: str = "gpt-3.5-turbo"):
"model": model,
"messages": [{"role": "user", "content": prompt}],
"temperature": 0.7,
"max_tokens": 64,
"max_tokens": 128,
}
req = requests.post(
"https://api.openai.com/v1/chat/completions",
Expand All @@ -159,7 +159,7 @@ def prompt_gpt_with_chat_history(self, question, model: str = "gpt-3.5-turbo"):
"model": model,
"messages": [{"role": "user", "content": prompt}],
"temperature": 0.7,
"max_tokens": 64,
"max_tokens": 128,
}
req = requests.post(
"https://api.openai.com/v1/chat/completions",
Expand Down

0 comments on commit cbb38b8

Please sign in to comment.