leandrocarneiro commited on
Commit
5e4d2de
·
verified ·
1 Parent(s): 9db2841

Upload rag.py

Browse files
Files changed (1) hide show
  1. rag.py +3 -2
rag.py CHANGED
@@ -94,8 +94,9 @@ class Rag:
94
  If the pieces of text don't enough information about the question to create the news, just say that you need more sources of information, nothing more.
95
  The news should have a title.
96
  The news should be written in a formal language.
97
- The source should not be in the news.
98
- The news should have between {min_words} and {max_words} words and it should be in Portuguese language.
 
99
  The news should be about the following context: <{context}>
100
  Question: <{question}>
101
  Answer here:"""
 
94
  If the pieces of text don't enough information about the question to create the news, just say that you need more sources of information, nothing more.
95
  The news should have a title.
96
  The news should be written in a formal language.
97
+ The source of the news should not be in the news, just the text.
98
+ The news should have between {min_words} and {max_words} words.
99
+ The news should be written in Portuguese language.
100
  The news should be about the following context: <{context}>
101
  Question: <{question}>
102
  Answer here:"""