You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FEAT] Support for thinking/reasoning capabilities for LLMs in Bedrock and AzureOpenAI (#188)
* Updated llama-index packages to support reasoning models
* Added temperature in json of azure and added thinking support for bedrock claude models
* Migrated to BedrockConverse
* Updated version of the sdk
* Added reasoning effort parameter for azure openai
* Update src/unstract/sdk/adapters/llm/azure_open_ai/src/azure_open_ai.py
Co-authored-by: Ritwik G <[email protected]>
Signed-off-by: Praveen Kumar <[email protected]>
* Updated sdk version from 0.72.1 to 0.73.0
* Fixed issue with additonal_kwargs
* Updated anthropic llama-index version to support claude sonnet 4
---------
Signed-off-by: Praveen Kumar <[email protected]>
Co-authored-by: Ritwik G <[email protected]>
Copy file name to clipboardExpand all lines: src/unstract/sdk/adapters/llm/azure_open_ai/src/static/json_schema.json
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,53 @@
67
67
"title": "Timeout",
68
68
"default": 900,
69
69
"description": "Timeout in seconds"
70
+
},
71
+
"enable_reasoning": {
72
+
"type": "boolean",
73
+
"title": "Enable Reasoning",
74
+
"default": false,
75
+
"description": "Allow the model to apply extra reasoning for complex tasks. May slightly increase latency and cost, typically within 20–50% depending on the level selected. Only applicable for [O series models](https://platform.openai.com/docs/models#reasoning)."
76
+
}
77
+
},
78
+
"allOf": [
79
+
{
80
+
"if": {
81
+
"properties": {
82
+
"enable_reasoning": {
83
+
"const": true
84
+
}
85
+
}
86
+
},
87
+
"then": {
88
+
"properties": {
89
+
"reasoning_effort": {
90
+
"type": "string",
91
+
"enum": [
92
+
"low",
93
+
"medium",
94
+
"high"
95
+
],
96
+
"default": "medium",
97
+
"title": "Reasoning Effort",
98
+
"description": "Sets the Reasoning Strength when Reasoning Effort is enabled"
0 commit comments