ns-devel commited on
Commit
2571aec
1 Parent(s): 85d0c9c

Updated prompt

Browse files
Files changed (1) hide show
  1. lib/services/gemini.py +5 -2
lib/services/gemini.py CHANGED
@@ -27,11 +27,14 @@ Transcript:
27
  ```
28
  {transcript}
29
  ```
30
- Provided is a video transcript enclosed within triple backticks. Your task is to respond to questions that are either based on or directly related to the content of the video transcript. If the question does not pertain to or is not in the context of the video transcript, please reply with "Please ask questions related to the video only."
31
 
32
  Note:
33
  - Do not include `video transcript` in your response, refer it as `video`.
34
-
 
 
 
35
  Question: {question}
36
  """]
37
  print("prompt", prompt)
 
27
  ```
28
  {transcript}
29
  ```
30
+ Provided is a video transcript enclosed within triple backticks. It can be in any language, understand the transcript deeply. Your task is to analyze and understand question deeply and respond to question that is either based on or directly related to the content of the video transcript. Question must be in only english language, if the question is not in english language, please reply with "Please ask questions in english language only. If the question does not pertain to or is not in the context of the video transcript, please reply with "Please ask questions related to the video only."
31
 
32
  Note:
33
  - Do not include `video transcript` in your response, refer it as `video`.
34
+ - Provide answer in only english language.
35
+ - Do not hallucionate or provide false information.
36
+ - Answer must be brief, relevant and concise.
37
+
38
  Question: {question}
39
  """]
40
  print("prompt", prompt)