Spaces:
Sleeping
Sleeping
jjovalle99
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ try:
|
|
57 |
|
58 |
Answer:"""
|
59 |
human_message = HumanMessagePromptTemplate.from_template(template=human_template)
|
60 |
-
llm = ChatOpenAI(model="gpt-
|
61 |
prompt = ChatPromptTemplate.from_messages(messages=[system_message, human_message])
|
62 |
parser = StrOutputParser()
|
63 |
prompt_chain = prompt | llm | parser
|
|
|
57 |
|
58 |
Answer:"""
|
59 |
human_message = HumanMessagePromptTemplate.from_template(template=human_template)
|
60 |
+
llm = ChatOpenAI(model="gpt-3.5-turbo-0125", streaming=True)
|
61 |
prompt = ChatPromptTemplate.from_messages(messages=[system_message, human_message])
|
62 |
parser = StrOutputParser()
|
63 |
prompt_chain = prompt | llm | parser
|