Ilyas KHIAT
commited on
Commit
·
cea395e
1
Parent(s):
cc08c24
chatbot and bug fix
Browse files- chat_with_pps.py +1 -1
- requirements.txt +1 -2
chat_with_pps.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from langchain_core.messages import AIMessage, HumanMessage
|
| 3 |
-
from
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
from langchain_core.output_parsers import StrOutputParser
|
| 6 |
from langchain_core.prompts import ChatPromptTemplate
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from langchain_core.messages import AIMessage, HumanMessage
|
| 3 |
+
from langchain_community.chat_models import ChatOpenAI
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
from langchain_core.output_parsers import StrOutputParser
|
| 6 |
from langchain_core.prompts import ChatPromptTemplate
|
requirements.txt
CHANGED
|
@@ -29,5 +29,4 @@ altair[all]
|
|
| 29 |
streamlit-vertical-slider
|
| 30 |
streamlit_toggle
|
| 31 |
langchain_experimental
|
| 32 |
-
streamlit_draggable_list
|
| 33 |
-
langchain_openai
|
|
|
|
| 29 |
streamlit-vertical-slider
|
| 30 |
streamlit_toggle
|
| 31 |
langchain_experimental
|
| 32 |
+
streamlit_draggable_list
|
|
|