mistake
Browse files- embed_with_db.py +2 -2
embed_with_db.py
CHANGED
|
@@ -4,8 +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 |
-
|
| 8 |
-
|
| 9 |
config= {
|
| 10 |
'MONGODB_CONN_STRING': os.getenv('MONGODB_CONN_STRING'),
|
| 11 |
'HUGGINGFACEHUB_API_TOKEN': os.getenv('HUGGINGFACEHUB_API_TOKEN'),
|
|
|
|
| 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= {
|
| 10 |
'MONGODB_CONN_STRING': os.getenv('MONGODB_CONN_STRING'),
|
| 11 |
'HUGGINGFACEHUB_API_TOKEN': os.getenv('HUGGINGFACEHUB_API_TOKEN'),
|