not all answer #2491
Unanswered
danyaP2509
asked this question in
Q&A
not all answer
#2491
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if bot give me very long answer he is not end them
code:
response = await client.chat.completions.create(
messages=full_context + [{"role": "user", "content": prompt}],
model="gpt-4o",
)
if response.choices:
gpt_response = response.choices[0].message.content
print(gpt_response)
Beta Was this translation helpful? Give feedback.
All reactions