Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
"""
|
2 |
-
|
|
|
|
|
3 |
|
4 |
Function: chat with pdf documents in different languages
|
5 |
|
@@ -92,7 +94,7 @@ def get_vectorstore(text_chunks : list) -> FAISS:
|
|
92 |
def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
93 |
llm = HuggingFaceHub(
|
94 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
95 |
-
repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
96 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
97 |
)
|
98 |
|
|
|
1 |
"""
|
2 |
+
Developers:
|
3 |
+
1. Lewis Kamau Kimaru
|
4 |
+
2. Samuel Kalya Kipsang
|
5 |
|
6 |
Function: chat with pdf documents in different languages
|
7 |
|
|
|
94 |
def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
95 |
llm = HuggingFaceHub(
|
96 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
97 |
+
repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF",
|
98 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
99 |
)
|
100 |
|