Spaces:
Running
Running
luanpoppe
commited on
Commit
·
7757039
1
Parent(s):
c6dbb49
minor fix
Browse files
_utils/gerar_relatorio_modelo_usuario/utils.py
CHANGED
@@ -134,9 +134,7 @@ def validate_many_chunks_in_one_request(
|
|
134 |
# return response_auxiliar_summary.content
|
135 |
|
136 |
|
137 |
-
async def get_response_from_auxiliar_contextual_prompt(
|
138 |
-
full_text_as_array: List[str], full_text_as_string: str
|
139 |
-
):
|
140 |
import tiktoken
|
141 |
|
142 |
encoding = tiktoken.get_encoding("cl100k_base")
|
|
|
134 |
# return response_auxiliar_summary.content
|
135 |
|
136 |
|
137 |
+
async def get_response_from_auxiliar_contextual_prompt(full_text_as_array: List[str]):
|
|
|
|
|
138 |
import tiktoken
|
139 |
|
140 |
encoding = tiktoken.get_encoding("cl100k_base")
|
_utils/resumo_completo_cursor.py
CHANGED
@@ -99,9 +99,7 @@ async def get_llm_summary_answer_by_cursor_complete(
|
|
99 |
|
100 |
if is_contextualized_chunk:
|
101 |
response_auxiliar_summary = (
|
102 |
-
await get_response_from_auxiliar_contextual_prompt(
|
103 |
-
full_text_as_array, full_text_as_string
|
104 |
-
)
|
105 |
)
|
106 |
|
107 |
print("\nCOMEÇANDO A FAZER AS REQUISIÇÕES DO CONTEXTUAL")
|
|
|
99 |
|
100 |
if is_contextualized_chunk:
|
101 |
response_auxiliar_summary = (
|
102 |
+
await get_response_from_auxiliar_contextual_prompt(full_text_as_array)
|
|
|
|
|
103 |
)
|
104 |
|
105 |
print("\nCOMEÇANDO A FAZER AS REQUISIÇÕES DO CONTEXTUAL")
|