Spaces:
Running
Running
luanpoppe
commited on
Commit
·
4b27032
1
Parent(s):
63cd221
minor fix
Browse files
_utils/gerar_documento_utils/GerarDocumento.py
CHANGED
@@ -203,11 +203,11 @@ class GerarDocumento:
|
|
203 |
isBubble: bool,
|
204 |
axiom_instance: Axiom,
|
205 |
):
|
206 |
-
self.
|
207 |
self.config = self.gerar_documento_utils.create_retrieval_config(serializer)
|
|
|
208 |
self.logger = logging.getLogger(__name__)
|
209 |
# self.prompt_auxiliar = prompt_auxiliar
|
210 |
-
self.gerar_documento_utils = GerarDocumentoUtils(axiom_instance)
|
211 |
self.gpt_model = serializer.model
|
212 |
self.gpt_temperature = serializer.gpt_temperature
|
213 |
self.prompt_gerar_documento = serializer.prompt_gerar_documento
|
|
|
203 |
isBubble: bool,
|
204 |
axiom_instance: Axiom,
|
205 |
):
|
206 |
+
self.gerar_documento_utils = GerarDocumentoUtils(axiom_instance)
|
207 |
self.config = self.gerar_documento_utils.create_retrieval_config(serializer)
|
208 |
+
self.serializer = serializer
|
209 |
self.logger = logging.getLogger(__name__)
|
210 |
# self.prompt_auxiliar = prompt_auxiliar
|
|
|
211 |
self.gpt_model = serializer.model
|
212 |
self.gpt_temperature = serializer.gpt_temperature
|
213 |
self.prompt_gerar_documento = serializer.prompt_gerar_documento
|