@@ -8763,7 +8763,8 @@ The "DocumentLLM" class accepts the following parameters:
8763
8763
| ens" | | | (CoT-capable) models. |
8764
8764
+----------------------+-----------------+-----------------+----------------------------------------------------+
8765
8765
| "reasoning_effort" | "str | None" | "None" | Reasoning effort for reasoning (CoT-capable) |
8766
- | | | | models. Values: ""low"", ""medium"", ""high"". |
8766
+ | | | | models. Values: ""minimal"" (gpt-5 models only), |
8767
+ | | | | ""low"", ""medium"", ""high"". |
8767
8768
+----------------------+-----------------+-----------------+----------------------------------------------------+
8768
8769
| "timeout" | "int" | "120" | Timeout in seconds for LLM API calls. |
8769
8770
+----------------------+-----------------+-----------------+----------------------------------------------------+
@@ -8935,7 +8936,7 @@ Using model-specific parameters
8935
8936
model="openai/o3-mini",
8936
8937
api_key="<your-openai-api-key>",
8937
8938
max_completion_tokens=8000, # Specific to reasoning (CoT-capable) models
8938
- reasoning_effort="medium", # Optional: "low", "medium", "high"
8939
+ reasoning_effort="medium", # Optional
8939
8940
)
8940
8941
8941
8942
@@ -15967,8 +15968,9 @@ class contextgem.public.llms.DocumentLLM(**data)
15967
15968
15968
15969
* **reasoning_effort** (*ReasoningEffort** | **None*) -- The
15969
15970
effort level for the LLM to reason about the input. Can be set
15970
- to ""low"", ""medium"", or ""high"". Relevant for reasoning
15971
- (CoT-capable) models. Defaults to None.
15971
+ to ""minimal"" (gpt-5 models only), ""low"", ""medium"", or
15972
+ ""high"". Relevant for reasoning (CoT-capable) models.
15973
+ Defaults to None.
15972
15974
15973
15975
* **top_p** (*float** | **None*) -- Nucleus sampling value (0.0
15974
15976
to 1.0) controlling output focus/randomness. Lower values make
@@ -16072,8 +16074,8 @@ class contextgem.public.llms.DocumentLLM(**data)
16072
16074
* **max_completion_tokens** (*Annotated**[**int**,
16073
16075
**Strict**(**strict=True**)**]*)
16074
16076
16075
- * **reasoning_effort** (*Literal**[**'low '**, **'medium '**,
16076
- **'high'**] **| **None*)
16077
+ * **reasoning_effort** (*Literal**[**'minimal '**, **'low '**,
16078
+ **'medium'**, **' high'**] **| **None*)
16077
16079
16078
16080
* **num_retries_failed_request** (*Annotated**[**int**,
16079
16081
**Strict**(**strict=True**)**]*)
0 commit comments