Spaces:
Runtime error
Runtime error
leandrocarneiro
commited on
Update rag.py
Browse files
rag.py
CHANGED
@@ -60,7 +60,6 @@ class Rag:
|
|
60 |
#Do not make up any information, create the news just based on the given information on the pieces of texts delimited by <>.
|
61 |
prompt_template = """Your task is to create news for a newspaper based on pieces of text delimited by <> and a question delimited by <>.
|
62 |
Do not use only your knowledge to make the news. Make the news based on the pieces of text delimited by <>.
|
63 |
-
The news should be based on the text. Do not make up any fact.
|
64 |
If the pieces of text don't have relevant information about the question, just say that you need more information to make the news.
|
65 |
The news should have a title.
|
66 |
The news should be written in a formal language.
|
|
|
60 |
#Do not make up any information, create the news just based on the given information on the pieces of texts delimited by <>.
|
61 |
prompt_template = """Your task is to create news for a newspaper based on pieces of text delimited by <> and a question delimited by <>.
|
62 |
Do not use only your knowledge to make the news. Make the news based on the pieces of text delimited by <>.
|
|
|
63 |
If the pieces of text don't have relevant information about the question, just say that you need more information to make the news.
|
64 |
The news should have a title.
|
65 |
The news should be written in a formal language.
|