Spaces:
Running
Running
luanpoppe
commited on
Commit
·
ee54290
1
Parent(s):
7dc6d22
feat: adicionando user_message hard coded
Browse files- resumos/views.py +1 -1
resumos/views.py
CHANGED
@@ -35,7 +35,7 @@ class ResumoView(APIView):
|
|
35 |
# print('listaPDFs: ', listaPDFs)
|
36 |
|
37 |
system_prompt = data.get("system_prompt", DEFAULT_SYSTEM_PROMPT)
|
38 |
-
resposta_llm = get_llm_answer_summary(system_prompt,
|
39 |
|
40 |
for file in listaPDFs:
|
41 |
os.remove(file)
|
|
|
35 |
# print('listaPDFs: ', listaPDFs)
|
36 |
|
37 |
system_prompt = data.get("system_prompt", DEFAULT_SYSTEM_PROMPT)
|
38 |
+
resposta_llm = get_llm_answer_summary(system_prompt, "Por favor faça com que o tamanho do conteúdo total gerado seja no formato JSON e que tenha pelo menos 20000 caracteres", listaPDFs, model=model, isIterativeRefinement=data["iterative_refinement"])
|
39 |
|
40 |
for file in listaPDFs:
|
41 |
os.remove(file)
|