Spaces:
Running
Running
luanpoppe
commited on
Commit
·
ecc78bf
1
Parent(s):
f45e723
fix: minor fixx
Browse files
_utils/gerar_documento.py
CHANGED
@@ -80,6 +80,9 @@ async def gerar_documento(
|
|
80 |
"TERMINOU DE FAZER TODAS AS REQUISIÇÕES DO CONTEXTUAL"
|
81 |
)
|
82 |
chunks_processados = contextualized_chunks
|
|
|
|
|
|
|
83 |
else:
|
84 |
chunks_processados = all_PDFs_chunks
|
85 |
|
|
|
80 |
"TERMINOU DE FAZER TODAS AS REQUISIÇÕES DO CONTEXTUAL"
|
81 |
)
|
82 |
chunks_processados = contextualized_chunks
|
83 |
+
axiom_instance.send_axiom(
|
84 |
+
f"CHUNKS PROCESSADOS INICIALMENTE: {chunks_processados}"
|
85 |
+
)
|
86 |
else:
|
87 |
chunks_processados = all_PDFs_chunks
|
88 |
|
_utils/langchain_utils/Vector_store_class.py
CHANGED
@@ -31,9 +31,7 @@ class VectorStore:
|
|
31 |
<document_context_title>{chunk.context}</document_context_title>
|
32 |
<document_contextual_summary>{chunk.contextual_summary}</document_contextual_summary>
|
33 |
<document_content>{chunk.content}</document_content>
|
34 |
-
</one_chunk
|
35 |
-
|
36 |
-
"""
|
37 |
for chunk in chunks
|
38 |
]
|
39 |
axiom_instance.send_axiom(f"Chunks gerados: {texts}")
|
|
|
31 |
<document_context_title>{chunk.context}</document_context_title>
|
32 |
<document_contextual_summary>{chunk.contextual_summary}</document_contextual_summary>
|
33 |
<document_content>{chunk.content}</document_content>
|
34 |
+
</one_chunk>\n"""
|
|
|
|
|
35 |
for chunk in chunks
|
36 |
]
|
37 |
axiom_instance.send_axiom(f"Chunks gerados: {texts}")
|