Spaces:
No application file
No application file
EddyGiusepe
commited on
Commit
•
84621f1
1
Parent(s):
b947a9f
MultiChat
Browse files- .gitignore +3 -0
- multi_file.py +1 -1
.gitignore
CHANGED
@@ -5,3 +5,6 @@ Egyptian_pyramids/
|
|
5 |
isaac_newton/
|
6 |
richard_feynman/
|
7 |
Attention is all you need(AI paper).pdf
|
|
|
|
|
|
|
|
5 |
isaac_newton/
|
6 |
richard_feynman/
|
7 |
Attention is all you need(AI paper).pdf
|
8 |
+
venv_multi/
|
9 |
+
chromadb/
|
10 |
+
spacy_teste/
|
multi_file.py
CHANGED
@@ -83,7 +83,7 @@ for filename in os.listdir(docs_dir):
|
|
83 |
|
84 |
|
85 |
# Inicialize o MultiRetrievalQAChain 🤗:
|
86 |
-
chain = MultiRetrievalQAChain.from_retrievers(OpenAI(), retriever_names, retriever_descriptions, retrievers, verbose=
|
87 |
|
88 |
# Teste-o:
|
89 |
# print(chain.run("Quais são as diferenças entre Newton e Feynman?"))
|
|
|
83 |
|
84 |
|
85 |
# Inicialize o MultiRetrievalQAChain 🤗:
|
86 |
+
chain = MultiRetrievalQAChain.from_retrievers(OpenAI(), retriever_names, retriever_descriptions, retrievers, verbose=False)
|
87 |
|
88 |
# Teste-o:
|
89 |
# print(chain.run("Quais são as diferenças entre Newton e Feynman?"))
|