bla commited on
Commit
3a8352e
·
verified ·
1 Parent(s): acfe093

Update App/Chat/utils/RAG.py

Browse files
Files changed (1) hide show
  1. 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 in a consise manner, make it short and to the point, don't provide additional details.
35
-
36
 
37
  #Context
38
  {context_yaml}
39
 
40
- #Your response be as short as possible and to the point.
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}