Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,8 @@ from langchain_community.vectorstores import Chroma
|
|
| 6 |
import chromadb
|
| 7 |
# from langchain.embeddings import HuggingFaceEmbeddings
|
| 8 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 9 |
-
from langchain.prompts import ChatPromptTemplate
|
|
|
|
| 10 |
from langchain_core.prompts import PromptTemplate, ChatPromptTemplate
|
| 11 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 12 |
from huggingface_hub import InferenceClient
|
|
|
|
| 6 |
import chromadb
|
| 7 |
# from langchain.embeddings import HuggingFaceEmbeddings
|
| 8 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 9 |
+
# from langchain.prompts import ChatPromptTemplate
|
| 10 |
+
from langchain_core.prompts import ChatPromptTemplate
|
| 11 |
from langchain_core.prompts import PromptTemplate, ChatPromptTemplate
|
| 12 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 13 |
from huggingface_hub import InferenceClient
|