Update answer_question.py

pull/1077/head
isafulf 1 year ago
parent 36458a582c
commit 975f7d3bb0

@ -42,6 +42,7 @@ def get_answer_from_files(question, session_id, pinecone_index):
break
files_string += file_string
# Note: this is not the proper way to use the ChatGPT conversational format, but it works for now
messages = [
{
"role": "system",

Loading…
Cancel
Save