bugs
Browse files- App/Chat/utils/RAG.py +1 -1
App/Chat/utils/RAG.py
CHANGED
@@ -19,7 +19,7 @@ class GenerativeAIAssistant:
|
|
19 |
self.examples=[{"input": {"content": "hello"}, "output": {"content": "Hello to you too! How can I help you today?"}}]
|
20 |
self.context = "You are a helpful assistant"
|
21 |
|
22 |
-
def generate_template(question,task_id):
|
23 |
contexts=search(question,task_id=task_id)
|
24 |
context_yaml = ""
|
25 |
for context in contexts:
|
|
|
19 |
self.examples=[{"input": {"content": "hello"}, "output": {"content": "Hello to you too! How can I help you today?"}}]
|
20 |
self.context = "You are a helpful assistant"
|
21 |
|
22 |
+
def generate_template(self,question,task_id):
|
23 |
contexts=search(question,task_id=task_id)
|
24 |
context_yaml = ""
|
25 |
for context in contexts:
|