Spaces:
Runtime error
Runtime error
update
Browse files- embed_with_db.py +2 -0
embed_with_db.py
CHANGED
@@ -4,6 +4,8 @@ from pymongo import MongoClient
|
|
4 |
from langchain_core.runnables import RunnablePassthrough
|
5 |
from langchain_core.output_parsers import StrOutputParser
|
6 |
from langchain.prompts import ChatPromptTemplate
|
|
|
|
|
7 |
import os
|
8 |
|
9 |
config= {
|
|
|
4 |
from langchain_core.runnables import RunnablePassthrough
|
5 |
from langchain_core.output_parsers import StrOutputParser
|
6 |
from langchain.prompts import ChatPromptTemplate
|
7 |
+
from langchain_community.llms import HuggingFaceEndpoint
|
8 |
+
|
9 |
import os
|
10 |
|
11 |
config= {
|