Spaces:
Running
Running
Update chain.py
Browse files
chain.py
CHANGED
@@ -6,7 +6,8 @@ import wandb
|
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
from langchain.chat_models import ChatOpenAI
|
8 |
from langchain.embeddings import OpenAIEmbeddings
|
9 |
-
from langchain.vectorstores import Chroma
|
|
|
10 |
from prompts import load_chat_prompt
|
11 |
|
12 |
|
|
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
from langchain.chat_models import ChatOpenAI
|
8 |
from langchain.embeddings import OpenAIEmbeddings
|
9 |
+
## deprectated from langchain.vectorstores import Chroma
|
10 |
+
from langchain_community.vectorstores import Chroma
|
11 |
from prompts import load_chat_prompt
|
12 |
|
13 |
|