File size: 868 Bytes
f9a1a18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from dataclasses import dataclass

from setup.logging import Axiom


@dataclass
class AxiomLogs:
    axiom: Axiom

    def texto_completo_pdf(self, full_text_as_array):
        self.axiom.send_axiom(
            f"INÍCIO DO TEXTO COMPLETO DOS PDFS: {full_text_as_array[0:5]}"
        )

    def resumo_inicial_processo(self, response_auxiliar_summary):
        self.axiom.send_axiom(
            f"RESUMO INICIAL DO PROCESSO: {response_auxiliar_summary}"
        )

    def inicio_requisicao_contextual(self):
        self.axiom.send_axiom("COMEÇANDO A FAZER AS REQUISIÇÕES DO CONTEXTUAL")

    def fim_requisicao_contextual(self):
        self.axiom.send_axiom("TERMINOU DE FAZER TODAS AS REQUISIÇÕES DO CONTEXTUAL")

    def chunks_inicialmente(self, chunks_processados):
        self.axiom.send_axiom(f"CHUNKS PROCESSADOS INICIALMENTE: {chunks_processados}")