Update App/Chat/utils/RAG.py
Browse files- App/Chat/utils/RAG.py +2 -3
App/Chat/utils/RAG.py
CHANGED
@@ -31,13 +31,12 @@ class GenerativeAIAssistant:
|
|
31 |
context_yaml += "\n"+ yaml.dump(context)
|
32 |
Template =f'''
|
33 |
#Instructions
|
34 |
-
You are given the following context in yaml of a transcript of a youtube video, the start and end times are indicated and the text that was said is also given. You are also given a question, use the context to answer the question
|
35 |
-
|
36 |
|
37 |
#Context
|
38 |
{context_yaml}
|
39 |
|
40 |
-
#Your response be
|
41 |
|
42 |
#Question
|
43 |
{question}
|
|
|
31 |
context_yaml += "\n"+ yaml.dump(context)
|
32 |
Template =f'''
|
33 |
#Instructions
|
34 |
+
You are given the following context in yaml of a transcript of a youtube video, the start and end times are indicated and the text that was said is also given. You are also given a question, use the context to answer the question
|
|
|
35 |
|
36 |
#Context
|
37 |
{context_yaml}
|
38 |
|
39 |
+
#Your response be informational
|
40 |
|
41 |
#Question
|
42 |
{question}
|