Spaces:
Runtime error
Runtime error
wendru18
commited on
Commit
·
c9721d8
1
Parent(s):
1fa04ef
modified prompt to reinforce required citations
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def form_query(question, model, token_budget):
|
|
138 |
|
139 |
results = searcher(question)
|
140 |
|
141 |
-
introduction = 'Use the below segments from multiple youtube videos to answer the subsequent question. If the answer cannot be found in the articles, write "I could not find an answer." Cite each sentence using the [title, author, timestamp] notation.'
|
142 |
|
143 |
message = introduction
|
144 |
|
|
|
138 |
|
139 |
results = searcher(question)
|
140 |
|
141 |
+
introduction = 'Use the below segments from multiple youtube videos to answer the subsequent question. If the answer cannot be found in the articles, write "I could not find an answer." Cite each sentence using the [title, author, timestamp] notation. Every sentence must have a citation!'
|
142 |
|
143 |
message = introduction
|
144 |
|