fix: remove some requirements
This commit is contained in:
@@ -263,7 +263,7 @@ TEXTE DE LA PAGE {page_num}:
|
||||
logger.warning(f"⚠️ Page {page_num} is empty")
|
||||
return []
|
||||
|
||||
max_chars = 8000 # todo
|
||||
max_chars = 8000
|
||||
user_prompt = user_prompt_template.format(
|
||||
page_num=page_num,
|
||||
text=page_text[:max_chars]
|
||||
@@ -278,8 +278,8 @@ TEXTE DE LA PAGE {page_num}:
|
||||
{"role": "system", "content": system_prompt},
|
||||
{"role": "user", "content": user_prompt}
|
||||
],
|
||||
temperature=0.1,
|
||||
max_tokens=4000, # todo
|
||||
temperature=1.0,
|
||||
max_tokens=4000,
|
||||
response_format={"type": "json_object"}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user