update
#3
by
elliot18
- opened
app.py
CHANGED
@@ -74,6 +74,7 @@ def generate_response(user_query, relevant_segment):
|
|
74 |
|
75 |
response = openai.ChatCompletion.create(
|
76 |
model="gpt-3.5-turbo",
|
|
|
77 |
messages=messages,
|
78 |
max_tokens=150,
|
79 |
temperature=0.2,
|
|
|
74 |
|
75 |
response = openai.ChatCompletion.create(
|
76 |
model="gpt-3.5-turbo",
|
77 |
+
stop=None
|
78 |
messages=messages,
|
79 |
max_tokens=150,
|
80 |
temperature=0.2,
|