leandrocarneiro commited on
Commit
b1a6551
·
verified ·
1 Parent(s): 0d4f830

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
rag.py CHANGED
@@ -59,7 +59,7 @@ class Rag:
59
 
60
  prompt_template = """Your task is to create news to a newspaper based on pieces of texts delimited by <> and a question delimited by <>.
61
  Do not make up any information, create the news just based on the given information on the pieces of texts delimited by <>.
62
- If you need to make up any information, please do not answer the question. Inform that you need more information to answer the question.
63
  The news should have a tittle.
64
  The news should be written in a formal language.
65
  The news should have between {min_words} and {max_words} words and it should be in portuguese language.
 
59
 
60
  prompt_template = """Your task is to create news to a newspaper based on pieces of texts delimited by <> and a question delimited by <>.
61
  Do not make up any information, create the news just based on the given information on the pieces of texts delimited by <>.
62
+ If you dont't have enough pieces of texts to make a news, please do not answer the question. Inform that you need more information to answer the question.
63
  The news should have a tittle.
64
  The news should be written in a formal language.
65
  The news should have between {min_words} and {max_words} words and it should be in portuguese language.