We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df0128b commit a4dfc7bCopy full SHA for a4dfc7b
python_components/document_inference/document_inference/helpers.py
@@ -158,6 +158,7 @@ def document_inference_summary(
158
attachments=attachments,
159
schema=DocumentSummarySchema.model_json_schema(),
160
stream=False,
161
+ reasoning_effort="minimal"
162
)
163
response_json = json.loads(response.text())
164
logger.info("Inference complete. Validating response.")
@@ -183,6 +184,7 @@ def document_inference_recommendation(
183
184
185
schema=DocumentRecommendation.model_json_schema(),
186
187
188
189
190
0 commit comments