Spaces:
Running
Running
luanpoppe
commited on
Commit
·
20e8064
1
Parent(s):
e4d76bf
fix: voltando pro system antigo
Browse files- langchain_backend/utils.py +12 -12
langchain_backend/utils.py
CHANGED
@@ -145,26 +145,26 @@ Before providing your summary, follow these steps:
|
|
145 |
- How does this information relate to the specific summary request?
|
146 |
- What additional context might be necessary to fully understand these points?
|
147 |
|
148 |
-
3. Maximal Marginal Relevance: Apply the principles of Maximal Marginal Relevance to ensure your summary includes diverse, relevant information. Prioritize information that is both relevant to the summary request and adds new insights not already covered.
|
149 |
|
150 |
-
After completing these steps, generate the response with around
|
151 |
|
152 |
Example: :
|
153 |
|
154 |
{{
|
155 |
-
"nome_do_memorial": "[Insira aqui o número da equipe] ",
|
156 |
|
157 |
"argumentos": "
|
158 |
[b]Argumento 1:[/b]
|
159 |
-
Fundamento 1.1: [Descreva o fundamento de forma
|
160 |
-
Fundamento 1.2: [Descreva o fundamento de forma
|
161 |
[b]Argumento 2:[/b]
|
162 |
-
Fundamento 2.1: [Descreva o fundamento de forma
|
163 |
-
Fundamento 2.2: [Descreva o fundamento de forma
|
164 |
|
165 |
"jurisprudencia": "
|
166 |
-
[b]Caso 1:[/b] [Nome e referência do caso] [i]Resumo:[/i] [Descrição de como a jurisprudência se aplica]
|
167 |
-
[b]Caso 2:[/b] [Nome e referência do caso] [i]Resumo:[/i] [Descrição de como a jurisprudência se aplica]",
|
168 |
|
169 |
"doutrina": "
|
170 |
[b]Autor 1:[/b] [Nome do autor]
|
@@ -172,7 +172,7 @@ Example: :
|
|
172 |
[b]Autor 2:[/b] [Nome do autor]
|
173 |
"[Título da obra]" [i]Resumo:[/i] [Resumo da posição do autor]",
|
174 |
|
175 |
-
"palavras_chave": "
|
176 |
[Palavra-chave 1]
|
177 |
[Palavra-chave 2]
|
178 |
[Palavra-chave 3]
|
@@ -186,9 +186,9 @@ Remember:
|
|
186 |
- Do not include any personal opinions or information not present in the original document.
|
187 |
- If the summary request asks for a specific focus or perspective, make sure to address it directly.
|
188 |
|
189 |
-
Your goal is to provide a comprehensive summary that accurately represents the document's content while meeting the specific needs outlined in the summary request.
|
190 |
|
191 |
Do not pass in the response part of the instructions that you received
|
192 |
-
|
193 |
The content to be summarized is as follows:
|
194 |
"""
|
|
|
145 |
- How does this information relate to the specific summary request?
|
146 |
- What additional context might be necessary to fully understand these points?
|
147 |
|
148 |
+
3. Maximal Marginal Relevance: Apply the principles of Maximal Marginal Relevance to ensure your summary includes diverse, relevant information while avoiding redundancy. Prioritize information that is both relevant to the summary request and adds new insights not already covered.
|
149 |
|
150 |
+
After completing these steps, generate the response with around 10000 characteres in BBcode format, as shown below:
|
151 |
|
152 |
Example: :
|
153 |
|
154 |
{{
|
155 |
+
"nome_do_memorial": "[Insira aqui o nome do memorial e número da equipe] ",
|
156 |
|
157 |
"argumentos": "
|
158 |
[b]Argumento 1:[/b]
|
159 |
+
Fundamento 1.1: [Descreva o fundamento de forma extensa e completa]
|
160 |
+
Fundamento 1.2: [Descreva o fundamento de forma extensa e completa]
|
161 |
[b]Argumento 2:[/b]
|
162 |
+
Fundamento 2.1: [Descreva o fundamento de forma extensa e completa]
|
163 |
+
Fundamento 2.2: [Descreva o fundamento de forma extensa e completa]",
|
164 |
|
165 |
"jurisprudencia": "
|
166 |
+
[b]Caso 1:[/b] [Nome e referência do caso] [i]Resumo:[/i] [Descrição extensa de como a jurisprudência se aplica]
|
167 |
+
[b]Caso 2:[/b] [Nome e referência do caso] [i]Resumo:[/i] [Descrição extensa de como a jurisprudência se aplica]",
|
168 |
|
169 |
"doutrina": "
|
170 |
[b]Autor 1:[/b] [Nome do autor]
|
|
|
172 |
[b]Autor 2:[/b] [Nome do autor]
|
173 |
"[Título da obra]" [i]Resumo:[/i] [Resumo da posição do autor]",
|
174 |
|
175 |
+
"palavras_chave": "
|
176 |
[Palavra-chave 1]
|
177 |
[Palavra-chave 2]
|
178 |
[Palavra-chave 3]
|
|
|
186 |
- Do not include any personal opinions or information not present in the original document.
|
187 |
- If the summary request asks for a specific focus or perspective, make sure to address it directly.
|
188 |
|
189 |
+
Your goal is to provide a comprehensive yet concise summary that accurately represents the document's content while meeting the specific needs outlined in the summary request.
|
190 |
|
191 |
Do not pass in the response part of the instructions that you received
|
192 |
+
Generate the response with at least 10000 characteres
|
193 |
The content to be summarized is as follows:
|
194 |
"""
|