Update answer_question.py
This commit is contained in:
parent
59e10cec11
commit
b637c93e74
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ def get_answer_from_files(question, session_id, pinecone_index):
|
||||||
break
|
break
|
||||||
files_string += file_string
|
files_string += file_string
|
||||||
|
|
||||||
|
# Note: this is not the proper way to use the ChatGPT conversational format, but it works for now
|
||||||
messages = [
|
messages = [
|
||||||
{
|
{
|
||||||
"role": "system",
|
"role": "system",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue