diff --git a/backend/innercontext/api/products.py b/backend/innercontext/api/products.py index dd3eeeb..c5fb1af 100644 --- a/backend/innercontext/api/products.py +++ b/backend/innercontext/api/products.py @@ -359,7 +359,8 @@ def parse_product_text(data: ProductParseRequest) -> ProductParseResponse: contents=f"Extract product data from this text:\n\n{data.text}", config=genai_types.GenerateContentConfig( system_instruction=_product_parse_system_prompt(), - max_output_tokens=8192, + response_mime_type="application/json", + max_output_tokens=16384, temperature=0.0, ), )