Spaces:
Sleeping
Sleeping
Commit
·
b67d34a
1
Parent(s):
6a70465
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import time
|
| 3 |
from langchain.schema import HumanMessage, SystemMessage, AIMessage
|
|
|
|
|
|
|
| 4 |
|
| 5 |
def get_chatmodel_response(question):
|
| 6 |
# Retry logic
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import time
|
| 3 |
from langchain.schema import HumanMessage, SystemMessage, AIMessage
|
| 4 |
+
from langchain.chat_models import ChatOpenAI
|
| 5 |
+
|
| 6 |
|
| 7 |
def get_chatmodel_response(question):
|
| 8 |
# Retry logic
|