Update app.py
Browse files
app.py
CHANGED
@@ -75,10 +75,9 @@ def generate_response(user_query, relevant_segment):
|
|
75 |
response = openai.ChatCompletion.create(
|
76 |
model="gpt-3.5-turbo",
|
77 |
messages=messages,
|
78 |
-
max_tokens=
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
81 |
-
Stop=None
|
82 |
frequency_penalty=0,
|
83 |
presence_penalty=0
|
84 |
)
|
|
|
75 |
response = openai.ChatCompletion.create(
|
76 |
model="gpt-3.5-turbo",
|
77 |
messages=messages,
|
78 |
+
max_tokens=350,
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
|
|
81 |
frequency_penalty=0,
|
82 |
presence_penalty=0
|
83 |
)
|