Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -82,7 +82,7 @@ def generate_answer_with_references(query, data):
|
|
82 |
Resposta:""".format(context=context, query=query)
|
83 |
|
84 |
qa_prompt = PromptTemplate.from_template(prompt_template)
|
85 |
-
|
86 |
|
87 |
llm = ChatOpenAI(api_key=api_key, model="gpt-3.5-turbo")
|
88 |
response = llm.invoke(qa_prompt.template)
|
|
|
82 |
Resposta:""".format(context=context, query=query)
|
83 |
|
84 |
qa_prompt = PromptTemplate.from_template(prompt_template)
|
85 |
+
|
86 |
|
87 |
llm = ChatOpenAI(api_key=api_key, model="gpt-3.5-turbo")
|
88 |
response = llm.invoke(qa_prompt.template)
|