Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ def create_vector_db(final_items):
|
|
171 |
prompt,
|
172 |
max_tokens = 1024,
|
173 |
temperature = 0.1,
|
174 |
-
top_p = 0.9
|
175 |
echo = False,
|
176 |
stop = ['END']
|
177 |
)
|
@@ -226,7 +226,7 @@ def generate_response(db, query_text, previous_context):
|
|
226 |
temperature = 0.1,
|
227 |
top_p = 0.9,
|
228 |
echo = False,
|
229 |
-
|
230 |
)
|
231 |
|
232 |
print(response["choices"][0]["text"].strip())
|
|
|
171 |
prompt,
|
172 |
max_tokens = 1024,
|
173 |
temperature = 0.1,
|
174 |
+
top_p = 0.9,
|
175 |
echo = False,
|
176 |
stop = ['END']
|
177 |
)
|
|
|
226 |
temperature = 0.1,
|
227 |
top_p = 0.9,
|
228 |
echo = False,
|
229 |
+
stop = ['END']
|
230 |
)
|
231 |
|
232 |
print(response["choices"][0]["text"].strip())
|