Spaces:
Running
Running
karubiniumu
commited on
Commit
•
7068013
1
Parent(s):
46b2a15
gemini-1.5-flash
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ class Niwa_rag :
|
|
64 |
document_joiner = DocumentJoiner()
|
65 |
ranker = TransformersSimilarityRanker(model=ranker_model,top_k=8)
|
66 |
prompt_builder = ChatPromptBuilder(template=messages,variables=["query", "documents", "memories"], required_variables=["query", "documents", "memories"])
|
67 |
-
gemini = GoogleAIGeminiChatGenerator(model="models/gemini-1.
|
68 |
|
69 |
memory_store = InMemoryChatMessageStore()
|
70 |
memory_joiner = ListJoiner(List[ChatMessage])
|
|
|
64 |
document_joiner = DocumentJoiner()
|
65 |
ranker = TransformersSimilarityRanker(model=ranker_model,top_k=8)
|
66 |
prompt_builder = ChatPromptBuilder(template=messages,variables=["query", "documents", "memories"], required_variables=["query", "documents", "memories"])
|
67 |
+
gemini = GoogleAIGeminiChatGenerator(model="models/gemini-1.5-flash")
|
68 |
|
69 |
memory_store = InMemoryChatMessageStore()
|
70 |
memory_joiner = ListJoiner(List[ChatMessage])
|