Spaces:
Sleeping
Sleeping
FauziIsyrinApridal
commited on
Commit
·
0182950
1
Parent(s):
2a886a9
..
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def reorder_embedding(docs):
|
|
83 |
def create_conversational_chain(vector_store):
|
84 |
"""Create a Conversational Retrieval Chain for RAG."""
|
85 |
llm = Replicate(
|
86 |
-
model="
|
87 |
model_kwargs={"temperature": 0.1, "top_p": 0.9, "max_new_tokens": 10000}
|
88 |
)
|
89 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True, output_key="answer")
|
|
|
83 |
def create_conversational_chain(vector_store):
|
84 |
"""Create a Conversational Retrieval Chain for RAG."""
|
85 |
llm = Replicate(
|
86 |
+
model="fauzi3007/sahabat-ai-replicate:c3fc398f441379bd3fb6a4498950f9302aa75b7a95e76978a689ceb5c4b4bf09",
|
87 |
model_kwargs={"temperature": 0.1, "top_p": 0.9, "max_new_tokens": 10000}
|
88 |
)
|
89 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True, output_key="answer")
|