Update main.py
Browse files
main.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import os
|
2 |
from typing import List
|
3 |
from pathlib import Path
|
4 |
-
from
|
5 |
-
from langchain_community.llms import HuggingFaceEndpoint
|
6 |
-
|
7 |
#from langchain_openai import ChatOpenAI, OpenAIEmbeddings
|
8 |
from langchain.prompts import ChatPromptTemplate
|
9 |
from langchain.schema import StrOutputParser
|
|
|
1 |
import os
|
2 |
from typing import List
|
3 |
from pathlib import Path
|
4 |
+
from langchain_huggingface import HuggingFaceEmbeddings
|
5 |
+
#from langchain_community.llms import HuggingFaceEndpoint
|
6 |
+
from langchain_huggingface import HuggingFaceEndpoint
|
7 |
#from langchain_openai import ChatOpenAI, OpenAIEmbeddings
|
8 |
from langchain.prompts import ChatPromptTemplate
|
9 |
from langchain.schema import StrOutputParser
|