@azure/ai-projects 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +180 -37
- package/dist/browser/aiProjectClient.d.ts +5 -2
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +13 -8
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/agents/index.d.ts +2 -2
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +147 -18
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +679 -42
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +109 -3
- package/dist/browser/api/agents/options.d.ts.map +1 -1
- package/dist/browser/api/agents/options.js.map +1 -1
- package/dist/browser/api/aiProjectContext.d.ts +9 -0
- package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
- package/dist/browser/api/aiProjectContext.js +1 -1
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/beta/agents/index.d.ts +2 -2
- package/dist/browser/api/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/index.js +1 -1
- package/dist/browser/api/beta/agents/index.js.map +1 -1
- package/dist/browser/api/beta/agents/operations.d.ts +8 -139
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/operations.js +30 -750
- package/dist/browser/api/beta/agents/operations.js.map +1 -1
- package/dist/browser/api/beta/agents/options.d.ts +6 -200
- package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/options.js.map +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts +4 -4
- package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/operations.js +19 -9
- package/dist/browser/api/beta/datasets/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.js +35 -16
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
- package/dist/browser/api/beta/insights/operations.d.ts +3 -3
- package/dist/browser/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/operations.js +13 -13
- package/dist/browser/api/beta/insights/operations.js.map +1 -1
- package/dist/browser/api/beta/insights/options.d.ts +0 -4
- package/dist/browser/api/beta/insights/options.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/options.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.js +59 -28
- package/dist/browser/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/browser/api/beta/models/operations.d.ts +6 -6
- package/dist/browser/api/beta/models/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/models/operations.js +8 -8
- package/dist/browser/api/beta/models/operations.js.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.js +6 -10
- package/dist/browser/api/beta/redTeams/operations.js.map +1 -1
- package/dist/browser/api/beta/redTeams/options.d.ts +0 -4
- package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/options.js.map +1 -1
- package/dist/browser/api/beta/routines/operations.d.ts +8 -8
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +55 -44
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/schedules/operations.d.ts +6 -6
- package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/operations.js +9 -22
- package/dist/browser/api/beta/schedules/operations.js.map +1 -1
- package/dist/browser/api/beta/schedules/options.d.ts +0 -10
- package/dist/browser/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/options.js.map +1 -1
- package/dist/browser/api/beta/skills/operations.d.ts +24 -24
- package/dist/browser/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/skills/operations.js +154 -132
- package/dist/browser/api/beta/skills/operations.js.map +1 -1
- package/dist/browser/api/beta/skills/options.d.ts +6 -6
- package/dist/browser/api/beta/skills/options.d.ts.map +1 -1
- package/dist/browser/api/beta/skills/options.js.map +1 -1
- package/dist/browser/api/connections/options.d.ts +2 -2
- package/dist/browser/api/connections/options.d.ts.map +1 -1
- package/dist/browser/api/connections/options.js.map +1 -1
- package/dist/browser/api/deployments/operations.d.ts +1 -1
- package/dist/browser/api/deployments/operations.d.ts.map +1 -1
- package/dist/browser/api/deployments/operations.js +1 -1
- package/dist/browser/api/deployments/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/operations.d.ts +4 -4
- package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/operations.js +4 -4
- package/dist/browser/api/evaluationRules/operations.js.map +1 -1
- package/dist/browser/api/toolboxes/index.d.ts +3 -0
- package/dist/browser/api/toolboxes/index.d.ts.map +1 -0
- package/dist/browser/api/toolboxes/index.js.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/operations.d.ts +21 -21
- package/dist/browser/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/operations.js +44 -62
- package/dist/browser/api/toolboxes/operations.js.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/options.d.ts +5 -5
- package/dist/browser/api/toolboxes/options.d.ts.map +1 -0
- package/dist/browser/api/toolboxes/options.js.map +1 -0
- package/dist/browser/classic/agents/index.d.ts +102 -3
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +25 -10
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/agents/index.d.ts +6 -103
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js +2 -21
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/datasets/index.d.ts +4 -4
- package/dist/browser/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/datasets/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +0 -3
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +0 -3
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/insights/index.d.ts +3 -3
- package/dist/browser/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/insights/index.js.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/browser/classic/beta/models/index.d.ts +4 -4
- package/dist/browser/classic/beta/models/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/models/index.js +1 -1
- package/dist/browser/classic/beta/models/index.js.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.js.map +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts +8 -8
- package/dist/browser/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/routines/index.js.map +1 -1
- package/dist/browser/classic/deployments/index.d.ts +1 -1
- package/dist/browser/classic/deployments/index.d.ts.map +1 -1
- package/dist/browser/classic/deployments/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -1
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/toolboxes/index.d.ts +25 -0
- package/dist/browser/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/{esm/classic/beta → browser/classic}/toolboxes/index.js +4 -4
- package/dist/browser/classic/toolboxes/index.js.map +1 -0
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +11 -7
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +648 -654
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +953 -584
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/overwriteOpenAIClient.d.ts +2 -1
- package/dist/browser/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/browser/overwriteOpenAIClient.js +48 -4
- package/dist/browser/overwriteOpenAIClient.js.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/browser/static-helpers/platform-types-browser.d.mts +6 -0
- package/dist/browser/static-helpers/platform-types-browser.d.mts.map +1 -0
- package/dist/browser/static-helpers/platform-types-browser.mjs +4 -0
- package/dist/browser/static-helpers/platform-types-browser.mjs.map +1 -0
- package/dist/browser/static-helpers/platform-types.d.ts +6 -0
- package/dist/browser/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/browser/static-helpers/platform-types.js +4 -0
- package/dist/browser/static-helpers/platform-types.js.map +1 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/browser/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +7 -7
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/browser/tracing/attributes.d.ts +62 -0
- package/dist/browser/tracing/attributes.d.ts.map +1 -0
- package/dist/browser/tracing/attributes.js +230 -0
- package/dist/browser/tracing/attributes.js.map +1 -0
- package/dist/browser/tracing/configuration.d.ts +60 -0
- package/dist/browser/tracing/configuration.d.ts.map +1 -0
- package/dist/browser/tracing/configuration.js +67 -0
- package/dist/browser/tracing/configuration.js.map +1 -0
- package/dist/browser/tracing/constants.d.ts +55 -0
- package/dist/browser/tracing/constants.d.ts.map +1 -0
- package/dist/browser/tracing/constants.js +75 -0
- package/dist/browser/tracing/constants.js.map +1 -0
- package/dist/browser/tracing/formatters.d.ts +11 -0
- package/dist/browser/tracing/formatters.d.ts.map +1 -0
- package/dist/browser/tracing/formatters.js +251 -0
- package/dist/browser/tracing/formatters.js.map +1 -0
- package/dist/browser/tracing/metrics.d.ts +22 -0
- package/dist/browser/tracing/metrics.d.ts.map +1 -0
- package/dist/browser/tracing/metrics.js +77 -0
- package/dist/browser/tracing/metrics.js.map +1 -0
- package/dist/browser/tracing/responseTracing.d.ts +4 -0
- package/dist/browser/tracing/responseTracing.d.ts.map +1 -0
- package/dist/browser/tracing/responseTracing.js +223 -0
- package/dist/browser/tracing/responseTracing.js.map +1 -0
- package/dist/browser/tracing/tracingClient.d.ts +22 -0
- package/dist/browser/tracing/tracingClient.d.ts.map +1 -0
- package/dist/browser/tracing/tracingClient.js +37 -0
- package/dist/browser/tracing/tracingClient.js.map +1 -0
- package/dist/browser/tracing/tracingFetch.d.ts +14 -0
- package/dist/browser/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/browser/tracing/tracingFetch.js +30 -0
- package/dist/browser/tracing/tracingFetch.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts +5 -2
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +11 -6
- package/dist/commonjs/aiProjectClient.js.map +2 -2
- package/dist/commonjs/api/agents/index.d.ts +2 -2
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +32 -2
- package/dist/commonjs/api/agents/index.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts +147 -18
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +796 -51
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- package/dist/commonjs/api/agents/options.d.ts +109 -3
- package/dist/commonjs/api/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/agents/options.js.map +1 -1
- package/dist/commonjs/api/aiProjectContext.d.ts +9 -0
- package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
- package/dist/commonjs/api/aiProjectContext.js +1 -1
- package/dist/commonjs/api/aiProjectContext.js.map +2 -2
- package/dist/commonjs/api/beta/agents/index.d.ts +2 -2
- package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/index.js +2 -40
- package/dist/commonjs/api/beta/agents/index.js.map +2 -2
- package/dist/commonjs/api/beta/agents/operations.d.ts +8 -139
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.js +29 -888
- package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
- package/dist/commonjs/api/beta/agents/options.d.ts +6 -200
- package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/options.js.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts +4 -4
- package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.js +15 -5
- package/dist/commonjs/api/beta/datasets/operations.js.map +2 -2
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +0 -3
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +2 -2
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +21 -7
- package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
- package/dist/commonjs/api/beta/insights/operations.d.ts +3 -3
- package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/operations.js +10 -6
- package/dist/commonjs/api/beta/insights/operations.js.map +2 -2
- package/dist/commonjs/api/beta/insights/options.d.ts +0 -4
- package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/options.js.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js +42 -14
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +2 -2
- package/dist/commonjs/api/beta/models/operations.d.ts +6 -6
- package/dist/commonjs/api/beta/models/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/models/operations.js +4 -4
- package/dist/commonjs/api/beta/models/operations.js.map +2 -2
- package/dist/commonjs/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/operations.js +3 -3
- package/dist/commonjs/api/beta/redTeams/operations.js.map +2 -2
- package/dist/commonjs/api/beta/redTeams/options.d.ts +0 -4
- package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/options.js.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.d.ts +8 -8
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +47 -20
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/schedules/operations.d.ts +6 -6
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.js +3 -6
- package/dist/commonjs/api/beta/schedules/operations.js.map +2 -2
- package/dist/commonjs/api/beta/schedules/options.d.ts +0 -10
- package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/options.js.map +1 -1
- package/dist/commonjs/api/beta/skills/operations.d.ts +24 -24
- package/dist/commonjs/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/skills/operations.js +159 -137
- package/dist/commonjs/api/beta/skills/operations.js.map +2 -2
- package/dist/commonjs/api/beta/skills/options.d.ts +6 -6
- package/dist/commonjs/api/beta/skills/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/skills/options.js.map +1 -1
- package/dist/commonjs/api/connections/options.d.ts +2 -2
- package/dist/commonjs/api/connections/options.d.ts.map +1 -1
- package/dist/commonjs/api/connections/options.js.map +1 -1
- package/dist/commonjs/api/deployments/operations.d.ts +1 -1
- package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/operations.js.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.d.ts +4 -4
- package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.js.map +1 -1
- package/dist/commonjs/api/toolboxes/index.d.ts +3 -0
- package/dist/commonjs/api/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/api/{beta/toolboxes → toolboxes}/index.js.map +2 -2
- package/dist/{esm/api/beta → commonjs/api}/toolboxes/operations.d.ts +21 -21
- package/dist/commonjs/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/commonjs/api/{beta/toolboxes → toolboxes}/operations.js +36 -54
- package/dist/commonjs/api/toolboxes/operations.js.map +7 -0
- package/dist/{react-native/api/beta → commonjs/api}/toolboxes/options.d.ts +5 -5
- package/dist/commonjs/api/toolboxes/options.d.ts.map +1 -0
- package/dist/commonjs/api/toolboxes/options.js.map +7 -0
- package/dist/commonjs/classic/agents/index.d.ts +102 -3
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +30 -9
- package/dist/commonjs/classic/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/agents/index.d.ts +6 -103
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js +1 -20
- package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/datasets/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/datasets/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
- package/dist/commonjs/classic/beta/index.d.ts +0 -3
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +0 -3
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- package/dist/commonjs/classic/beta/insights/index.d.ts +3 -3
- package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/insights/index.js.map +1 -1
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/memoryStores/index.js.map +2 -2
- package/dist/commonjs/classic/beta/models/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/models/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/models/index.js +1 -1
- package/dist/commonjs/classic/beta/models/index.js.map +2 -2
- package/dist/commonjs/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/redTeams/index.js.map +1 -1
- package/dist/commonjs/classic/beta/routines/index.d.ts +8 -8
- package/dist/commonjs/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/routines/index.js.map +1 -1
- package/dist/commonjs/classic/deployments/index.d.ts +1 -1
- package/dist/commonjs/classic/deployments/index.d.ts.map +1 -1
- package/dist/commonjs/classic/deployments/index.js.map +1 -1
- package/dist/commonjs/classic/index.d.ts +1 -1
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/toolboxes/index.d.ts +25 -0
- package/dist/commonjs/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/classic/{beta/toolboxes → toolboxes}/index.js +6 -6
- package/dist/commonjs/classic/toolboxes/index.js.map +7 -0
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +11 -7
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -2
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +648 -654
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +1014 -587
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/overwriteOpenAIClient.d.ts +2 -1
- package/dist/commonjs/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/commonjs/overwriteOpenAIClient.js +58 -4
- package/dist/commonjs/overwriteOpenAIClient.js.map +2 -2
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/platform-types.d.ts +8 -0
- package/dist/commonjs/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/platform-types.js +16 -0
- package/dist/commonjs/static-helpers/platform-types.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js +7 -7
- package/dist/commonjs/static-helpers/urlTemplate.js.map +2 -2
- package/dist/commonjs/tracing/attributes.d.ts +62 -0
- package/dist/commonjs/tracing/attributes.d.ts.map +1 -0
- package/dist/commonjs/tracing/attributes.js +226 -0
- package/dist/commonjs/tracing/attributes.js.map +7 -0
- package/dist/commonjs/tracing/configuration.d.ts +60 -0
- package/dist/commonjs/tracing/configuration.d.ts.map +1 -0
- package/dist/commonjs/tracing/configuration.js +68 -0
- package/dist/commonjs/tracing/configuration.js.map +7 -0
- package/dist/commonjs/tracing/constants.d.ts +55 -0
- package/dist/commonjs/tracing/constants.d.ts.map +1 -0
- package/dist/commonjs/tracing/constants.js +177 -0
- package/dist/commonjs/tracing/constants.js.map +7 -0
- package/dist/commonjs/tracing/formatters.d.ts +11 -0
- package/dist/commonjs/tracing/formatters.d.ts.map +1 -0
- package/dist/commonjs/tracing/formatters.js +213 -0
- package/dist/commonjs/tracing/formatters.js.map +7 -0
- package/dist/commonjs/tracing/metrics.d.ts +22 -0
- package/dist/commonjs/tracing/metrics.d.ts.map +1 -0
- package/dist/commonjs/tracing/metrics.js +86 -0
- package/dist/commonjs/tracing/metrics.js.map +7 -0
- package/dist/commonjs/tracing/responseTracing.d.ts +4 -0
- package/dist/commonjs/tracing/responseTracing.d.ts.map +1 -0
- package/dist/commonjs/tracing/responseTracing.js +267 -0
- package/dist/commonjs/tracing/responseTracing.js.map +7 -0
- package/dist/commonjs/tracing/tracingClient.d.ts +22 -0
- package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -0
- package/dist/commonjs/tracing/tracingClient.js +51 -0
- package/dist/commonjs/tracing/tracingClient.js.map +7 -0
- package/dist/commonjs/tracing/tracingFetch.d.ts +14 -0
- package/dist/commonjs/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/commonjs/tracing/tracingFetch.js +45 -0
- package/dist/commonjs/tracing/tracingFetch.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/aiProjectClient.d.ts +5 -2
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +13 -8
- package/dist/esm/aiProjectClient.js.map +1 -1
- package/dist/esm/api/agents/index.d.ts +2 -2
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js +1 -1
- package/dist/esm/api/agents/index.js.map +1 -1
- package/dist/esm/api/agents/operations.d.ts +147 -18
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +679 -42
- package/dist/esm/api/agents/operations.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +109 -3
- package/dist/esm/api/agents/options.d.ts.map +1 -1
- package/dist/esm/api/agents/options.js.map +1 -1
- package/dist/esm/api/aiProjectContext.d.ts +9 -0
- package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
- package/dist/esm/api/aiProjectContext.js +1 -1
- package/dist/esm/api/aiProjectContext.js.map +1 -1
- package/dist/esm/api/beta/agents/index.d.ts +2 -2
- package/dist/esm/api/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/index.js +1 -1
- package/dist/esm/api/beta/agents/index.js.map +1 -1
- package/dist/esm/api/beta/agents/operations.d.ts +8 -139
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/operations.js +30 -750
- package/dist/esm/api/beta/agents/operations.js.map +1 -1
- package/dist/esm/api/beta/agents/options.d.ts +6 -200
- package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/options.js.map +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts +4 -4
- package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/operations.js +19 -9
- package/dist/esm/api/beta/datasets/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +35 -16
- package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
- package/dist/esm/api/beta/insights/operations.d.ts +3 -3
- package/dist/esm/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/operations.js +13 -13
- package/dist/esm/api/beta/insights/operations.js.map +1 -1
- package/dist/esm/api/beta/insights/options.d.ts +0 -4
- package/dist/esm/api/beta/insights/options.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/options.js.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.js +59 -28
- package/dist/esm/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/esm/api/beta/models/operations.d.ts +6 -6
- package/dist/esm/api/beta/models/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/models/operations.js +8 -8
- package/dist/esm/api/beta/models/operations.js.map +1 -1
- package/dist/esm/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/operations.js +6 -10
- package/dist/esm/api/beta/redTeams/operations.js.map +1 -1
- package/dist/esm/api/beta/redTeams/options.d.ts +0 -4
- package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/options.js.map +1 -1
- package/dist/esm/api/beta/routines/operations.d.ts +8 -8
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +55 -44
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/schedules/operations.d.ts +6 -6
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/operations.js +9 -22
- package/dist/esm/api/beta/schedules/operations.js.map +1 -1
- package/dist/esm/api/beta/schedules/options.d.ts +0 -10
- package/dist/esm/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/options.js.map +1 -1
- package/dist/esm/api/beta/skills/operations.d.ts +24 -24
- package/dist/esm/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/skills/operations.js +154 -132
- package/dist/esm/api/beta/skills/operations.js.map +1 -1
- package/dist/esm/api/beta/skills/options.d.ts +6 -6
- package/dist/esm/api/beta/skills/options.d.ts.map +1 -1
- package/dist/esm/api/beta/skills/options.js.map +1 -1
- package/dist/esm/api/connections/options.d.ts +2 -2
- package/dist/esm/api/connections/options.d.ts.map +1 -1
- package/dist/esm/api/connections/options.js.map +1 -1
- package/dist/esm/api/deployments/operations.d.ts +1 -1
- package/dist/esm/api/deployments/operations.d.ts.map +1 -1
- package/dist/esm/api/deployments/operations.js +1 -1
- package/dist/esm/api/deployments/operations.js.map +1 -1
- package/dist/esm/api/evaluationRules/operations.d.ts +4 -4
- package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/operations.js +4 -4
- package/dist/esm/api/evaluationRules/operations.js.map +1 -1
- package/dist/esm/api/toolboxes/index.d.ts +3 -0
- package/dist/esm/api/toolboxes/index.d.ts.map +1 -0
- package/dist/esm/api/toolboxes/index.js.map +1 -0
- package/dist/{commonjs/api/beta → esm/api}/toolboxes/operations.d.ts +21 -21
- package/dist/esm/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/{react-native/api/beta → esm/api}/toolboxes/operations.js +44 -62
- package/dist/esm/api/toolboxes/operations.js.map +1 -0
- package/dist/{commonjs/api/beta → esm/api}/toolboxes/options.d.ts +5 -5
- package/dist/esm/api/toolboxes/options.d.ts.map +1 -0
- package/dist/esm/api/toolboxes/options.js.map +1 -0
- package/dist/esm/classic/agents/index.d.ts +102 -3
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +25 -10
- package/dist/esm/classic/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/agents/index.d.ts +6 -103
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js +2 -21
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/datasets/index.d.ts +4 -4
- package/dist/esm/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/datasets/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
- package/dist/esm/classic/beta/index.d.ts +0 -3
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +0 -3
- package/dist/esm/classic/beta/index.js.map +1 -1
- package/dist/esm/classic/beta/insights/index.d.ts +3 -3
- package/dist/esm/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/insights/index.js.map +1 -1
- package/dist/esm/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/esm/classic/beta/models/index.d.ts +4 -4
- package/dist/esm/classic/beta/models/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/models/index.js +1 -1
- package/dist/esm/classic/beta/models/index.js.map +1 -1
- package/dist/esm/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/redTeams/index.js.map +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts +8 -8
- package/dist/esm/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/routines/index.js.map +1 -1
- package/dist/esm/classic/deployments/index.d.ts +1 -1
- package/dist/esm/classic/deployments/index.d.ts.map +1 -1
- package/dist/esm/classic/deployments/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +1 -1
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/toolboxes/index.d.ts +25 -0
- package/dist/esm/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/{browser/classic/beta → esm/classic}/toolboxes/index.js +4 -4
- package/dist/esm/classic/toolboxes/index.js.map +1 -0
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +11 -7
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +648 -654
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +953 -584
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/overwriteOpenAIClient.d.ts +2 -1
- package/dist/esm/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/esm/overwriteOpenAIClient.js +48 -4
- package/dist/esm/overwriteOpenAIClient.js.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/esm/static-helpers/platform-types.d.ts +8 -0
- package/dist/esm/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/esm/static-helpers/platform-types.js +4 -0
- package/dist/esm/static-helpers/platform-types.js.map +1 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/esm/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +7 -7
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/tracing/attributes.d.ts +62 -0
- package/dist/esm/tracing/attributes.d.ts.map +1 -0
- package/dist/esm/tracing/attributes.js +230 -0
- package/dist/esm/tracing/attributes.js.map +1 -0
- package/dist/esm/tracing/configuration.d.ts +60 -0
- package/dist/esm/tracing/configuration.d.ts.map +1 -0
- package/dist/esm/tracing/configuration.js +67 -0
- package/dist/esm/tracing/configuration.js.map +1 -0
- package/dist/esm/tracing/constants.d.ts +55 -0
- package/dist/esm/tracing/constants.d.ts.map +1 -0
- package/dist/esm/tracing/constants.js +75 -0
- package/dist/esm/tracing/constants.js.map +1 -0
- package/dist/esm/tracing/formatters.d.ts +11 -0
- package/dist/esm/tracing/formatters.d.ts.map +1 -0
- package/dist/esm/tracing/formatters.js +251 -0
- package/dist/esm/tracing/formatters.js.map +1 -0
- package/dist/esm/tracing/metrics.d.ts +22 -0
- package/dist/esm/tracing/metrics.d.ts.map +1 -0
- package/dist/esm/tracing/metrics.js +77 -0
- package/dist/esm/tracing/metrics.js.map +1 -0
- package/dist/esm/tracing/responseTracing.d.ts +4 -0
- package/dist/esm/tracing/responseTracing.d.ts.map +1 -0
- package/dist/esm/tracing/responseTracing.js +223 -0
- package/dist/esm/tracing/responseTracing.js.map +1 -0
- package/dist/esm/tracing/tracingClient.d.ts +22 -0
- package/dist/esm/tracing/tracingClient.d.ts.map +1 -0
- package/dist/esm/tracing/tracingClient.js +37 -0
- package/dist/esm/tracing/tracingClient.js.map +1 -0
- package/dist/esm/tracing/tracingFetch.d.ts +14 -0
- package/dist/esm/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/esm/tracing/tracingFetch.js +30 -0
- package/dist/esm/tracing/tracingFetch.js.map +1 -0
- package/dist/react-native/aiProjectClient.d.ts +5 -2
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +13 -8
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +2 -2
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +147 -18
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +679 -42
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +109 -3
- package/dist/react-native/api/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/agents/options.js.map +1 -1
- package/dist/react-native/api/aiProjectContext.d.ts +9 -0
- package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
- package/dist/react-native/api/aiProjectContext.js +1 -1
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/beta/agents/index.d.ts +2 -2
- package/dist/react-native/api/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/index.js +1 -1
- package/dist/react-native/api/beta/agents/index.js.map +1 -1
- package/dist/react-native/api/beta/agents/operations.d.ts +8 -139
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/operations.js +30 -750
- package/dist/react-native/api/beta/agents/operations.js.map +1 -1
- package/dist/react-native/api/beta/agents/options.d.ts +6 -200
- package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/options.js.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts +4 -4
- package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.js +19 -9
- package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.js +35 -16
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
- package/dist/react-native/api/beta/insights/operations.d.ts +3 -3
- package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/operations.js +13 -13
- package/dist/react-native/api/beta/insights/operations.js.map +1 -1
- package/dist/react-native/api/beta/insights/options.d.ts +0 -4
- package/dist/react-native/api/beta/insights/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/options.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.js +59 -28
- package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/react-native/api/beta/models/operations.d.ts +6 -6
- package/dist/react-native/api/beta/models/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/models/operations.js +8 -8
- package/dist/react-native/api/beta/models/operations.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.js +6 -10
- package/dist/react-native/api/beta/redTeams/operations.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.d.ts +0 -4
- package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.js.map +1 -1
- package/dist/react-native/api/beta/routines/operations.d.ts +8 -8
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +55 -44
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.d.ts +6 -6
- package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.js +9 -22
- package/dist/react-native/api/beta/schedules/operations.js.map +1 -1
- package/dist/react-native/api/beta/schedules/options.d.ts +0 -10
- package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/options.js.map +1 -1
- package/dist/react-native/api/beta/skills/operations.d.ts +24 -24
- package/dist/react-native/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/skills/operations.js +154 -132
- package/dist/react-native/api/beta/skills/operations.js.map +1 -1
- package/dist/react-native/api/beta/skills/options.d.ts +6 -6
- package/dist/react-native/api/beta/skills/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/skills/options.js.map +1 -1
- package/dist/react-native/api/connections/options.d.ts +2 -2
- package/dist/react-native/api/connections/options.d.ts.map +1 -1
- package/dist/react-native/api/connections/options.js.map +1 -1
- package/dist/react-native/api/deployments/operations.d.ts +1 -1
- package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
- package/dist/react-native/api/deployments/operations.js +1 -1
- package/dist/react-native/api/deployments/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.d.ts +4 -4
- package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.js +4 -4
- package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
- package/dist/react-native/api/toolboxes/index.d.ts +3 -0
- package/dist/react-native/api/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/api/toolboxes/index.js.map +1 -0
- package/dist/react-native/api/{beta/toolboxes → toolboxes}/operations.d.ts +21 -21
- package/dist/react-native/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/{esm/api/beta → react-native/api}/toolboxes/operations.js +44 -62
- package/dist/react-native/api/toolboxes/operations.js.map +1 -0
- package/dist/{esm/api/beta → react-native/api}/toolboxes/options.d.ts +5 -5
- package/dist/react-native/api/toolboxes/options.d.ts.map +1 -0
- package/dist/react-native/api/toolboxes/options.js.map +1 -0
- package/dist/react-native/classic/agents/index.d.ts +102 -3
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +25 -10
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/agents/index.d.ts +6 -103
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js +2 -21
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.d.ts +4 -4
- package/dist/react-native/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +0 -3
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +0 -3
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/insights/index.d.ts +3 -3
- package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/insights/index.js.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/react-native/classic/beta/models/index.d.ts +4 -4
- package/dist/react-native/classic/beta/models/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/models/index.js +1 -1
- package/dist/react-native/classic/beta/models/index.js.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.js.map +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts +8 -8
- package/dist/react-native/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/routines/index.js.map +1 -1
- package/dist/react-native/classic/deployments/index.d.ts +1 -1
- package/dist/react-native/classic/deployments/index.d.ts.map +1 -1
- package/dist/react-native/classic/deployments/index.js.map +1 -1
- package/dist/react-native/classic/index.d.ts +1 -1
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/toolboxes/index.d.ts +25 -0
- package/dist/react-native/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/classic/{beta/toolboxes → toolboxes}/index.js +4 -4
- package/dist/react-native/classic/toolboxes/index.js.map +1 -0
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +11 -7
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +648 -654
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +953 -584
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts +2 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.js +48 -4
- package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/platform-types-browser.d.mts +6 -0
- package/dist/react-native/static-helpers/platform-types-browser.d.mts.map +1 -0
- package/dist/react-native/static-helpers/platform-types-browser.mjs +4 -0
- package/dist/react-native/static-helpers/platform-types-browser.mjs.map +1 -0
- package/dist/react-native/static-helpers/platform-types.d.ts +6 -0
- package/dist/react-native/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/react-native/static-helpers/platform-types.js +4 -0
- package/dist/react-native/static-helpers/platform-types.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts +13 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +17 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts +1 -11
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js +1 -14
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/react-native/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/react-native/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +7 -7
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/tracing/attributes.d.ts +62 -0
- package/dist/react-native/tracing/attributes.d.ts.map +1 -0
- package/dist/react-native/tracing/attributes.js +230 -0
- package/dist/react-native/tracing/attributes.js.map +1 -0
- package/dist/react-native/tracing/configuration.d.ts +60 -0
- package/dist/react-native/tracing/configuration.d.ts.map +1 -0
- package/dist/react-native/tracing/configuration.js +67 -0
- package/dist/react-native/tracing/configuration.js.map +1 -0
- package/dist/react-native/tracing/constants.d.ts +55 -0
- package/dist/react-native/tracing/constants.d.ts.map +1 -0
- package/dist/react-native/tracing/constants.js +75 -0
- package/dist/react-native/tracing/constants.js.map +1 -0
- package/dist/react-native/tracing/formatters.d.ts +11 -0
- package/dist/react-native/tracing/formatters.d.ts.map +1 -0
- package/dist/react-native/tracing/formatters.js +251 -0
- package/dist/react-native/tracing/formatters.js.map +1 -0
- package/dist/react-native/tracing/metrics.d.ts +22 -0
- package/dist/react-native/tracing/metrics.d.ts.map +1 -0
- package/dist/react-native/tracing/metrics.js +77 -0
- package/dist/react-native/tracing/metrics.js.map +1 -0
- package/dist/react-native/tracing/responseTracing.d.ts +4 -0
- package/dist/react-native/tracing/responseTracing.d.ts.map +1 -0
- package/dist/react-native/tracing/responseTracing.js +223 -0
- package/dist/react-native/tracing/responseTracing.js.map +1 -0
- package/dist/react-native/tracing/tracingClient.d.ts +22 -0
- package/dist/react-native/tracing/tracingClient.d.ts.map +1 -0
- package/dist/react-native/tracing/tracingClient.js +37 -0
- package/dist/react-native/tracing/tracingClient.js.map +1 -0
- package/dist/react-native/tracing/tracingFetch.d.ts +14 -0
- package/dist/react-native/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/react-native/tracing/tracingFetch.js +30 -0
- package/dist/react-native/tracing/tracingFetch.js.map +1 -0
- package/package.json +9 -7
- package/dist/browser/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/browser/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/index.js.map +0 -1
- package/dist/browser/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/browser/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/options.js.map +0 -1
- package/dist/browser/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/browser/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/browser/classic/beta/toolboxes/index.js.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/commonjs/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/operations.js.map +0 -7
- package/dist/commonjs/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/options.js.map +0 -7
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/commonjs/classic/beta/toolboxes/index.js.map +0 -7
- package/dist/esm/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/esm/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/index.js.map +0 -1
- package/dist/esm/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/esm/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/options.js.map +0 -1
- package/dist/esm/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/esm/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/esm/classic/beta/toolboxes/index.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/react-native/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/index.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/options.js.map +0 -1
- package/dist/react-native/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/react-native/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/react-native/classic/beta/toolboxes/index.js.map +0 -1
- /package/dist/browser/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/browser/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/commonjs/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/commonjs/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/esm/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/esm/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/react-native/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/react-native/api/{beta/toolboxes → toolboxes}/options.js +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NodeReadableStream } from "../static-helpers/platform-types.js";
|
|
1
2
|
import type { FileContents } from "../static-helpers/multipartHelpers.js";
|
|
2
3
|
/**
|
|
3
4
|
* This file contains only generated model types and their (de)serializers.
|
|
@@ -11,6 +12,8 @@ export interface Agent {
|
|
|
11
12
|
id: string;
|
|
12
13
|
/** The name of the agent. */
|
|
13
14
|
name: string;
|
|
15
|
+
/** The operational state of the agent. Controls whether the agent endpoint accepts or rejects requests. */
|
|
16
|
+
readonly state: AgentState;
|
|
14
17
|
/** The latest version of the agent. */
|
|
15
18
|
versions: {
|
|
16
19
|
latest: AgentVersion;
|
|
@@ -26,6 +29,8 @@ export interface Agent {
|
|
|
26
29
|
agent_card?: AgentCard;
|
|
27
30
|
}
|
|
28
31
|
export declare function agentDeserializer(item: any): Agent;
|
|
32
|
+
/** The operational state of an agent. */
|
|
33
|
+
export type AgentState = "enabled" | "disabled";
|
|
29
34
|
/**
|
|
30
35
|
* Helper interface for agent version references.
|
|
31
36
|
*/
|
|
@@ -46,7 +51,7 @@ export interface AgentVersion {
|
|
|
46
51
|
* Keys are strings with a maximum length of 64 characters. Values are strings
|
|
47
52
|
* with a maximum length of 512 characters.
|
|
48
53
|
*/
|
|
49
|
-
metadata
|
|
54
|
+
metadata?: Record<string, string>;
|
|
50
55
|
/** The object type, which is always 'agent.version'. */
|
|
51
56
|
object: "agent.version";
|
|
52
57
|
/** The unique identifier of the agent version. */
|
|
@@ -61,6 +66,8 @@ export interface AgentVersion {
|
|
|
61
66
|
created_at: Date;
|
|
62
67
|
/** The definition of the agent. */
|
|
63
68
|
definition: AgentDefinitionUnion;
|
|
69
|
+
/** Whether this agent version is a draft (candidate) rather than a release. Draft versions are recorded but excluded from default 'latest' resolution and are not auto-promoted. Defaults to false. */
|
|
70
|
+
draft?: boolean;
|
|
64
71
|
/** The provisioning status of the agent version. Defaults to 'active' for non-hosted agents. For hosted agents, reflects infrastructure readiness. */
|
|
65
72
|
status?: AgentVersionStatus;
|
|
66
73
|
/** The instance identity of the agent */
|
|
@@ -107,11 +114,6 @@ export declare function raiConfigDeserializer(item: any): RaiConfig;
|
|
|
107
114
|
/** The hosted agent definition. */
|
|
108
115
|
export interface HostedAgentDefinition extends AgentDefinition {
|
|
109
116
|
kind: "hosted";
|
|
110
|
-
/**
|
|
111
|
-
* An array of tools the hosted agent's model may call while generating a response. You
|
|
112
|
-
* can specify which tool to use by setting the `tool_choice` parameter.
|
|
113
|
-
*/
|
|
114
|
-
tools?: ToolUnion[];
|
|
115
117
|
/** The CPU configuration for the hosted agent. */
|
|
116
118
|
cpu: string;
|
|
117
119
|
/** The memory configuration for the hosted agent. */
|
|
@@ -139,7 +141,7 @@ export interface Tool {
|
|
|
139
141
|
export declare function toolSerializer(item: Tool): any;
|
|
140
142
|
export declare function toolDeserializer(item: any): Tool;
|
|
141
143
|
/** Alias for ToolUnion */
|
|
142
|
-
export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | WorkIQPreviewTool | FabricIQPreviewTool | MemorySearchPreviewTool |
|
|
144
|
+
export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | WorkIQPreviewTool | FabricIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
|
|
143
145
|
export declare function toolUnionSerializer(item: ToolUnion): any;
|
|
144
146
|
export declare function toolUnionDeserializer(item: any): ToolUnion;
|
|
145
147
|
/** Type of ToolType */
|
|
@@ -148,15 +150,11 @@ export type ToolType = "function" | "file_search" | "computer" | "computer_use_p
|
|
|
148
150
|
export interface BingGroundingTool extends Tool {
|
|
149
151
|
/** The object type, which is always 'bing_grounding'. */
|
|
150
152
|
type: "bing_grounding";
|
|
151
|
-
/**
|
|
153
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
152
154
|
name?: string;
|
|
153
|
-
/**
|
|
155
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
154
156
|
description?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
157
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
158
|
-
* Unknown tool names are silently ignored at runtime.
|
|
159
|
-
*/
|
|
157
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
160
158
|
tool_configs?: Record<string, ToolConfig>;
|
|
161
159
|
/** The bing grounding search tool parameters. */
|
|
162
160
|
bing_grounding: BingGroundingSearchToolParameters;
|
|
@@ -211,16 +209,6 @@ export declare function bingGroundingSearchConfigurationDeserializer(item: any):
|
|
|
211
209
|
export interface MicrosoftFabricPreviewTool extends Tool {
|
|
212
210
|
/** The object type, which is always 'fabric_dataagent_preview'. */
|
|
213
211
|
type: "fabric_dataagent_preview";
|
|
214
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
215
|
-
name?: string;
|
|
216
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
217
|
-
description?: string;
|
|
218
|
-
/**
|
|
219
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
220
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
221
|
-
* Unknown tool names are silently ignored at runtime.
|
|
222
|
-
*/
|
|
223
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
224
212
|
/** The fabric data agent tool parameters. */
|
|
225
213
|
fabric_dataagent_preview: FabricDataAgentToolParameters;
|
|
226
214
|
}
|
|
@@ -249,16 +237,6 @@ export declare function toolProjectConnectionDeserializer(item: any): ToolProjec
|
|
|
249
237
|
export interface SharepointPreviewTool extends Tool {
|
|
250
238
|
/** The object type, which is always 'sharepoint_grounding_preview'. */
|
|
251
239
|
type: "sharepoint_grounding_preview";
|
|
252
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
253
|
-
name?: string;
|
|
254
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
255
|
-
description?: string;
|
|
256
|
-
/**
|
|
257
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
258
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
259
|
-
* Unknown tool names are silently ignored at runtime.
|
|
260
|
-
*/
|
|
261
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
262
240
|
/** The sharepoint grounding tool parameters. */
|
|
263
241
|
sharepoint_grounding_preview: SharepointGroundingToolParameters;
|
|
264
242
|
}
|
|
@@ -278,15 +256,11 @@ export declare function sharepointGroundingToolParametersDeserializer(item: any)
|
|
|
278
256
|
export interface AzureAISearchTool extends Tool {
|
|
279
257
|
/** The object type, which is always 'azure_ai_search'. */
|
|
280
258
|
type: "azure_ai_search";
|
|
281
|
-
/**
|
|
259
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
282
260
|
name?: string;
|
|
283
|
-
/**
|
|
261
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
284
262
|
description?: string;
|
|
285
|
-
/**
|
|
286
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
287
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
288
|
-
* Unknown tool names are silently ignored at runtime.
|
|
289
|
-
*/
|
|
263
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
290
264
|
tool_configs?: Record<string, ToolConfig>;
|
|
291
265
|
/** The azure ai search index resource. */
|
|
292
266
|
azure_ai_search: AzureAISearchToolResource;
|
|
@@ -328,14 +302,10 @@ export type AzureAISearchQueryType = "simple" | "semantic" | "vector" | "vector_
|
|
|
328
302
|
export interface OpenApiTool extends Tool {
|
|
329
303
|
/** The object type, which is always 'openapi'. */
|
|
330
304
|
type: "openapi";
|
|
305
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
306
|
+
tool_configs?: Record<string, ToolConfig>;
|
|
331
307
|
/** The openapi function definition. */
|
|
332
308
|
openapi: OpenApiFunctionDefinition;
|
|
333
|
-
/**
|
|
334
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
335
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
336
|
-
* Unknown tool names are silently ignored at runtime.
|
|
337
|
-
*/
|
|
338
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
339
309
|
}
|
|
340
310
|
export declare function openApiToolSerializer(item: OpenApiTool): any;
|
|
341
311
|
export declare function openApiToolDeserializer(item: any): OpenApiTool;
|
|
@@ -433,16 +403,6 @@ export declare function _openApiFunctionDefinitionFunctionDeserializer(item: any
|
|
|
433
403
|
export interface BingCustomSearchPreviewTool extends Tool {
|
|
434
404
|
/** The object type, which is always 'bing_custom_search_preview'. */
|
|
435
405
|
type: "bing_custom_search_preview";
|
|
436
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
437
|
-
name?: string;
|
|
438
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
439
|
-
description?: string;
|
|
440
|
-
/**
|
|
441
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
442
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
443
|
-
* Unknown tool names are silently ignored at runtime.
|
|
444
|
-
*/
|
|
445
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
446
406
|
/** The bing custom search tool parameters. */
|
|
447
407
|
bing_custom_search_preview: BingCustomSearchToolParameters;
|
|
448
408
|
}
|
|
@@ -481,16 +441,6 @@ export declare function bingCustomSearchConfigurationDeserializer(item: any): Bi
|
|
|
481
441
|
export interface BrowserAutomationPreviewTool extends Tool {
|
|
482
442
|
/** The object type, which is always 'browser_automation_preview'. */
|
|
483
443
|
type: "browser_automation_preview";
|
|
484
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
485
|
-
name?: string;
|
|
486
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
487
|
-
description?: string;
|
|
488
|
-
/**
|
|
489
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
490
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
491
|
-
* Unknown tool names are silently ignored at runtime.
|
|
492
|
-
*/
|
|
493
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
494
444
|
/** The Browser Automation Tool parameters. */
|
|
495
445
|
browser_automation_preview: BrowserAutomationToolParameters;
|
|
496
446
|
}
|
|
@@ -514,14 +464,10 @@ export declare function browserAutomationToolConnectionParametersDeserializer(it
|
|
|
514
464
|
export interface AzureFunctionTool extends Tool {
|
|
515
465
|
/** The object type, which is always 'browser_automation'. */
|
|
516
466
|
type: "azure_function";
|
|
467
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
468
|
+
tool_configs?: Record<string, ToolConfig>;
|
|
517
469
|
/** The Azure Function Tool definition. */
|
|
518
470
|
azure_function: AzureFunctionDefinition;
|
|
519
|
-
/**
|
|
520
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
521
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
522
|
-
* Unknown tool names are silently ignored at runtime.
|
|
523
|
-
*/
|
|
524
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
525
471
|
}
|
|
526
472
|
export declare function azureFunctionToolSerializer(item: AzureFunctionTool): any;
|
|
527
473
|
export declare function azureFunctionToolDeserializer(item: any): AzureFunctionTool;
|
|
@@ -573,15 +519,11 @@ export declare function azureFunctionStorageQueueDeserializer(item: any): AzureF
|
|
|
573
519
|
export interface CaptureStructuredOutputsTool extends Tool {
|
|
574
520
|
/** The type of the tool. Always `capture_structured_outputs`. */
|
|
575
521
|
type: "capture_structured_outputs";
|
|
576
|
-
/**
|
|
522
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
577
523
|
name?: string;
|
|
578
|
-
/**
|
|
524
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
579
525
|
description?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
582
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
583
|
-
* Unknown tool names are silently ignored at runtime.
|
|
584
|
-
*/
|
|
526
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
585
527
|
tool_configs?: Record<string, ToolConfig>;
|
|
586
528
|
/** The structured outputs to capture from the model. */
|
|
587
529
|
outputs: StructuredOutputDefinition;
|
|
@@ -597,7 +539,7 @@ export interface StructuredOutputDefinition {
|
|
|
597
539
|
/** The JSON schema for the structured output. */
|
|
598
540
|
schema: Record<string, unknown>;
|
|
599
541
|
/** Whether to enforce strict validation. Default `true`. */
|
|
600
|
-
strict
|
|
542
|
+
strict?: boolean;
|
|
601
543
|
}
|
|
602
544
|
export declare function structuredOutputDefinitionSerializer(item: StructuredOutputDefinition): any;
|
|
603
545
|
export declare function structuredOutputDefinitionDeserializer(item: any): StructuredOutputDefinition;
|
|
@@ -605,16 +547,6 @@ export declare function structuredOutputDefinitionDeserializer(item: any): Struc
|
|
|
605
547
|
export interface A2APreviewTool extends Tool {
|
|
606
548
|
/** The type of the tool. Always `"a2a_preview`. */
|
|
607
549
|
type: "a2a_preview";
|
|
608
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
609
|
-
name?: string;
|
|
610
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
611
|
-
description?: string;
|
|
612
|
-
/**
|
|
613
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
614
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
615
|
-
* Unknown tool names are silently ignored at runtime.
|
|
616
|
-
*/
|
|
617
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
618
550
|
/** Base URL of the agent. */
|
|
619
551
|
base_url?: string;
|
|
620
552
|
/**
|
|
@@ -627,6 +559,12 @@ export interface A2APreviewTool extends Tool {
|
|
|
627
559
|
* The connection stores authentication and other connection details needed to connect to the A2A server.
|
|
628
560
|
*/
|
|
629
561
|
project_connection_id?: string;
|
|
562
|
+
/**
|
|
563
|
+
* When `true`, Foundry sends its credentials when fetching the remote
|
|
564
|
+
* agent's Agent Card. The service defaults to `false` if a value is not
|
|
565
|
+
* specified by the caller (anonymous fetch).
|
|
566
|
+
*/
|
|
567
|
+
send_credentials_for_agent_card?: boolean;
|
|
630
568
|
}
|
|
631
569
|
export declare function a2APreviewToolSerializer(item: A2APreviewTool): any;
|
|
632
570
|
export declare function a2APreviewToolDeserializer(item: any): A2APreviewTool;
|
|
@@ -636,16 +574,6 @@ export interface WorkIQPreviewTool extends Tool {
|
|
|
636
574
|
type: "work_iq_preview";
|
|
637
575
|
/** The ID of the WorkIQ project connection. */
|
|
638
576
|
project_connection_id: string;
|
|
639
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
640
|
-
name?: string;
|
|
641
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
642
|
-
description?: string;
|
|
643
|
-
/**
|
|
644
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
645
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
646
|
-
* Unknown tool names are silently ignored at runtime.
|
|
647
|
-
*/
|
|
648
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
649
577
|
}
|
|
650
578
|
export declare function workIQPreviewToolSerializer(item: WorkIQPreviewTool): any;
|
|
651
579
|
export declare function workIQPreviewToolDeserializer(item: any): WorkIQPreviewTool;
|
|
@@ -661,16 +589,6 @@ export interface FabricIQPreviewTool extends Tool {
|
|
|
661
589
|
server_url?: string;
|
|
662
590
|
/** (Optional) Whether the agent requires approval before executing actions. Default is always. */
|
|
663
591
|
require_approval?: MCPToolRequireApproval | string;
|
|
664
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
665
|
-
name?: string;
|
|
666
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
667
|
-
description?: string;
|
|
668
|
-
/**
|
|
669
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
670
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
671
|
-
* Unknown tool names are silently ignored at runtime.
|
|
672
|
-
*/
|
|
673
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
674
592
|
}
|
|
675
593
|
export declare function fabricIQPreviewToolSerializer(item: FabricIQPreviewTool): any;
|
|
676
594
|
export declare function fabricIQPreviewToolDeserializer(item: any): FabricIQPreviewTool;
|
|
@@ -702,16 +620,6 @@ export declare function mcpToolFilterDeserializer(item: any): MCPToolFilter;
|
|
|
702
620
|
export interface MemorySearchPreviewTool extends Tool {
|
|
703
621
|
/** The type of the tool. Always `memory_search_preview`. */
|
|
704
622
|
type: "memory_search_preview";
|
|
705
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
706
|
-
name?: string;
|
|
707
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
708
|
-
description?: string;
|
|
709
|
-
/**
|
|
710
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
711
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
712
|
-
* Unknown tool names are silently ignored at runtime.
|
|
713
|
-
*/
|
|
714
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
715
623
|
/** The name of the memory store to use. */
|
|
716
624
|
memory_store_name: string;
|
|
717
625
|
/**
|
|
@@ -734,40 +642,15 @@ export interface MemorySearchOptions {
|
|
|
734
642
|
}
|
|
735
643
|
export declare function memorySearchOptionsSerializer(item: MemorySearchOptions): any;
|
|
736
644
|
export declare function memorySearchOptionsDeserializer(item: any): MemorySearchOptions;
|
|
737
|
-
/**
|
|
738
|
-
* A tool for searching over the agent's toolbox.
|
|
739
|
-
* When present, deferred tools are hidden from `tools/list` and only
|
|
740
|
-
* discoverable via `search_tools` queries at runtime.
|
|
741
|
-
*/
|
|
742
|
-
export interface ToolboxSearchPreviewTool extends Tool {
|
|
743
|
-
/** The type of the tool. Always `toolbox_search_preview`. */
|
|
744
|
-
type: "toolbox_search_preview";
|
|
745
|
-
/** Optional user-defined name for this tool or configuration. */
|
|
746
|
-
name?: string;
|
|
747
|
-
/** Optional user-defined description for this tool or configuration. */
|
|
748
|
-
description?: string;
|
|
749
|
-
/**
|
|
750
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
751
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
752
|
-
* Unknown tool names are silently ignored at runtime.
|
|
753
|
-
*/
|
|
754
|
-
tool_configs?: Record<string, ToolConfig>;
|
|
755
|
-
}
|
|
756
|
-
export declare function toolboxSearchPreviewToolSerializer(item: ToolboxSearchPreviewTool): any;
|
|
757
|
-
export declare function toolboxSearchPreviewToolDeserializer(item: any): ToolboxSearchPreviewTool;
|
|
758
645
|
/** A tool that runs Python code to help generate a response to a prompt. */
|
|
759
646
|
export interface CodeInterpreterTool extends Tool {
|
|
760
647
|
/** The type of the code interpreter tool. Always `code_interpreter`. */
|
|
761
648
|
type: "code_interpreter";
|
|
762
|
-
/**
|
|
649
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
763
650
|
name?: string;
|
|
764
|
-
/**
|
|
651
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
765
652
|
description?: string;
|
|
766
|
-
/**
|
|
767
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
768
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
769
|
-
* Unknown tool names are silently ignored at runtime.
|
|
770
|
-
*/
|
|
653
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
771
654
|
tool_configs?: Record<string, ToolConfig>;
|
|
772
655
|
/**
|
|
773
656
|
* The code interpreter container. Can be a container ID or an object that
|
|
@@ -851,9 +734,9 @@ export interface FunctionTool extends Tool {
|
|
|
851
734
|
/** A description of the function tool. */
|
|
852
735
|
description?: string;
|
|
853
736
|
/** The parameters schema for the function. */
|
|
854
|
-
parameters
|
|
737
|
+
parameters?: Record<string, unknown>;
|
|
855
738
|
/** Whether the function arguments must strictly match the parameters schema. */
|
|
856
|
-
strict
|
|
739
|
+
strict?: boolean;
|
|
857
740
|
/** Whether this function is deferred and loaded via tool search. */
|
|
858
741
|
defer_loading?: boolean;
|
|
859
742
|
}
|
|
@@ -871,15 +754,11 @@ export interface FileSearchTool extends Tool {
|
|
|
871
754
|
ranking_options?: RankingOptions;
|
|
872
755
|
/** Filters to apply to the file search. */
|
|
873
756
|
filters?: Filters;
|
|
874
|
-
/**
|
|
757
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
875
758
|
name?: string;
|
|
876
|
-
/**
|
|
759
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
877
760
|
description?: string;
|
|
878
|
-
/**
|
|
879
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
880
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
881
|
-
* Unknown tool names are silently ignored at runtime.
|
|
882
|
-
*/
|
|
761
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
883
762
|
tool_configs?: Record<string, ToolConfig>;
|
|
884
763
|
}
|
|
885
764
|
export declare function fileSearchToolSerializer(item: FileSearchTool): any;
|
|
@@ -986,15 +865,11 @@ export interface WebSearchTool extends Tool {
|
|
|
986
865
|
user_location?: WebSearchApproximateLocation;
|
|
987
866
|
/** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
|
|
988
867
|
search_context_size?: "low" | "medium" | "high";
|
|
989
|
-
/**
|
|
868
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
990
869
|
name?: string;
|
|
991
|
-
/**
|
|
870
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
992
871
|
description?: string;
|
|
993
|
-
/**
|
|
994
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
995
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
996
|
-
* Unknown tool names are silently ignored at runtime.
|
|
997
|
-
*/
|
|
872
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
998
873
|
tool_configs?: Record<string, ToolConfig>;
|
|
999
874
|
/**
|
|
1000
875
|
* The project connections attached to this tool. There can be a maximum of 1 connection
|
|
@@ -1045,14 +920,14 @@ export interface MCPTool extends Tool {
|
|
|
1045
920
|
/** A label for this MCP server, used to identify it in tool calls. */
|
|
1046
921
|
server_label: string;
|
|
1047
922
|
/**
|
|
1048
|
-
* The URL for the MCP server. One of `server_url
|
|
1049
|
-
* provided.
|
|
923
|
+
* The URL for the MCP server. One of `server_url`, `connector_id`, or
|
|
924
|
+
* `tunnel_id` must be provided.
|
|
1050
925
|
*/
|
|
1051
926
|
server_url?: string;
|
|
1052
927
|
/**
|
|
1053
928
|
* Identifier for service connectors, like those available in ChatGPT. One of
|
|
1054
|
-
* `server_url` or `
|
|
1055
|
-
* connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
|
|
929
|
+
* `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
|
|
930
|
+
* about service connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
|
|
1056
931
|
* Currently supported `connector_id` values are:
|
|
1057
932
|
* - Dropbox: `connector_dropbox`
|
|
1058
933
|
* - Gmail: `connector_gmail`
|
|
@@ -1064,6 +939,11 @@ export interface MCPTool extends Tool {
|
|
|
1064
939
|
* - SharePoint: `connector_sharepoint`
|
|
1065
940
|
*/
|
|
1066
941
|
connector_id?: "connector_dropbox" | "connector_gmail" | "connector_googlecalendar" | "connector_googledrive" | "connector_microsoftteams" | "connector_outlookcalendar" | "connector_outlookemail" | "connector_sharepoint";
|
|
942
|
+
/**
|
|
943
|
+
* The Secure MCP Tunnel ID to use instead of a direct server URL. One of
|
|
944
|
+
* `server_url`, `connector_id`, or `tunnel_id` must be provided.
|
|
945
|
+
*/
|
|
946
|
+
tunnel_id?: string;
|
|
1067
947
|
/**
|
|
1068
948
|
* An OAuth access token that can be used with a remote MCP server, either
|
|
1069
949
|
* with a custom MCP server URL or a service connector. Your application
|
|
@@ -1082,11 +962,7 @@ export interface MCPTool extends Tool {
|
|
|
1082
962
|
defer_loading?: boolean;
|
|
1083
963
|
/** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
|
|
1084
964
|
project_connection_id?: string;
|
|
1085
|
-
/**
|
|
1086
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
1087
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
1088
|
-
* Unknown tool names are silently ignored at runtime.
|
|
1089
|
-
*/
|
|
965
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1090
966
|
tool_configs?: Record<string, ToolConfig>;
|
|
1091
967
|
}
|
|
1092
968
|
export declare function mcpToolSerializer(item: MCPTool): any;
|
|
@@ -1110,10 +986,7 @@ export interface ImageGenTool extends Tool {
|
|
|
1110
986
|
* or `auto`. Default: `auto`.
|
|
1111
987
|
*/
|
|
1112
988
|
quality?: "low" | "medium" | "high" | "auto";
|
|
1113
|
-
/**
|
|
1114
|
-
* The size of the generated image. One of `1024x1024`, `1024x1536`,
|
|
1115
|
-
* `1536x1024`, or `auto`. Default: `auto`.
|
|
1116
|
-
*/
|
|
989
|
+
/** The size of the generated images. For `gpt-image-2` and `gpt-image-2-2026-04-21`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. */
|
|
1117
990
|
size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto";
|
|
1118
991
|
/**
|
|
1119
992
|
* The output format of the generated image. One of `png`, `webp`, or
|
|
@@ -1140,15 +1013,11 @@ export interface ImageGenTool extends Tool {
|
|
|
1140
1013
|
partial_images?: number;
|
|
1141
1014
|
/** Whether to generate a new image or edit an existing image. Default: `auto`. */
|
|
1142
1015
|
action?: ImageGenAction;
|
|
1143
|
-
/**
|
|
1016
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1144
1017
|
name?: string;
|
|
1145
|
-
/**
|
|
1018
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1146
1019
|
description?: string;
|
|
1147
|
-
/**
|
|
1148
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
1149
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
1150
|
-
* Unknown tool names are silently ignored at runtime.
|
|
1151
|
-
*/
|
|
1020
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1152
1021
|
tool_configs?: Record<string, ToolConfig>;
|
|
1153
1022
|
}
|
|
1154
1023
|
export declare function imageGenToolSerializer(item: ImageGenTool): any;
|
|
@@ -1170,15 +1039,11 @@ export type ImageGenAction = "generate" | "edit" | "auto";
|
|
|
1170
1039
|
export interface LocalShellToolParam extends Tool {
|
|
1171
1040
|
/** The type of the local shell tool. Always `local_shell`. */
|
|
1172
1041
|
type: "local_shell";
|
|
1173
|
-
/**
|
|
1042
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1174
1043
|
name?: string;
|
|
1175
|
-
/**
|
|
1044
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1176
1045
|
description?: string;
|
|
1177
|
-
/**
|
|
1178
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
1179
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
1180
|
-
* Unknown tool names are silently ignored at runtime.
|
|
1181
|
-
*/
|
|
1046
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1182
1047
|
tool_configs?: Record<string, ToolConfig>;
|
|
1183
1048
|
}
|
|
1184
1049
|
export declare function localShellToolParamSerializer(item: LocalShellToolParam): any;
|
|
@@ -1189,15 +1054,11 @@ export interface FunctionShellToolParam extends Tool {
|
|
|
1189
1054
|
type: "shell";
|
|
1190
1055
|
/** The environment configuration for the function shell tool. */
|
|
1191
1056
|
environment?: FunctionShellToolParamEnvironmentUnion;
|
|
1192
|
-
/**
|
|
1057
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1193
1058
|
name?: string;
|
|
1194
|
-
/**
|
|
1059
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1195
1060
|
description?: string;
|
|
1196
|
-
/**
|
|
1197
|
-
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
1198
|
-
* Resolution order: exact tool name match takes priority over `*`.
|
|
1199
|
-
* Unknown tool names are silently ignored at runtime.
|
|
1200
|
-
*/
|
|
1061
|
+
/** Deprecated. This property is deprecated and will be removed in a future version. */
|
|
1201
1062
|
tool_configs?: Record<string, ToolConfig>;
|
|
1202
1063
|
}
|
|
1203
1064
|
export declare function functionShellToolParamSerializer(item: FunctionShellToolParam): any;
|
|
@@ -1472,10 +1333,10 @@ export interface ProtocolVersionRecord {
|
|
|
1472
1333
|
export declare function protocolVersionRecordSerializer(item: ProtocolVersionRecord): any;
|
|
1473
1334
|
export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
|
|
1474
1335
|
/** Type of AgentProtocol */
|
|
1475
|
-
export type AgentProtocol = "
|
|
1336
|
+
export type AgentProtocol = "activity" | "responses" | "a2a" | "mcp" | "invocations" | "invocations_ws";
|
|
1476
1337
|
/** Code-based deployment configuration for a hosted agent. */
|
|
1477
1338
|
export interface CodeConfiguration {
|
|
1478
|
-
/** The runtime identifier for code execution (
|
|
1339
|
+
/** The runtime identifier for code execution ('python_3_14'). */
|
|
1479
1340
|
runtime: string;
|
|
1480
1341
|
/** The entry point command and arguments for the code execution. */
|
|
1481
1342
|
entry_point: string[];
|
|
@@ -1608,6 +1469,7 @@ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgen
|
|
|
1608
1469
|
export interface Reasoning {
|
|
1609
1470
|
effort?: ReasoningEffort;
|
|
1610
1471
|
summary?: "auto" | "concise" | "detailed";
|
|
1472
|
+
context?: "auto" | "current_turn" | "all_turns";
|
|
1611
1473
|
generate_summary?: "auto" | "concise" | "detailed";
|
|
1612
1474
|
}
|
|
1613
1475
|
export declare function reasoningSerializer(item: Reasoning): any;
|
|
@@ -1928,8 +1790,8 @@ export declare function managedAgentIdentityBlueprintReferenceDeserializer(item:
|
|
|
1928
1790
|
export interface AgentEndpointConfig {
|
|
1929
1791
|
/** The version selector of the agent endpoint determines how traffic is routed to different versions of the agent. */
|
|
1930
1792
|
version_selector?: VersionSelector;
|
|
1931
|
-
/**
|
|
1932
|
-
|
|
1793
|
+
/** Per-protocol configuration for the agent endpoint. */
|
|
1794
|
+
protocol_configuration?: ProtocolConfiguration;
|
|
1933
1795
|
/** The authorization schemes supported by the agent endpoint */
|
|
1934
1796
|
authorization_schemes?: AgentEndpointAuthorizationSchemeUnion[];
|
|
1935
1797
|
}
|
|
@@ -1947,7 +1809,7 @@ export declare function versionSelectionRuleUnionArraySerializer(result: Array<V
|
|
|
1947
1809
|
export declare function versionSelectionRuleUnionArrayDeserializer(result: Array<VersionSelectionRuleUnion>): any[];
|
|
1948
1810
|
/** model interface VersionSelectionRule */
|
|
1949
1811
|
export interface VersionSelectionRule {
|
|
1950
|
-
type:
|
|
1812
|
+
type: VersionSelectionRuleType;
|
|
1951
1813
|
/** The agent version to route traffic to */
|
|
1952
1814
|
agent_version: string;
|
|
1953
1815
|
}
|
|
@@ -1957,8 +1819,8 @@ export declare function versionSelectionRuleDeserializer(item: any): VersionSele
|
|
|
1957
1819
|
export type VersionSelectionRuleUnion = FixedRatioVersionSelectionRule | VersionSelectionRule;
|
|
1958
1820
|
export declare function versionSelectionRuleUnionSerializer(item: VersionSelectionRuleUnion): any;
|
|
1959
1821
|
export declare function versionSelectionRuleUnionDeserializer(item: any): VersionSelectionRuleUnion;
|
|
1960
|
-
/** Type of
|
|
1961
|
-
export type
|
|
1822
|
+
/** Type of VersionSelectionRuleType */
|
|
1823
|
+
export type VersionSelectionRuleType = "FixedRatio";
|
|
1962
1824
|
/** model interface FixedRatioVersionSelectionRule */
|
|
1963
1825
|
export interface FixedRatioVersionSelectionRule extends VersionSelectionRule {
|
|
1964
1826
|
type: "FixedRatio";
|
|
@@ -1967,8 +1829,55 @@ export interface FixedRatioVersionSelectionRule extends VersionSelectionRule {
|
|
|
1967
1829
|
}
|
|
1968
1830
|
export declare function fixedRatioVersionSelectionRuleSerializer(item: FixedRatioVersionSelectionRule): any;
|
|
1969
1831
|
export declare function fixedRatioVersionSelectionRuleDeserializer(item: any): FixedRatioVersionSelectionRule;
|
|
1970
|
-
/**
|
|
1971
|
-
export
|
|
1832
|
+
/** Per-protocol configuration for the agent endpoint. */
|
|
1833
|
+
export interface ProtocolConfiguration {
|
|
1834
|
+
/** Configuration for the activity protocol. */
|
|
1835
|
+
activity?: ActivityProtocolConfiguration;
|
|
1836
|
+
/** Configuration for the responses protocol. */
|
|
1837
|
+
responses?: ResponsesProtocolConfiguration;
|
|
1838
|
+
/** Configuration for the A2A protocol. */
|
|
1839
|
+
a2a?: A2AProtocolConfiguration;
|
|
1840
|
+
/** Configuration for the MCP protocol. */
|
|
1841
|
+
mcp?: McpProtocolConfiguration;
|
|
1842
|
+
/** Configuration for the invocations protocol. */
|
|
1843
|
+
invocations?: InvocationsProtocolConfiguration;
|
|
1844
|
+
/** Configuration for the WebSocket-based invocations protocol. */
|
|
1845
|
+
invocations_ws?: InvocationsWsProtocolConfiguration;
|
|
1846
|
+
}
|
|
1847
|
+
export declare function protocolConfigurationSerializer(item: ProtocolConfiguration): any;
|
|
1848
|
+
export declare function protocolConfigurationDeserializer(item: any): ProtocolConfiguration;
|
|
1849
|
+
/** Configuration specific to the activity protocol. */
|
|
1850
|
+
export interface ActivityProtocolConfiguration {
|
|
1851
|
+
/** Whether to enable the M365 public endpoint for the activity protocol. */
|
|
1852
|
+
enable_m365_public_endpoint?: boolean;
|
|
1853
|
+
}
|
|
1854
|
+
export declare function activityProtocolConfigurationSerializer(item: ActivityProtocolConfiguration): any;
|
|
1855
|
+
export declare function activityProtocolConfigurationDeserializer(item: any): ActivityProtocolConfiguration;
|
|
1856
|
+
/** Configuration specific to the responses protocol. */
|
|
1857
|
+
export interface ResponsesProtocolConfiguration {
|
|
1858
|
+
}
|
|
1859
|
+
export declare function responsesProtocolConfigurationSerializer(_item: ResponsesProtocolConfiguration): any;
|
|
1860
|
+
export declare function responsesProtocolConfigurationDeserializer(item: any): ResponsesProtocolConfiguration;
|
|
1861
|
+
/** Configuration specific to the A2A protocol. */
|
|
1862
|
+
export interface A2AProtocolConfiguration {
|
|
1863
|
+
}
|
|
1864
|
+
export declare function a2AProtocolConfigurationSerializer(_item: A2AProtocolConfiguration): any;
|
|
1865
|
+
export declare function a2AProtocolConfigurationDeserializer(item: any): A2AProtocolConfiguration;
|
|
1866
|
+
/** Configuration specific to the MCP protocol. */
|
|
1867
|
+
export interface McpProtocolConfiguration {
|
|
1868
|
+
}
|
|
1869
|
+
export declare function mcpProtocolConfigurationSerializer(_item: McpProtocolConfiguration): any;
|
|
1870
|
+
export declare function mcpProtocolConfigurationDeserializer(item: any): McpProtocolConfiguration;
|
|
1871
|
+
/** Configuration specific to the invocations protocol. */
|
|
1872
|
+
export interface InvocationsProtocolConfiguration {
|
|
1873
|
+
}
|
|
1874
|
+
export declare function invocationsProtocolConfigurationSerializer(_item: InvocationsProtocolConfiguration): any;
|
|
1875
|
+
export declare function invocationsProtocolConfigurationDeserializer(item: any): InvocationsProtocolConfiguration;
|
|
1876
|
+
/** Configuration specific to the WebSocket-based invocations protocol. */
|
|
1877
|
+
export interface InvocationsWsProtocolConfiguration {
|
|
1878
|
+
}
|
|
1879
|
+
export declare function invocationsWsProtocolConfigurationSerializer(_item: InvocationsWsProtocolConfiguration): any;
|
|
1880
|
+
export declare function invocationsWsProtocolConfigurationDeserializer(item: any): InvocationsWsProtocolConfiguration;
|
|
1972
1881
|
export declare function agentEndpointAuthorizationSchemeUnionArraySerializer(result: Array<AgentEndpointAuthorizationSchemeUnion>): any[];
|
|
1973
1882
|
export declare function agentEndpointAuthorizationSchemeUnionArrayDeserializer(result: Array<AgentEndpointAuthorizationSchemeUnion>): any[];
|
|
1974
1883
|
/** model interface AgentEndpointAuthorizationScheme */
|
|
@@ -1978,43 +1887,17 @@ export interface AgentEndpointAuthorizationScheme {
|
|
|
1978
1887
|
export declare function agentEndpointAuthorizationSchemeSerializer(item: AgentEndpointAuthorizationScheme): any;
|
|
1979
1888
|
export declare function agentEndpointAuthorizationSchemeDeserializer(item: any): AgentEndpointAuthorizationScheme;
|
|
1980
1889
|
/** Alias for AgentEndpointAuthorizationSchemeUnion */
|
|
1981
|
-
export type AgentEndpointAuthorizationSchemeUnion = EntraAuthorizationScheme | BotServiceAuthorizationScheme | BotServiceRbacAuthorizationScheme | AgentEndpointAuthorizationScheme;
|
|
1890
|
+
export type AgentEndpointAuthorizationSchemeUnion = EntraAuthorizationScheme | BotServiceAuthorizationScheme | BotServiceRbacAuthorizationScheme | BotServiceTenantAuthorizationScheme | AgentEndpointAuthorizationScheme;
|
|
1982
1891
|
export declare function agentEndpointAuthorizationSchemeUnionSerializer(item: AgentEndpointAuthorizationSchemeUnion): any;
|
|
1983
1892
|
export declare function agentEndpointAuthorizationSchemeUnionDeserializer(item: any): AgentEndpointAuthorizationSchemeUnion;
|
|
1984
1893
|
/** Type of AgentEndpointAuthorizationSchemeType */
|
|
1985
|
-
export type AgentEndpointAuthorizationSchemeType = "Entra" | "BotService" | "BotServiceRbac";
|
|
1894
|
+
export type AgentEndpointAuthorizationSchemeType = "Entra" | "BotService" | "BotServiceRbac" | "BotServiceTenant";
|
|
1986
1895
|
/** model interface EntraAuthorizationScheme */
|
|
1987
1896
|
export interface EntraAuthorizationScheme extends AgentEndpointAuthorizationScheme {
|
|
1988
1897
|
type: "Entra";
|
|
1989
|
-
/** The source from which the per-user isolation key is derived for requests authorized via this scheme. Defaults to Entra-based isolation when omitted. */
|
|
1990
|
-
isolation_key_source?: IsolationKeySourceUnion;
|
|
1991
1898
|
}
|
|
1992
1899
|
export declare function entraAuthorizationSchemeSerializer(item: EntraAuthorizationScheme): any;
|
|
1993
1900
|
export declare function entraAuthorizationSchemeDeserializer(item: any): EntraAuthorizationScheme;
|
|
1994
|
-
/** model interface IsolationKeySource */
|
|
1995
|
-
export interface IsolationKeySource {
|
|
1996
|
-
kind: IsolationKeySourceKind;
|
|
1997
|
-
}
|
|
1998
|
-
export declare function isolationKeySourceSerializer(item: IsolationKeySource): any;
|
|
1999
|
-
export declare function isolationKeySourceDeserializer(item: any): IsolationKeySource;
|
|
2000
|
-
/** Alias for IsolationKeySourceUnion */
|
|
2001
|
-
export type IsolationKeySourceUnion = EntraIsolationKeySource | HeaderIsolationKeySource | IsolationKeySource;
|
|
2002
|
-
export declare function isolationKeySourceUnionSerializer(item: IsolationKeySourceUnion): any;
|
|
2003
|
-
export declare function isolationKeySourceUnionDeserializer(item: any): IsolationKeySourceUnion;
|
|
2004
|
-
/** Type of IsolationKeySourceKind */
|
|
2005
|
-
export type IsolationKeySourceKind = "Entra" | "Header";
|
|
2006
|
-
/** model interface EntraIsolationKeySource */
|
|
2007
|
-
export interface EntraIsolationKeySource extends IsolationKeySource {
|
|
2008
|
-
kind: "Entra";
|
|
2009
|
-
}
|
|
2010
|
-
export declare function entraIsolationKeySourceSerializer(item: EntraIsolationKeySource): any;
|
|
2011
|
-
export declare function entraIsolationKeySourceDeserializer(item: any): EntraIsolationKeySource;
|
|
2012
|
-
/** model interface HeaderIsolationKeySource */
|
|
2013
|
-
export interface HeaderIsolationKeySource extends IsolationKeySource {
|
|
2014
|
-
kind: "Header";
|
|
2015
|
-
}
|
|
2016
|
-
export declare function headerIsolationKeySourceSerializer(item: HeaderIsolationKeySource): any;
|
|
2017
|
-
export declare function headerIsolationKeySourceDeserializer(item: any): HeaderIsolationKeySource;
|
|
2018
1901
|
/** model interface BotServiceAuthorizationScheme */
|
|
2019
1902
|
export interface BotServiceAuthorizationScheme extends AgentEndpointAuthorizationScheme {
|
|
2020
1903
|
type: "BotService";
|
|
@@ -2027,6 +1910,12 @@ export interface BotServiceRbacAuthorizationScheme extends AgentEndpointAuthoriz
|
|
|
2027
1910
|
}
|
|
2028
1911
|
export declare function botServiceRbacAuthorizationSchemeSerializer(item: BotServiceRbacAuthorizationScheme): any;
|
|
2029
1912
|
export declare function botServiceRbacAuthorizationSchemeDeserializer(item: any): BotServiceRbacAuthorizationScheme;
|
|
1913
|
+
/** model interface BotServiceTenantAuthorizationScheme */
|
|
1914
|
+
export interface BotServiceTenantAuthorizationScheme extends AgentEndpointAuthorizationScheme {
|
|
1915
|
+
type: "BotServiceTenant";
|
|
1916
|
+
}
|
|
1917
|
+
export declare function botServiceTenantAuthorizationSchemeSerializer(item: BotServiceTenantAuthorizationScheme): any;
|
|
1918
|
+
export declare function botServiceTenantAuthorizationSchemeDeserializer(item: any): BotServiceTenantAuthorizationScheme;
|
|
2030
1919
|
/** model interface AgentCard */
|
|
2031
1920
|
export interface AgentCard {
|
|
2032
1921
|
/** The version of the agent card. */
|
|
@@ -2171,6 +2060,8 @@ export interface ContinuousEvaluationRuleAction extends EvaluationRuleAction {
|
|
|
2171
2060
|
evalId: string;
|
|
2172
2061
|
/** Maximum number of evaluation runs allowed per hour. */
|
|
2173
2062
|
maxHourlyRuns?: number;
|
|
2063
|
+
/** Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100. */
|
|
2064
|
+
samplingRate?: number;
|
|
2174
2065
|
}
|
|
2175
2066
|
export declare function continuousEvaluationRuleActionSerializer(item: ContinuousEvaluationRuleAction): any;
|
|
2176
2067
|
export declare function continuousEvaluationRuleActionDeserializer(item: any): ContinuousEvaluationRuleAction;
|
|
@@ -2699,204 +2590,279 @@ export interface SessionDirectoryEntry {
|
|
|
2699
2590
|
modified_time: Date;
|
|
2700
2591
|
}
|
|
2701
2592
|
export declare function sessionDirectoryEntryDeserializer(item: any): SessionDirectoryEntry;
|
|
2702
|
-
|
|
2703
|
-
export
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
/**
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2593
|
+
export declare function toolboxToolUnionArraySerializer(result: Array<ToolboxToolUnion>): any[];
|
|
2594
|
+
export declare function toolboxToolUnionArrayDeserializer(result: Array<ToolboxToolUnion>): any[];
|
|
2595
|
+
/** An abstract representation of a tool stored in a toolbox. */
|
|
2596
|
+
export interface ToolboxTool {
|
|
2597
|
+
/** The type of tool. */
|
|
2598
|
+
/** The discriminator possible values: code_interpreter, file_search, web_search, mcp, azure_ai_search, openapi, a2a_preview, browser_automation_preview, reminder_preview, work_iq_preview, fabric_iq_preview, toolbox_search_preview */
|
|
2599
|
+
type: ToolboxToolType;
|
|
2600
|
+
/** Optional user-defined name for this tool or configuration. */
|
|
2601
|
+
name?: string;
|
|
2602
|
+
/** Optional user-defined description for this tool or configuration. */
|
|
2603
|
+
description?: string;
|
|
2604
|
+
/**
|
|
2605
|
+
* Per-tool configuration map. Keys are tool names or `*` (catch-all default).
|
|
2606
|
+
* Resolution order: exact tool name match takes priority over `*`.
|
|
2607
|
+
* Unknown tool names are silently ignored at runtime.
|
|
2608
|
+
*/
|
|
2609
|
+
tool_configs?: Record<string, ToolConfig>;
|
|
2714
2610
|
}
|
|
2715
|
-
export declare function
|
|
2716
|
-
export declare function
|
|
2717
|
-
/**
|
|
2718
|
-
export
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2611
|
+
export declare function toolboxToolSerializer(item: ToolboxTool): any;
|
|
2612
|
+
export declare function toolboxToolDeserializer(item: any): ToolboxTool;
|
|
2613
|
+
/** Alias for ToolboxToolUnion */
|
|
2614
|
+
export type ToolboxToolUnion = CodeInterpreterToolboxTool | FileSearchToolboxTool | WebSearchToolboxTool | MCPToolboxTool | AzureAISearchToolboxTool | OpenApiToolboxTool | A2APreviewToolboxTool | BrowserAutomationPreviewToolboxTool | ReminderPreviewToolboxTool | WorkIQPreviewToolboxTool | FabricIQPreviewToolboxTool | ToolboxSearchPreviewToolboxTool | ToolboxTool;
|
|
2615
|
+
export declare function toolboxToolUnionSerializer(item: ToolboxToolUnion): any;
|
|
2616
|
+
export declare function toolboxToolUnionDeserializer(item: any): ToolboxToolUnion;
|
|
2617
|
+
/** Supported tool types for tools stored in a toolbox. */
|
|
2618
|
+
export type ToolboxToolType = "code_interpreter" | "file_search" | "web_search" | "mcp" | "azure_ai_search" | "openapi" | "a2a_preview" | "browser_automation_preview" | "reminder_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview";
|
|
2619
|
+
/** A code interpreter tool stored in a toolbox. */
|
|
2620
|
+
export interface CodeInterpreterToolboxTool extends ToolboxTool {
|
|
2621
|
+
type: "code_interpreter";
|
|
2622
|
+
/**
|
|
2623
|
+
* The code interpreter container. Can be a container ID or an object that
|
|
2624
|
+
* specifies uploaded file IDs to make available to your code, along with an
|
|
2625
|
+
* optional `memory_limit` setting.
|
|
2626
|
+
* If not provided, the service assumes auto.
|
|
2627
|
+
*/
|
|
2628
|
+
container?: string | AutoCodeInterpreterToolParam;
|
|
2723
2629
|
}
|
|
2724
|
-
export declare function
|
|
2725
|
-
export declare function
|
|
2726
|
-
/**
|
|
2727
|
-
export interface
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2630
|
+
export declare function codeInterpreterToolboxToolSerializer(item: CodeInterpreterToolboxTool): any;
|
|
2631
|
+
export declare function codeInterpreterToolboxToolDeserializer(item: any): CodeInterpreterToolboxTool;
|
|
2632
|
+
/** A file search tool stored in a toolbox. */
|
|
2633
|
+
export interface FileSearchToolboxTool extends ToolboxTool {
|
|
2634
|
+
type: "file_search";
|
|
2635
|
+
/** The maximum number of results to return. This number should be between 1 and 50 inclusive. */
|
|
2636
|
+
max_num_results?: number;
|
|
2637
|
+
/** Ranking options for search. */
|
|
2638
|
+
ranking_options?: RankingOptions;
|
|
2639
|
+
filters?: Filters;
|
|
2640
|
+
/** The IDs of the vector stores to search. */
|
|
2641
|
+
vector_store_ids?: string[];
|
|
2732
2642
|
}
|
|
2733
|
-
export declare function
|
|
2734
|
-
export declare function
|
|
2735
|
-
/**
|
|
2736
|
-
export interface
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2643
|
+
export declare function fileSearchToolboxToolSerializer(item: FileSearchToolboxTool): any;
|
|
2644
|
+
export declare function fileSearchToolboxToolDeserializer(item: any): FileSearchToolboxTool;
|
|
2645
|
+
/** A web search tool stored in a toolbox. */
|
|
2646
|
+
export interface WebSearchToolboxTool extends ToolboxTool {
|
|
2647
|
+
type: "web_search";
|
|
2648
|
+
filters?: WebSearchToolFilters;
|
|
2649
|
+
user_location?: WebSearchApproximateLocation;
|
|
2650
|
+
/** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
|
|
2651
|
+
search_context_size?: "low" | "medium" | "high";
|
|
2652
|
+
/**
|
|
2653
|
+
* The project connections attached to this tool. There can be a maximum of 1 connection
|
|
2654
|
+
* resource attached to the tool.
|
|
2655
|
+
*/
|
|
2656
|
+
custom_search_configuration?: WebSearchConfiguration;
|
|
2747
2657
|
}
|
|
2748
|
-
export declare function
|
|
2749
|
-
export declare function
|
|
2750
|
-
/**
|
|
2751
|
-
export
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
/**
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2658
|
+
export declare function webSearchToolboxToolSerializer(item: WebSearchToolboxTool): any;
|
|
2659
|
+
export declare function webSearchToolboxToolDeserializer(item: any): WebSearchToolboxTool;
|
|
2660
|
+
/** An MCP tool stored in a toolbox. */
|
|
2661
|
+
export interface MCPToolboxTool extends ToolboxTool {
|
|
2662
|
+
type: "mcp";
|
|
2663
|
+
/** A label for this MCP server, used to identify it in tool calls. */
|
|
2664
|
+
server_label: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* The URL for the MCP server. One of `server_url`, `connector_id`, or
|
|
2667
|
+
* `tunnel_id` must be provided.
|
|
2668
|
+
*/
|
|
2669
|
+
server_url?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* Identifier for service connectors, like those available in ChatGPT. One of
|
|
2672
|
+
* `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
|
|
2673
|
+
* about service connectors [here](/docs/guides/tools-remote-mcp#connectors).
|
|
2674
|
+
* Currently supported `connector_id` values are:
|
|
2675
|
+
* - Dropbox: `connector_dropbox`
|
|
2676
|
+
* - Gmail: `connector_gmail`
|
|
2677
|
+
* - Google Calendar: `connector_googlecalendar`
|
|
2678
|
+
* - Google Drive: `connector_googledrive`
|
|
2679
|
+
* - Microsoft Teams: `connector_microsoftteams`
|
|
2680
|
+
* - Outlook Calendar: `connector_outlookcalendar`
|
|
2681
|
+
* - Outlook Email: `connector_outlookemail`
|
|
2682
|
+
* - SharePoint: `connector_sharepoint`
|
|
2683
|
+
*/
|
|
2684
|
+
connector_id?: "connector_dropbox" | "connector_gmail" | "connector_googlecalendar" | "connector_googledrive" | "connector_microsoftteams" | "connector_outlookcalendar" | "connector_outlookemail" | "connector_sharepoint";
|
|
2685
|
+
/**
|
|
2686
|
+
* The Secure MCP Tunnel ID to use instead of a direct server URL. One of
|
|
2687
|
+
* `server_url`, `connector_id`, or `tunnel_id` must be provided.
|
|
2688
|
+
*/
|
|
2689
|
+
tunnel_id?: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* An OAuth access token that can be used with a remote MCP server, either
|
|
2692
|
+
* with a custom MCP server URL or a service connector. Your application
|
|
2693
|
+
* must handle the OAuth authorization flow and provide the token here.
|
|
2694
|
+
*/
|
|
2695
|
+
authorization?: string;
|
|
2696
|
+
/** Optional description of the MCP server, used to provide more context. */
|
|
2697
|
+
server_description?: string;
|
|
2698
|
+
headers?: Record<string, string>;
|
|
2699
|
+
allowed_tools?: string[] | MCPToolFilter;
|
|
2700
|
+
require_approval?: MCPToolRequireApproval | "always" | "never";
|
|
2701
|
+
/** Whether this MCP tool is deferred and discovered via tool search. */
|
|
2702
|
+
defer_loading?: boolean;
|
|
2703
|
+
/** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
|
|
2704
|
+
project_connection_id?: string;
|
|
2772
2705
|
}
|
|
2773
|
-
export declare function
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
/**
|
|
2779
|
-
|
|
2780
|
-
/** The highest-scoring candidate found during optimization. */
|
|
2781
|
-
best?: OptimizationCandidate;
|
|
2782
|
-
/** All evaluated candidates including baseline. */
|
|
2783
|
-
candidates?: OptimizationCandidate[];
|
|
2784
|
-
/** The options used for this optimization run. */
|
|
2785
|
-
options?: OptimizationOptions;
|
|
2786
|
-
/** Non-fatal warnings from the optimization run (e.g., target attribute failures that were skipped). */
|
|
2787
|
-
warnings?: string[];
|
|
2788
|
-
/** True when all target attributes failed — only the baseline was evaluated. */
|
|
2789
|
-
all_target_attributes_failed?: boolean;
|
|
2706
|
+
export declare function mcpToolboxToolSerializer(item: MCPToolboxTool): any;
|
|
2707
|
+
export declare function mcpToolboxToolDeserializer(item: any): MCPToolboxTool;
|
|
2708
|
+
/** An Azure AI Search tool stored in a toolbox. */
|
|
2709
|
+
export interface AzureAISearchToolboxTool extends ToolboxTool {
|
|
2710
|
+
type: "azure_ai_search";
|
|
2711
|
+
/** The azure ai search index resource. */
|
|
2712
|
+
azure_ai_search: AzureAISearchToolResource;
|
|
2790
2713
|
}
|
|
2791
|
-
export declare function
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
/**
|
|
2797
|
-
|
|
2798
|
-
/** The agent configuration that produced this candidate. */
|
|
2799
|
-
config: OptimizationAgentDefinition;
|
|
2800
|
-
/** What was mutated from the baseline (e.g., {system_prompt: 'new prompt'}). */
|
|
2801
|
-
mutations: Record<string, any>;
|
|
2802
|
-
/** Average composite score across all tasks. */
|
|
2803
|
-
avg_score: number;
|
|
2804
|
-
/** Average token usage across all tasks. */
|
|
2805
|
-
avg_tokens: number;
|
|
2806
|
-
/** Fraction of tasks that met the pass threshold. */
|
|
2807
|
-
pass_rate: number;
|
|
2808
|
-
/** Individual task-level scores. */
|
|
2809
|
-
task_scores: OptimizationTaskResult[];
|
|
2810
|
-
/** Whether this candidate is on the Pareto frontier (score vs cost). */
|
|
2811
|
-
is_pareto_optimal: boolean;
|
|
2812
|
-
/** Foundry evaluation identifier used to score this candidate. */
|
|
2813
|
-
eval_id?: string;
|
|
2814
|
-
/** Foundry evaluation run identifier for this candidate's scoring run. */
|
|
2815
|
-
eval_run_id?: string;
|
|
2816
|
-
/** Promotion metadata. Null if the candidate has not been promoted. */
|
|
2817
|
-
promotion?: PromotionInfo;
|
|
2714
|
+
export declare function azureAISearchToolboxToolSerializer(item: AzureAISearchToolboxTool): any;
|
|
2715
|
+
export declare function azureAISearchToolboxToolDeserializer(item: any): AzureAISearchToolboxTool;
|
|
2716
|
+
/** An OpenAPI tool stored in a toolbox. */
|
|
2717
|
+
export interface OpenApiToolboxTool extends ToolboxTool {
|
|
2718
|
+
type: "openapi";
|
|
2719
|
+
/** The openapi function definition. */
|
|
2720
|
+
openapi: OpenApiFunctionDefinition;
|
|
2818
2721
|
}
|
|
2819
|
-
export declare function
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
/**
|
|
2825
|
-
|
|
2826
|
-
/**
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
query?: string;
|
|
2843
|
-
/** Per-evaluator scores keyed by evaluator name. */
|
|
2844
|
-
scores: Record<string, number>;
|
|
2845
|
-
/** Composite score combining all evaluator scores. */
|
|
2846
|
-
composite_score: number;
|
|
2847
|
-
/** Total tokens consumed during the agent run for this task. */
|
|
2848
|
-
tokens: number;
|
|
2849
|
-
/** Wall-clock seconds for this task's agent execution. */
|
|
2850
|
-
duration_seconds: number;
|
|
2851
|
-
/** Whether the task met the pass threshold. */
|
|
2852
|
-
passed: boolean;
|
|
2853
|
-
/** Error message if the task failed during execution. */
|
|
2854
|
-
error_message?: string;
|
|
2855
|
-
/** Per-evaluator reasoning keyed by evaluator name. */
|
|
2856
|
-
rationales?: Record<string, string>;
|
|
2857
|
-
/** Raw agent response text. */
|
|
2858
|
-
response?: string;
|
|
2859
|
-
/** Identifier of the agent run that produced this result. */
|
|
2860
|
-
run_id?: string;
|
|
2861
|
-
}
|
|
2862
|
-
export declare function optimizationTaskResultDeserializer(item: any): OptimizationTaskResult;
|
|
2863
|
-
/** Promotion metadata recorded when a candidate is deployed to a Foundry agent. */
|
|
2864
|
-
export interface PromotionInfo {
|
|
2865
|
-
/** Timestamp when promotion occurred, represented in Unix time. */
|
|
2866
|
-
promoted_at: Date;
|
|
2867
|
-
/** Name of the Foundry agent this candidate was promoted to. */
|
|
2868
|
-
agent_name: string;
|
|
2869
|
-
/** Version of the Foundry agent this candidate was promoted to. */
|
|
2870
|
-
agent_version: string;
|
|
2722
|
+
export declare function openApiToolboxToolSerializer(item: OpenApiToolboxTool): any;
|
|
2723
|
+
export declare function openApiToolboxToolDeserializer(item: any): OpenApiToolboxTool;
|
|
2724
|
+
/** An A2A tool stored in a toolbox. */
|
|
2725
|
+
export interface A2APreviewToolboxTool extends ToolboxTool {
|
|
2726
|
+
type: "a2a_preview";
|
|
2727
|
+
/** Base URL of the agent. */
|
|
2728
|
+
base_url?: string;
|
|
2729
|
+
/**
|
|
2730
|
+
* The path to the agent card relative to the `base_url`.
|
|
2731
|
+
* If not provided, defaults to `/.well-known/agent-card.json`
|
|
2732
|
+
*/
|
|
2733
|
+
agent_card_path?: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* The connection ID in the project for the A2A server.
|
|
2736
|
+
* The connection stores authentication and other connection details needed to connect to the A2A server.
|
|
2737
|
+
*/
|
|
2738
|
+
project_connection_id?: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* When `true`, Foundry sends its credentials when fetching the remote
|
|
2741
|
+
* agent's Agent Card. The service defaults to `false` if a value is not
|
|
2742
|
+
* specified by the caller (anonymous fetch).
|
|
2743
|
+
*/
|
|
2744
|
+
send_credentials_for_agent_card?: boolean;
|
|
2871
2745
|
}
|
|
2872
|
-
export declare function
|
|
2873
|
-
export declare function
|
|
2874
|
-
/**
|
|
2875
|
-
export interface
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
best_score: number;
|
|
2880
|
-
/** Wall-clock time elapsed in seconds since the job began executing. */
|
|
2881
|
-
elapsed_seconds: number;
|
|
2746
|
+
export declare function a2APreviewToolboxToolSerializer(item: A2APreviewToolboxTool): any;
|
|
2747
|
+
export declare function a2APreviewToolboxToolDeserializer(item: any): A2APreviewToolboxTool;
|
|
2748
|
+
/** A browser automation tool stored in a toolbox. */
|
|
2749
|
+
export interface BrowserAutomationPreviewToolboxTool extends ToolboxTool {
|
|
2750
|
+
type: "browser_automation_preview";
|
|
2751
|
+
/** The Browser Automation Tool parameters. */
|
|
2752
|
+
browser_automation_preview: BrowserAutomationToolParameters;
|
|
2882
2753
|
}
|
|
2883
|
-
export declare function
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2754
|
+
export declare function browserAutomationPreviewToolboxToolSerializer(item: BrowserAutomationPreviewToolboxTool): any;
|
|
2755
|
+
export declare function browserAutomationPreviewToolboxToolDeserializer(item: any): BrowserAutomationPreviewToolboxTool;
|
|
2756
|
+
/** A reminder tool stored in a toolbox. */
|
|
2757
|
+
export interface ReminderPreviewToolboxTool extends ToolboxTool {
|
|
2758
|
+
type: "reminder_preview";
|
|
2759
|
+
}
|
|
2760
|
+
export declare function reminderPreviewToolboxToolSerializer(item: ReminderPreviewToolboxTool): any;
|
|
2761
|
+
export declare function reminderPreviewToolboxToolDeserializer(item: any): ReminderPreviewToolboxTool;
|
|
2762
|
+
/** A WorkIQ tool stored in a toolbox. */
|
|
2763
|
+
export interface WorkIQPreviewToolboxTool extends ToolboxTool {
|
|
2764
|
+
type: "work_iq_preview";
|
|
2765
|
+
/** The ID of the WorkIQ project connection. */
|
|
2766
|
+
project_connection_id: string;
|
|
2767
|
+
}
|
|
2768
|
+
export declare function workIQPreviewToolboxToolSerializer(item: WorkIQPreviewToolboxTool): any;
|
|
2769
|
+
export declare function workIQPreviewToolboxToolDeserializer(item: any): WorkIQPreviewToolboxTool;
|
|
2770
|
+
/** A FabricIQ tool stored in a toolbox. */
|
|
2771
|
+
export interface FabricIQPreviewToolboxTool extends ToolboxTool {
|
|
2772
|
+
type: "fabric_iq_preview";
|
|
2773
|
+
/** The ID of the FabricIQ project connection. */
|
|
2774
|
+
project_connection_id: string;
|
|
2775
|
+
/** (Optional) The label of the FabricIQ MCP server to connect to. */
|
|
2776
|
+
server_label?: string;
|
|
2777
|
+
/** (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the project connection will be used. */
|
|
2778
|
+
server_url?: string;
|
|
2779
|
+
/** (Optional) Whether the agent requires approval before executing actions. Default is always. */
|
|
2780
|
+
require_approval?: MCPToolRequireApproval | string;
|
|
2781
|
+
}
|
|
2782
|
+
export declare function fabricIQPreviewToolboxToolSerializer(item: FabricIQPreviewToolboxTool): any;
|
|
2783
|
+
export declare function fabricIQPreviewToolboxToolDeserializer(item: any): FabricIQPreviewToolboxTool;
|
|
2784
|
+
/** A toolbox search tool stored in a toolbox. */
|
|
2785
|
+
export interface ToolboxSearchPreviewToolboxTool extends ToolboxTool {
|
|
2786
|
+
/** The type of the tool. Always `toolbox_search_preview`. */
|
|
2787
|
+
type: "toolbox_search_preview";
|
|
2788
|
+
}
|
|
2789
|
+
export declare function toolboxSearchPreviewToolboxToolSerializer(item: ToolboxSearchPreviewToolboxTool): any;
|
|
2790
|
+
export declare function toolboxSearchPreviewToolboxToolDeserializer(item: any): ToolboxSearchPreviewToolboxTool;
|
|
2791
|
+
export declare function toolboxSkillUnionArraySerializer(result: Array<ToolboxSkillUnion>): any[];
|
|
2792
|
+
export declare function toolboxSkillUnionArrayDeserializer(result: Array<ToolboxSkillUnion>): any[];
|
|
2793
|
+
/** A skill source included in a toolbox. */
|
|
2794
|
+
export interface ToolboxSkill {
|
|
2795
|
+
/** The type of skill source. */
|
|
2796
|
+
/** The discriminator possible values: skill_reference */
|
|
2797
|
+
type: string;
|
|
2798
|
+
}
|
|
2799
|
+
export declare function toolboxSkillSerializer(item: ToolboxSkill): any;
|
|
2800
|
+
export declare function toolboxSkillDeserializer(item: any): ToolboxSkill;
|
|
2801
|
+
/** Alias for ToolboxSkillUnion */
|
|
2802
|
+
export type ToolboxSkillUnion = ToolboxSkillReference | ToolboxSkill;
|
|
2803
|
+
export declare function toolboxSkillUnionSerializer(item: ToolboxSkillUnion): any;
|
|
2804
|
+
export declare function toolboxSkillUnionDeserializer(item: any): ToolboxSkillUnion;
|
|
2805
|
+
/** A reference to an existing skill to include in a toolbox. */
|
|
2806
|
+
export interface ToolboxSkillReference extends ToolboxSkill {
|
|
2807
|
+
/** The type of skill source. */
|
|
2808
|
+
type: "skill_reference";
|
|
2809
|
+
/** The name of the skill. */
|
|
2810
|
+
name: string;
|
|
2811
|
+
/** The version of the skill. If not specified, the skill's default version is used. When a version is specified, the reference is pinned to that immutable version. */
|
|
2889
2812
|
version?: string;
|
|
2890
|
-
/** Number of tasks/rows in the dataset. */
|
|
2891
|
-
task_count: number;
|
|
2892
|
-
/** True when the dataset was provided inline in the request body. */
|
|
2893
|
-
is_inline: boolean;
|
|
2894
2813
|
}
|
|
2895
|
-
export declare function
|
|
2814
|
+
export declare function toolboxSkillReferenceSerializer(item: ToolboxSkillReference): any;
|
|
2815
|
+
export declare function toolboxSkillReferenceDeserializer(item: any): ToolboxSkillReference;
|
|
2816
|
+
/** Policy configuration for a toolbox, including content safety and other governance settings. */
|
|
2817
|
+
export interface ToolboxPolicies {
|
|
2818
|
+
/** Responsible AI content filtering configuration. */
|
|
2819
|
+
rai_config?: RaiConfig;
|
|
2820
|
+
}
|
|
2821
|
+
export declare function toolboxPoliciesSerializer(item: ToolboxPolicies): any;
|
|
2822
|
+
export declare function toolboxPoliciesDeserializer(item: any): ToolboxPolicies;
|
|
2823
|
+
/** A specific version of a toolbox. */
|
|
2824
|
+
export interface ToolboxVersionObject {
|
|
2825
|
+
/**
|
|
2826
|
+
* Set of 16 key-value pairs that can be attached to an object. This can be
|
|
2827
|
+
* useful for storing additional information about the object in a structured
|
|
2828
|
+
* format, and querying for objects via API or the dashboard.
|
|
2829
|
+
*
|
|
2830
|
+
* Keys are strings with a maximum length of 64 characters. Values are strings
|
|
2831
|
+
* with a maximum length of 512 characters.
|
|
2832
|
+
*/
|
|
2833
|
+
metadata: Record<string, string> | null;
|
|
2834
|
+
/** The unique identifier of the toolbox version. */
|
|
2835
|
+
id: string;
|
|
2836
|
+
/** The name of the toolbox. */
|
|
2837
|
+
name: string;
|
|
2838
|
+
/** The version identifier of the toolbox. Toolbox versions are immutable and every update creates a new version. */
|
|
2839
|
+
version: string;
|
|
2840
|
+
/** A human-readable description of the toolbox. */
|
|
2841
|
+
description?: string;
|
|
2842
|
+
/** The Unix timestamp (seconds) when the toolbox version was created. */
|
|
2843
|
+
created_at: Date;
|
|
2844
|
+
/** The list of tools contained in this toolbox version. */
|
|
2845
|
+
tools: ToolboxToolUnion[];
|
|
2846
|
+
/** The list of skill sources included in this toolbox version. */
|
|
2847
|
+
skills?: ToolboxSkillUnion[];
|
|
2848
|
+
/** Policy configuration for the toolbox version. */
|
|
2849
|
+
policies?: ToolboxPolicies;
|
|
2850
|
+
}
|
|
2851
|
+
export declare function toolboxVersionObjectDeserializer(item: any): ToolboxVersionObject;
|
|
2852
|
+
/** A toolbox that stores reusable tool definitions for agents. */
|
|
2853
|
+
export interface ToolboxObject {
|
|
2854
|
+
/** The unique identifier of the toolbox. */
|
|
2855
|
+
id: string;
|
|
2856
|
+
/** The name of the toolbox. */
|
|
2857
|
+
name: string;
|
|
2858
|
+
/** The version identifier that the toolbox currently points to. Defaults to the latest version. Can be changed via updateToolbox. */
|
|
2859
|
+
default_version: string;
|
|
2860
|
+
}
|
|
2861
|
+
export declare function toolboxObjectDeserializer(item: any): ToolboxObject;
|
|
2896
2862
|
/** The response data for a requested list of items. */
|
|
2897
|
-
export interface
|
|
2863
|
+
export interface _AgentsPagedResultToolboxObject {
|
|
2898
2864
|
/** The requested list of items. */
|
|
2899
|
-
data:
|
|
2865
|
+
data: ToolboxObject[];
|
|
2900
2866
|
/** The first ID represented in this list. */
|
|
2901
2867
|
first_id?: string;
|
|
2902
2868
|
/** The last ID represented in this list. */
|
|
@@ -2904,12 +2870,12 @@ export interface _AgentsPagedResultOptimizationJob {
|
|
|
2904
2870
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
2905
2871
|
has_more: boolean;
|
|
2906
2872
|
}
|
|
2907
|
-
export declare function
|
|
2908
|
-
export declare function
|
|
2873
|
+
export declare function _agentsPagedResultToolboxObjectDeserializer(item: any): _AgentsPagedResultToolboxObject;
|
|
2874
|
+
export declare function toolboxObjectArrayDeserializer(result: Array<ToolboxObject>): any[];
|
|
2909
2875
|
/** The response data for a requested list of items. */
|
|
2910
|
-
export interface
|
|
2876
|
+
export interface _AgentsPagedResultToolboxVersionObject {
|
|
2911
2877
|
/** The requested list of items. */
|
|
2912
|
-
data:
|
|
2878
|
+
data: ToolboxVersionObject[];
|
|
2913
2879
|
/** The first ID represented in this list. */
|
|
2914
2880
|
first_id?: string;
|
|
2915
2881
|
/** The last ID represented in this list. */
|
|
@@ -2917,86 +2883,8 @@ export interface AgentsPagedResultOptimizationCandidate {
|
|
|
2917
2883
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
2918
2884
|
has_more: boolean;
|
|
2919
2885
|
}
|
|
2920
|
-
export declare function
|
|
2921
|
-
|
|
2922
|
-
export interface CandidateMetadata {
|
|
2923
|
-
/** Server-assigned candidate identifier. */
|
|
2924
|
-
candidate_id: string;
|
|
2925
|
-
/** Owning optimization job id. */
|
|
2926
|
-
job_id: string;
|
|
2927
|
-
/** Display name of the candidate. */
|
|
2928
|
-
candidate_name: string;
|
|
2929
|
-
/** Candidate lifecycle status. */
|
|
2930
|
-
status: string;
|
|
2931
|
-
/** Candidate's aggregate score. */
|
|
2932
|
-
score?: number;
|
|
2933
|
-
/** Whether detailed results are available for this candidate. */
|
|
2934
|
-
has_results: boolean;
|
|
2935
|
-
/** Timestamp when the candidate was created, represented in Unix time. */
|
|
2936
|
-
created_at: Date;
|
|
2937
|
-
/** Timestamp when the candidate was last updated, represented in Unix time. */
|
|
2938
|
-
updated_at: Date;
|
|
2939
|
-
/** Promotion metadata. Null if not promoted. */
|
|
2940
|
-
promotion?: PromotionInfo;
|
|
2941
|
-
/** Files in the candidate's blob directory. */
|
|
2942
|
-
files: CandidateFileInfo[];
|
|
2943
|
-
}
|
|
2944
|
-
export declare function candidateMetadataDeserializer(item: any): CandidateMetadata;
|
|
2945
|
-
export declare function candidateFileInfoArrayDeserializer(result: Array<CandidateFileInfo>): any[];
|
|
2946
|
-
/** File entry in a candidate's blob directory. */
|
|
2947
|
-
export interface CandidateFileInfo {
|
|
2948
|
-
/** Relative path of the file. */
|
|
2949
|
-
path: string;
|
|
2950
|
-
/** File type category (e.g. 'config', 'results'). */
|
|
2951
|
-
type: string;
|
|
2952
|
-
/** File size in bytes. */
|
|
2953
|
-
size_bytes: number;
|
|
2954
|
-
}
|
|
2955
|
-
export declare function candidateFileInfoDeserializer(item: any): CandidateFileInfo;
|
|
2956
|
-
/** Deploy-config blob for a candidate. Suitable for setting OPTIMIZATION_CONFIG on a hosted-agent version. */
|
|
2957
|
-
export interface CandidateDeployConfig {
|
|
2958
|
-
/** System prompt / instructions. */
|
|
2959
|
-
instructions?: string;
|
|
2960
|
-
/** Foundry deployment name. */
|
|
2961
|
-
model?: string;
|
|
2962
|
-
/** Optional sampling temperature. */
|
|
2963
|
-
temperature?: number;
|
|
2964
|
-
/** Optional skill overrides. */
|
|
2965
|
-
skills?: Record<string, any>[];
|
|
2966
|
-
/** Optional tool overrides. */
|
|
2967
|
-
tools?: Record<string, any>[];
|
|
2968
|
-
}
|
|
2969
|
-
export declare function candidateDeployConfigDeserializer(item: any): CandidateDeployConfig;
|
|
2970
|
-
/** Full per-task evaluation results for a candidate, returned by GET /candidates/{id}/results. */
|
|
2971
|
-
export interface CandidateResults {
|
|
2972
|
-
/** Owning candidate id. */
|
|
2973
|
-
candidate_id: string;
|
|
2974
|
-
/** Per-task evaluation rows. */
|
|
2975
|
-
results: OptimizationTaskResult[];
|
|
2976
|
-
}
|
|
2977
|
-
export declare function candidateResultsDeserializer(item: any): CandidateResults;
|
|
2978
|
-
/** Request body for promoting a candidate to a Foundry agent version. */
|
|
2979
|
-
export interface PromoteCandidateRequest {
|
|
2980
|
-
/** Name of the Foundry agent to promote to. */
|
|
2981
|
-
agent_name: string;
|
|
2982
|
-
/** Version of the Foundry agent to promote to. */
|
|
2983
|
-
agent_version: string;
|
|
2984
|
-
}
|
|
2985
|
-
export declare function promoteCandidateRequestSerializer(item: PromoteCandidateRequest): any;
|
|
2986
|
-
/** Response after successfully promoting a candidate. */
|
|
2987
|
-
export interface PromoteCandidateResponse {
|
|
2988
|
-
/** The promoted candidate id. */
|
|
2989
|
-
candidate_id: string;
|
|
2990
|
-
/** Status after promotion. */
|
|
2991
|
-
status: string;
|
|
2992
|
-
/** Timestamp when promotion occurred, represented in Unix time. */
|
|
2993
|
-
promoted_at: Date;
|
|
2994
|
-
/** Name of the Foundry agent promoted to. */
|
|
2995
|
-
agent_name: string;
|
|
2996
|
-
/** Version of the Foundry agent promoted to. */
|
|
2997
|
-
agent_version: string;
|
|
2998
|
-
}
|
|
2999
|
-
export declare function promoteCandidateResponseDeserializer(item: any): PromoteCandidateResponse;
|
|
2886
|
+
export declare function _agentsPagedResultToolboxVersionObjectDeserializer(item: any): _AgentsPagedResultToolboxVersionObject;
|
|
2887
|
+
export declare function toolboxVersionObjectArrayDeserializer(result: Array<ToolboxVersionObject>): any[];
|
|
3000
2888
|
/** Evaluation Taxonomy Definition */
|
|
3001
2889
|
export interface EvaluationTaxonomy {
|
|
3002
2890
|
/** Asset ID, a unique identifier for the asset */
|
|
@@ -3172,6 +3060,8 @@ export interface EvaluatorVersion {
|
|
|
3172
3060
|
evaluator_type: EvaluatorType;
|
|
3173
3061
|
/** The categories of the evaluator */
|
|
3174
3062
|
categories: EvaluatorCategory[];
|
|
3063
|
+
/** Evaluation levels this evaluator supports (e.g., `turn`, `conversation`). When omitted on create, the service defaults to `["turn"]`. On update, omitting this field leaves it unchanged; an empty list is rejected. Custom code-based evaluators support only `turn`; custom prompt-based evaluators support exactly one level (`turn` or `conversation`). */
|
|
3064
|
+
supported_evaluation_levels?: EvaluationLevel[];
|
|
3175
3065
|
/** Definition of the evaluator */
|
|
3176
3066
|
definition: EvaluatorDefinitionUnion;
|
|
3177
3067
|
/** Provenance artifacts from the generation pipeline. Read-only; present only on evaluator versions created via an EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry Dataset. */
|
|
@@ -3199,10 +3089,12 @@ export declare function evaluatorVersionDeserializer(item: any): EvaluatorVersio
|
|
|
3199
3089
|
export type EvaluatorType = "builtin" | "custom";
|
|
3200
3090
|
/** The category of the evaluator */
|
|
3201
3091
|
export type EvaluatorCategory = "quality" | "safety" | "agents";
|
|
3092
|
+
/** The level at which evaluation is performed. */
|
|
3093
|
+
export type EvaluationLevel = "turn" | "conversation";
|
|
3202
3094
|
/** Base evaluator configuration with discriminator */
|
|
3203
3095
|
export interface EvaluatorDefinition {
|
|
3204
3096
|
/** The type of evaluator definition */
|
|
3205
|
-
/** The discriminator possible values: code, prompt, rubric */
|
|
3097
|
+
/** The discriminator possible values: code, prompt, rubric, endpoint */
|
|
3206
3098
|
type: EvaluatorDefinitionType;
|
|
3207
3099
|
/** The JSON schema (Draft 2020-12) for the evaluator's input parameters. This includes parameters like type, properties, required. */
|
|
3208
3100
|
init_parameters?: Record<string, unknown>;
|
|
@@ -3214,11 +3106,11 @@ export interface EvaluatorDefinition {
|
|
|
3214
3106
|
export declare function evaluatorDefinitionSerializer(item: EvaluatorDefinition): any;
|
|
3215
3107
|
export declare function evaluatorDefinitionDeserializer(item: any): EvaluatorDefinition;
|
|
3216
3108
|
/** Alias for EvaluatorDefinitionUnion */
|
|
3217
|
-
export type EvaluatorDefinitionUnion = CodeBasedEvaluatorDefinition | PromptBasedEvaluatorDefinition | RubricBasedEvaluatorDefinition | EvaluatorDefinition;
|
|
3109
|
+
export type EvaluatorDefinitionUnion = CodeBasedEvaluatorDefinition | PromptBasedEvaluatorDefinition | RubricBasedEvaluatorDefinition | EndpointBasedEvaluatorDefinition | EvaluatorDefinition;
|
|
3218
3110
|
export declare function evaluatorDefinitionUnionSerializer(item: EvaluatorDefinitionUnion): any;
|
|
3219
3111
|
export declare function evaluatorDefinitionUnionDeserializer(item: any): EvaluatorDefinitionUnion;
|
|
3220
3112
|
/** The type of evaluator definition */
|
|
3221
|
-
export type EvaluatorDefinitionType = "prompt" | "code" | "prompt_and_code" | "service" | "openai_graders" | "rubric";
|
|
3113
|
+
export type EvaluatorDefinitionType = "prompt" | "code" | "prompt_and_code" | "service" | "openai_graders" | "endpoint" | "rubric";
|
|
3222
3114
|
export declare function evaluatorMetricRecordSerializer(item: Record<string, EvaluatorMetric>): Record<string, any>;
|
|
3223
3115
|
export declare function evaluatorMetricRecordDeserializer(item: Record<string, any>): Record<string, EvaluatorMetric>;
|
|
3224
3116
|
/** Evaluator Metric */
|
|
@@ -3286,11 +3178,19 @@ export interface Dimension {
|
|
|
3286
3178
|
description: string;
|
|
3287
3179
|
/** Relative weight of this dimension (1-10). The generation pipeline assigns exactly one dimension weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. */
|
|
3288
3180
|
weight: number;
|
|
3289
|
-
/** When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. */
|
|
3181
|
+
/** When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. The service defaults to `false` if a value is not specified by the caller. */
|
|
3290
3182
|
always_applicable?: boolean;
|
|
3291
3183
|
}
|
|
3292
3184
|
export declare function dimensionSerializer(item: Dimension): any;
|
|
3293
3185
|
export declare function dimensionDeserializer(item: any): Dimension;
|
|
3186
|
+
/** Endpoint-based evaluator definition. The customer owns and hosts an HTTP endpoint that implements the evaluation contract. The evaluator references a Project Connection by name; the connection stores the endpoint URL and credentials (API Key or Entra ID). At execution time, the service resolves the connection to obtain the endpoint URL and authentication details, then calls the endpoint for each evaluation row. */
|
|
3187
|
+
export interface EndpointBasedEvaluatorDefinition extends EvaluatorDefinition {
|
|
3188
|
+
type: "endpoint";
|
|
3189
|
+
/** Name of the Project Connection that stores the endpoint URL and credentials. The connection must exist on the project and have a non-empty target URL. Supported auth types: ApiKey (sends `api-key` header) and AAD/Entra ID (acquires a bearer token via the project's Managed Identity). */
|
|
3190
|
+
connection_name: string;
|
|
3191
|
+
}
|
|
3192
|
+
export declare function endpointBasedEvaluatorDefinitionSerializer(item: EndpointBasedEvaluatorDefinition): any;
|
|
3193
|
+
export declare function endpointBasedEvaluatorDefinitionDeserializer(item: any): EndpointBasedEvaluatorDefinition;
|
|
3294
3194
|
/** Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a versioned dataset in a service-reserved namespace. */
|
|
3295
3195
|
export interface EvaluatorGenerationArtifacts {
|
|
3296
3196
|
/** Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). */
|
|
@@ -3421,6 +3321,8 @@ export interface DatasetEvaluatorGenerationJobSource extends EvaluatorGeneration
|
|
|
3421
3321
|
}
|
|
3422
3322
|
export declare function datasetEvaluatorGenerationJobSourceSerializer(item: DatasetEvaluatorGenerationJobSource): any;
|
|
3423
3323
|
export declare function datasetEvaluatorGenerationJobSourceDeserializer(item: any): DatasetEvaluatorGenerationJobSource;
|
|
3324
|
+
/** Extensible status values shared by Foundry jobs. */
|
|
3325
|
+
export type JobStatus = "queued" | "in_progress" | "succeeded" | "failed" | "cancelled";
|
|
3424
3326
|
/** Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. */
|
|
3425
3327
|
export interface EvaluatorGenerationTokenUsage {
|
|
3426
3328
|
/** Number of input (prompt) tokens consumed. */
|
|
@@ -3779,7 +3681,7 @@ export interface MemoryStoreDefaultOptions {
|
|
|
3779
3681
|
user_profile_details?: string;
|
|
3780
3682
|
/** Whether to enable chat summary extraction and storage. Defaults to `true`. */
|
|
3781
3683
|
chat_summary_enabled: boolean;
|
|
3782
|
-
/** Whether to enable procedural memory extraction and storage.
|
|
3684
|
+
/** Whether to enable procedural memory extraction and storage. The service defaults to `true` if a value is not specified by the caller. */
|
|
3783
3685
|
procedural_memory_enabled?: boolean;
|
|
3784
3686
|
/** The default time-to-live for memories in seconds. A value of `0` indicates that memories do not expire. Defaults to `0`. */
|
|
3785
3687
|
default_ttl_seconds?: number;
|
|
@@ -3908,7 +3810,6 @@ export interface ResponseUsageInputTokensDetails {
|
|
|
3908
3810
|
export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
|
|
3909
3811
|
/** model interface ResponseUsageOutputTokensDetails */
|
|
3910
3812
|
export interface ResponseUsageOutputTokensDetails {
|
|
3911
|
-
/** The number of output tokens used for reasoning. */
|
|
3912
3813
|
reasoning_tokens: number;
|
|
3913
3814
|
}
|
|
3914
3815
|
export declare function responseUsageOutputTokensDetailsDeserializer(item: any): ResponseUsageOutputTokensDetails;
|
|
@@ -3994,8 +3895,6 @@ export declare function modelVersionArraySerializer(result: Array<ModelVersion>)
|
|
|
3994
3895
|
export declare function modelVersionArrayDeserializer(result: Array<ModelVersion>): any[];
|
|
3995
3896
|
/** Model Version Definition */
|
|
3996
3897
|
export interface ModelVersion {
|
|
3997
|
-
/** System related metadata */
|
|
3998
|
-
readonly systemData?: SystemDataV3;
|
|
3999
3898
|
/** URI of the model artifact in blob storage */
|
|
4000
3899
|
blobUri: string;
|
|
4001
3900
|
/** The weight type of the model */
|
|
@@ -4023,18 +3922,6 @@ export interface ModelVersion {
|
|
|
4023
3922
|
}
|
|
4024
3923
|
export declare function modelVersionSerializer(item: ModelVersion): any;
|
|
4025
3924
|
export declare function modelVersionDeserializer(item: any): ModelVersion;
|
|
4026
|
-
/** System metadata for a resource */
|
|
4027
|
-
export interface SystemDataV3 {
|
|
4028
|
-
/** Timestamp of resource creation */
|
|
4029
|
-
createdAt?: Date;
|
|
4030
|
-
/** Identity that created the resource */
|
|
4031
|
-
createdBy?: string;
|
|
4032
|
-
/** Type of identity that created the resource */
|
|
4033
|
-
createdByType?: string;
|
|
4034
|
-
/** Timestamp of last resource modification */
|
|
4035
|
-
lastModifiedAt?: Date;
|
|
4036
|
-
}
|
|
4037
|
-
export declare function systemDataV3Deserializer(item: any): SystemDataV3;
|
|
4038
3925
|
/** The weight type of the model. */
|
|
4039
3926
|
export type FoundryModelWeightType = "FullWeight" | "LoRA" | "DraftModel";
|
|
4040
3927
|
/** Source information for the model */
|
|
@@ -4138,7 +4025,7 @@ export interface RedTeam {
|
|
|
4138
4025
|
numTurns?: number;
|
|
4139
4026
|
/** List of attack strategies or nested lists of attack strategies. */
|
|
4140
4027
|
attackStrategies?: AttackStrategy[];
|
|
4141
|
-
/** Simulation-only or Simulation + Evaluation.
|
|
4028
|
+
/** Simulation-only or Simulation + Evaluation. If `true` the scan outputs conversation not evaluation result. The service defaults to `false` if a value is not specified by the caller. */
|
|
4142
4029
|
simulationOnly?: boolean;
|
|
4143
4030
|
/** List of risk categories to generate attack objectives for. */
|
|
4144
4031
|
riskCategories?: RiskCategory[];
|
|
@@ -4193,7 +4080,7 @@ export declare function routineTriggerUnionRecordDeserializer(item: Record<strin
|
|
|
4193
4080
|
/** Base model for a routine trigger. */
|
|
4194
4081
|
export interface RoutineTrigger {
|
|
4195
4082
|
/** The trigger type. */
|
|
4196
|
-
/** The discriminator possible values: schedule, timer,
|
|
4083
|
+
/** The discriminator possible values: schedule, timer, github_issue, custom */
|
|
4197
4084
|
type: RoutineTriggerType;
|
|
4198
4085
|
}
|
|
4199
4086
|
export declare function routineTriggerSerializer(item: RoutineTrigger): any;
|
|
@@ -4301,15 +4188,15 @@ export declare function invokeAgentInvocationsApiRoutineActionDeserializer(item:
|
|
|
4301
4188
|
/** A routine definition returned by the service. */
|
|
4302
4189
|
export interface Routine {
|
|
4303
4190
|
/** The routine name. */
|
|
4304
|
-
name
|
|
4191
|
+
name?: string;
|
|
4305
4192
|
/** A human-readable description of the routine. */
|
|
4306
4193
|
description?: string;
|
|
4307
4194
|
/** Whether the routine is enabled. */
|
|
4308
4195
|
enabled: boolean;
|
|
4309
4196
|
/** The triggers configured for the routine. */
|
|
4310
|
-
triggers
|
|
4197
|
+
triggers?: Record<string, RoutineTriggerUnion>;
|
|
4311
4198
|
/** The action executed when the routine fires. */
|
|
4312
|
-
action
|
|
4199
|
+
action?: RoutineActionUnion;
|
|
4313
4200
|
/** The time when the routine was created. */
|
|
4314
4201
|
created_at?: Date;
|
|
4315
4202
|
/** The time when the routine was last updated. */
|
|
@@ -4347,13 +4234,15 @@ export interface RoutineRun {
|
|
|
4347
4234
|
/** The unique run identifier for the routine attempt. */
|
|
4348
4235
|
readonly id: string;
|
|
4349
4236
|
/** The run status. */
|
|
4350
|
-
status?:
|
|
4237
|
+
status?: RoutineRunStatus;
|
|
4351
4238
|
/** The AgentExtensions lifecycle phase for the routine attempt. */
|
|
4352
4239
|
phase?: RoutineRunPhase;
|
|
4353
4240
|
/** The trigger type that produced the routine attempt. */
|
|
4354
4241
|
trigger_type?: RoutineTriggerType;
|
|
4355
4242
|
/** The configured trigger name that produced the routine attempt. */
|
|
4356
4243
|
trigger_name?: string;
|
|
4244
|
+
/** The event payload captured from the event that triggered the routine attempt, when available. */
|
|
4245
|
+
trigger_event_payload?: Record<string, any>;
|
|
4357
4246
|
/** The source path that created the routine attempt. */
|
|
4358
4247
|
attempt_source?: RoutineAttemptSource;
|
|
4359
4248
|
/** The action type dispatched for the routine attempt. */
|
|
@@ -4390,6 +4279,9 @@ export interface RoutineRun {
|
|
|
4390
4279
|
error_message?: string;
|
|
4391
4280
|
}
|
|
4392
4281
|
export declare function routineRunDeserializer(item: any): RoutineRun;
|
|
4282
|
+
/** The status of a routine run. */
|
|
4283
|
+
export type RoutineRunStatus = string;
|
|
4284
|
+
export declare function routineRunStatusDeserializer(item: any): RoutineRunStatus;
|
|
4393
4285
|
/** Known lifecycle phases recorded for a routine run. */
|
|
4394
4286
|
export type RoutineRunPhase = "queued" | "dispatching" | "completed" | "failed";
|
|
4395
4287
|
/** Known source paths that can produce a routine run. */
|
|
@@ -4637,103 +4529,6 @@ export interface _PagedScheduleRun {
|
|
|
4637
4529
|
}
|
|
4638
4530
|
export declare function _pagedScheduleRunDeserializer(item: any): _PagedScheduleRun;
|
|
4639
4531
|
export declare function scheduleRunArrayDeserializer(result: Array<ScheduleRun>): any[];
|
|
4640
|
-
export declare function toolboxSkillUnionArraySerializer(result: Array<ToolboxSkillUnion>): any[];
|
|
4641
|
-
export declare function toolboxSkillUnionArrayDeserializer(result: Array<ToolboxSkillUnion>): any[];
|
|
4642
|
-
/** A skill source included in a toolbox. */
|
|
4643
|
-
export interface ToolboxSkill {
|
|
4644
|
-
/** The type of skill source. */
|
|
4645
|
-
/** The discriminator possible values: skill_reference */
|
|
4646
|
-
type: string;
|
|
4647
|
-
}
|
|
4648
|
-
export declare function toolboxSkillSerializer(item: ToolboxSkill): any;
|
|
4649
|
-
export declare function toolboxSkillDeserializer(item: any): ToolboxSkill;
|
|
4650
|
-
/** Alias for ToolboxSkillUnion */
|
|
4651
|
-
export type ToolboxSkillUnion = ToolboxSkillReference | ToolboxSkill;
|
|
4652
|
-
export declare function toolboxSkillUnionSerializer(item: ToolboxSkillUnion): any;
|
|
4653
|
-
export declare function toolboxSkillUnionDeserializer(item: any): ToolboxSkillUnion;
|
|
4654
|
-
/** A reference to an existing skill to include in a toolbox. */
|
|
4655
|
-
export interface ToolboxSkillReference extends ToolboxSkill {
|
|
4656
|
-
/** The type of skill source. */
|
|
4657
|
-
type: "skill_reference";
|
|
4658
|
-
/** The name of the skill. */
|
|
4659
|
-
name: string;
|
|
4660
|
-
/** The version of the skill. If not specified, the skill's default version is used. When a version is specified, the reference is pinned to that immutable version. */
|
|
4661
|
-
version?: string;
|
|
4662
|
-
}
|
|
4663
|
-
export declare function toolboxSkillReferenceSerializer(item: ToolboxSkillReference): any;
|
|
4664
|
-
export declare function toolboxSkillReferenceDeserializer(item: any): ToolboxSkillReference;
|
|
4665
|
-
/** Policy configuration for a toolbox, including content safety and other governance settings. */
|
|
4666
|
-
export interface ToolboxPolicies {
|
|
4667
|
-
/** Responsible AI content filtering configuration. */
|
|
4668
|
-
rai_config?: RaiConfig;
|
|
4669
|
-
}
|
|
4670
|
-
export declare function toolboxPoliciesSerializer(item: ToolboxPolicies): any;
|
|
4671
|
-
export declare function toolboxPoliciesDeserializer(item: any): ToolboxPolicies;
|
|
4672
|
-
/** A specific version of a toolbox. */
|
|
4673
|
-
export interface ToolboxVersionObject {
|
|
4674
|
-
/**
|
|
4675
|
-
* Set of 16 key-value pairs that can be attached to an object. This can be
|
|
4676
|
-
* useful for storing additional information about the object in a structured
|
|
4677
|
-
* format, and querying for objects via API or the dashboard.
|
|
4678
|
-
*
|
|
4679
|
-
* Keys are strings with a maximum length of 64 characters. Values are strings
|
|
4680
|
-
* with a maximum length of 512 characters.
|
|
4681
|
-
*/
|
|
4682
|
-
metadata: Record<string, string>;
|
|
4683
|
-
/** The unique identifier of the toolbox version. */
|
|
4684
|
-
id: string;
|
|
4685
|
-
/** The name of the toolbox. */
|
|
4686
|
-
name: string;
|
|
4687
|
-
/** The version identifier of the toolbox. Toolbox versions are immutable and every update creates a new version. */
|
|
4688
|
-
version: string;
|
|
4689
|
-
/** A human-readable description of the toolbox. */
|
|
4690
|
-
description?: string;
|
|
4691
|
-
/** The Unix timestamp (seconds) when the toolbox version was created. */
|
|
4692
|
-
created_at: Date;
|
|
4693
|
-
/** The list of tools contained in this toolbox version. */
|
|
4694
|
-
tools: ToolUnion[];
|
|
4695
|
-
/** The list of skill sources included in this toolbox version. */
|
|
4696
|
-
skills?: ToolboxSkillUnion[];
|
|
4697
|
-
/** Policy configuration for the toolbox version. */
|
|
4698
|
-
policies?: ToolboxPolicies;
|
|
4699
|
-
}
|
|
4700
|
-
export declare function toolboxVersionObjectDeserializer(item: any): ToolboxVersionObject;
|
|
4701
|
-
/** A toolbox that stores reusable tool definitions for agents. */
|
|
4702
|
-
export interface ToolboxObject {
|
|
4703
|
-
/** The unique identifier of the toolbox. */
|
|
4704
|
-
id: string;
|
|
4705
|
-
/** The name of the toolbox. */
|
|
4706
|
-
name: string;
|
|
4707
|
-
/** The version identifier that the toolbox currently points to. Defaults to the latest version. Can be changed via updateToolbox. */
|
|
4708
|
-
default_version: string;
|
|
4709
|
-
}
|
|
4710
|
-
export declare function toolboxObjectDeserializer(item: any): ToolboxObject;
|
|
4711
|
-
/** The response data for a requested list of items. */
|
|
4712
|
-
export interface _AgentsPagedResultToolboxObject {
|
|
4713
|
-
/** The requested list of items. */
|
|
4714
|
-
data: ToolboxObject[];
|
|
4715
|
-
/** The first ID represented in this list. */
|
|
4716
|
-
first_id?: string;
|
|
4717
|
-
/** The last ID represented in this list. */
|
|
4718
|
-
last_id?: string;
|
|
4719
|
-
/** A value indicating whether there are additional values available not captured in this list. */
|
|
4720
|
-
has_more: boolean;
|
|
4721
|
-
}
|
|
4722
|
-
export declare function _agentsPagedResultToolboxObjectDeserializer(item: any): _AgentsPagedResultToolboxObject;
|
|
4723
|
-
export declare function toolboxObjectArrayDeserializer(result: Array<ToolboxObject>): any[];
|
|
4724
|
-
/** The response data for a requested list of items. */
|
|
4725
|
-
export interface _AgentsPagedResultToolboxVersionObject {
|
|
4726
|
-
/** The requested list of items. */
|
|
4727
|
-
data: ToolboxVersionObject[];
|
|
4728
|
-
/** The first ID represented in this list. */
|
|
4729
|
-
first_id?: string;
|
|
4730
|
-
/** The last ID represented in this list. */
|
|
4731
|
-
last_id?: string;
|
|
4732
|
-
/** A value indicating whether there are additional values available not captured in this list. */
|
|
4733
|
-
has_more: boolean;
|
|
4734
|
-
}
|
|
4735
|
-
export declare function _agentsPagedResultToolboxVersionObjectDeserializer(item: any): _AgentsPagedResultToolboxVersionObject;
|
|
4736
|
-
export declare function toolboxVersionObjectArrayDeserializer(result: Array<ToolboxVersionObject>): any[];
|
|
4737
4532
|
/** A skill resource. */
|
|
4738
4533
|
export interface Skill {
|
|
4739
4534
|
/** The unique identifier of the skill. */
|
|
@@ -5084,6 +4879,221 @@ export interface _AgentsPagedResultDataGenerationJob {
|
|
|
5084
4879
|
export declare function _agentsPagedResultDataGenerationJobDeserializer(item: any): _AgentsPagedResultDataGenerationJob;
|
|
5085
4880
|
export declare function dataGenerationJobArraySerializer(result: Array<DataGenerationJob>): any[];
|
|
5086
4881
|
export declare function dataGenerationJobArrayDeserializer(result: Array<DataGenerationJob>): any[];
|
|
4882
|
+
/** Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, skills, tools) to maximize evaluation scores. On success, the result contains scored candidates. */
|
|
4883
|
+
export interface OptimizationJob {
|
|
4884
|
+
/** Server-assigned unique identifier. */
|
|
4885
|
+
readonly id: string;
|
|
4886
|
+
/** Caller-supplied inputs. */
|
|
4887
|
+
inputs?: OptimizationJobInputs;
|
|
4888
|
+
/** Result produced on success. */
|
|
4889
|
+
readonly result?: OptimizationJobResult;
|
|
4890
|
+
/** Current lifecycle status. */
|
|
4891
|
+
readonly status: JobStatus;
|
|
4892
|
+
/** Error details — populated only on failure. */
|
|
4893
|
+
readonly error?: ErrorModel;
|
|
4894
|
+
/** The timestamp when the job was created, represented in Unix time. */
|
|
4895
|
+
readonly created_at: Date;
|
|
4896
|
+
/** The timestamp when the job was last updated, represented in Unix time. */
|
|
4897
|
+
readonly updated_at: Date;
|
|
4898
|
+
/** Progress snapshot. May be present in terminal states reflecting last-known progress. */
|
|
4899
|
+
readonly progress?: OptimizationJobProgress;
|
|
4900
|
+
/** Non-fatal warnings emitted at any point during optimization. */
|
|
4901
|
+
readonly warnings?: string[];
|
|
4902
|
+
}
|
|
4903
|
+
export declare function optimizationJobSerializer(item: OptimizationJob): any;
|
|
4904
|
+
export declare function optimizationJobDeserializer(item: any): OptimizationJob;
|
|
4905
|
+
/** Caller-supplied inputs for an optimization job. */
|
|
4906
|
+
export interface OptimizationJobInputs {
|
|
4907
|
+
/** The agent (and pinned version) being optimized. */
|
|
4908
|
+
agent: OptimizationAgentIdentifier;
|
|
4909
|
+
/** Training dataset — either inline items or a reference to a registered dataset. Required. */
|
|
4910
|
+
train_dataset: OptimizationDatasetInputUnion;
|
|
4911
|
+
/** Optional held-out validation dataset for measuring generalization of the final candidate. */
|
|
4912
|
+
validation_dataset?: OptimizationDatasetInputUnion;
|
|
4913
|
+
/** Job-level evaluators referenced by name and optional version. Required; at least one must be provided. */
|
|
4914
|
+
evaluators: OptimizationEvaluatorRef[];
|
|
4915
|
+
/** Tuning knobs and run-mode. */
|
|
4916
|
+
options?: OptimizationOptions;
|
|
4917
|
+
}
|
|
4918
|
+
export declare function optimizationJobInputsSerializer(item: OptimizationJobInputs): any;
|
|
4919
|
+
export declare function optimizationJobInputsDeserializer(item: any): OptimizationJobInputs;
|
|
4920
|
+
/** Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and system_prompt are specified in options.optimization_config. */
|
|
4921
|
+
export interface OptimizationAgentIdentifier {
|
|
4922
|
+
/** Registered Foundry agent name (required). */
|
|
4923
|
+
agent_name: string;
|
|
4924
|
+
/** Pinned agent version. Defaults to latest if omitted. */
|
|
4925
|
+
agent_version?: string;
|
|
4926
|
+
}
|
|
4927
|
+
export declare function optimizationAgentIdentifierSerializer(item: OptimizationAgentIdentifier): any;
|
|
4928
|
+
export declare function optimizationAgentIdentifierDeserializer(item: any): OptimizationAgentIdentifier;
|
|
4929
|
+
/** Base discriminated model for dataset input. Either inline items or a registered reference. */
|
|
4930
|
+
export interface OptimizationDatasetInput {
|
|
4931
|
+
/** Dataset input type discriminator. */
|
|
4932
|
+
/** The discriminator possible values: inline, reference */
|
|
4933
|
+
type: OptimizationDatasetInputType;
|
|
4934
|
+
}
|
|
4935
|
+
export declare function optimizationDatasetInputSerializer(item: OptimizationDatasetInput): any;
|
|
4936
|
+
export declare function optimizationDatasetInputDeserializer(item: any): OptimizationDatasetInput;
|
|
4937
|
+
/** Alias for OptimizationDatasetInputUnion */
|
|
4938
|
+
export type OptimizationDatasetInputUnion = OptimizationInlineDatasetInput | OptimizationReferenceDatasetInput | OptimizationDatasetInput;
|
|
4939
|
+
export declare function optimizationDatasetInputUnionSerializer(item: OptimizationDatasetInputUnion): any;
|
|
4940
|
+
export declare function optimizationDatasetInputUnionDeserializer(item: any): OptimizationDatasetInputUnion;
|
|
4941
|
+
/** Discriminator values for the dataset input union. */
|
|
4942
|
+
export type OptimizationDatasetInputType = "inline" | "reference";
|
|
4943
|
+
/** Inline dataset — items supplied directly in the request body. */
|
|
4944
|
+
export interface OptimizationInlineDatasetInput extends OptimizationDatasetInput {
|
|
4945
|
+
/** Dataset input type discriminator. */
|
|
4946
|
+
type: "inline";
|
|
4947
|
+
/** Dataset items. */
|
|
4948
|
+
items: OptimizationDatasetItem[];
|
|
4949
|
+
}
|
|
4950
|
+
export declare function optimizationInlineDatasetInputSerializer(item: OptimizationInlineDatasetInput): any;
|
|
4951
|
+
export declare function optimizationInlineDatasetInputDeserializer(item: any): OptimizationInlineDatasetInput;
|
|
4952
|
+
export declare function optimizationDatasetItemArraySerializer(result: Array<OptimizationDatasetItem>): any[];
|
|
4953
|
+
export declare function optimizationDatasetItemArrayDeserializer(result: Array<OptimizationDatasetItem>): any[];
|
|
4954
|
+
/** A single item in an inline dataset. */
|
|
4955
|
+
export interface OptimizationDatasetItem {
|
|
4956
|
+
/** The user query / prompt. */
|
|
4957
|
+
query?: string;
|
|
4958
|
+
/** Expected ground truth answer. */
|
|
4959
|
+
ground_truth?: string;
|
|
4960
|
+
/** Desired number of conversation turns for simulation mode (1-20). */
|
|
4961
|
+
desired_num_turns?: number;
|
|
4962
|
+
/** Per-item evaluation criteria. */
|
|
4963
|
+
criteria?: OptimizationDatasetCriterion[];
|
|
4964
|
+
}
|
|
4965
|
+
export declare function optimizationDatasetItemSerializer(item: OptimizationDatasetItem): any;
|
|
4966
|
+
export declare function optimizationDatasetItemDeserializer(item: any): OptimizationDatasetItem;
|
|
4967
|
+
export declare function optimizationDatasetCriterionArraySerializer(result: Array<OptimizationDatasetCriterion>): any[];
|
|
4968
|
+
export declare function optimizationDatasetCriterionArrayDeserializer(result: Array<OptimizationDatasetCriterion>): any[];
|
|
4969
|
+
/** Evaluation criterion: a name + instruction pair used for per-item scoring. */
|
|
4970
|
+
export interface OptimizationDatasetCriterion {
|
|
4971
|
+
/** Criterion name. */
|
|
4972
|
+
name: string;
|
|
4973
|
+
/** Criterion instruction / description. */
|
|
4974
|
+
instruction: string;
|
|
4975
|
+
}
|
|
4976
|
+
export declare function optimizationDatasetCriterionSerializer(item: OptimizationDatasetCriterion): any;
|
|
4977
|
+
export declare function optimizationDatasetCriterionDeserializer(item: any): OptimizationDatasetCriterion;
|
|
4978
|
+
/** Reference to a registered Foundry dataset. */
|
|
4979
|
+
export interface OptimizationReferenceDatasetInput extends OptimizationDatasetInput {
|
|
4980
|
+
/** Dataset input type discriminator. */
|
|
4981
|
+
type: "reference";
|
|
4982
|
+
/** Registered dataset name. */
|
|
4983
|
+
name: string;
|
|
4984
|
+
/** Dataset version. If not specified, the latest version is used. */
|
|
4985
|
+
version?: string;
|
|
4986
|
+
}
|
|
4987
|
+
export declare function optimizationReferenceDatasetInputSerializer(item: OptimizationReferenceDatasetInput): any;
|
|
4988
|
+
export declare function optimizationReferenceDatasetInputDeserializer(item: any): OptimizationReferenceDatasetInput;
|
|
4989
|
+
export declare function optimizationEvaluatorRefArraySerializer(result: Array<OptimizationEvaluatorRef>): any[];
|
|
4990
|
+
export declare function optimizationEvaluatorRefArrayDeserializer(result: Array<OptimizationEvaluatorRef>): any[];
|
|
4991
|
+
/** Reference to a named evaluator, optionally pinned to a version. */
|
|
4992
|
+
export interface OptimizationEvaluatorRef {
|
|
4993
|
+
/** Evaluator name. */
|
|
4994
|
+
name: string;
|
|
4995
|
+
/** Evaluator version. If not specified, the latest version is used. */
|
|
4996
|
+
version?: string;
|
|
4997
|
+
}
|
|
4998
|
+
export declare function optimizationEvaluatorRefSerializer(item: OptimizationEvaluatorRef): any;
|
|
4999
|
+
export declare function optimizationEvaluatorRefDeserializer(item: any): OptimizationEvaluatorRef;
|
|
5000
|
+
/** Tuning knobs and run-mode for an optimization job. */
|
|
5001
|
+
export interface OptimizationOptions {
|
|
5002
|
+
/** Maximum number of optimization candidates to generate. Must be >= 1. Default: 5. */
|
|
5003
|
+
max_candidates?: number;
|
|
5004
|
+
/** Per-target-attribute configuration overrides. Contains skills, tools, system_prompt for the agent, plus model space for model optimization. */
|
|
5005
|
+
optimization_config?: Record<string, any>;
|
|
5006
|
+
/** Model deployment used for evaluation. Defaults to server config (typically 'gpt-4o'). */
|
|
5007
|
+
eval_model?: string;
|
|
5008
|
+
/** Model deployment for optimization reasoning (must be gpt-5 family). Falls back to the default eval model when not set. */
|
|
5009
|
+
optimization_model?: string;
|
|
5010
|
+
/** Evaluation granularity. Null/omitted means per-item single-turn. Set to 'conversation' for per-conversation multi-turn simulation scoring. */
|
|
5011
|
+
evaluation_level?: EvaluationLevel;
|
|
5012
|
+
}
|
|
5013
|
+
export declare function optimizationOptionsSerializer(item: OptimizationOptions): any;
|
|
5014
|
+
export declare function optimizationOptionsDeserializer(item: any): OptimizationOptions;
|
|
5015
|
+
/** Terminal-state result body. Populated when status is succeeded or failed. */
|
|
5016
|
+
export interface OptimizationJobResult {
|
|
5017
|
+
/** Candidate ID of the original (un-optimized) baseline evaluation. */
|
|
5018
|
+
baseline?: string;
|
|
5019
|
+
/** Candidate ID of the highest-scoring candidate found during optimization. */
|
|
5020
|
+
best?: string;
|
|
5021
|
+
/** All evaluated candidates including baseline. */
|
|
5022
|
+
candidates?: OptimizationCandidate[];
|
|
5023
|
+
}
|
|
5024
|
+
export declare function optimizationJobResultDeserializer(item: any): OptimizationJobResult;
|
|
5025
|
+
export declare function optimizationCandidateArrayDeserializer(result: Array<OptimizationCandidate>): any[];
|
|
5026
|
+
/** Aggregated evaluation result for a single candidate agent configuration across all tasks. */
|
|
5027
|
+
export interface OptimizationCandidate {
|
|
5028
|
+
/** Server-assigned candidate identifier. Use with GET /candidates/{id} sub-endpoints. */
|
|
5029
|
+
candidate_id?: string;
|
|
5030
|
+
/** Display name of the candidate (e.g., 'baseline', 'instruction-v2'). */
|
|
5031
|
+
name: string;
|
|
5032
|
+
/** What was mutated from the baseline (e.g., {system_prompt: 'new prompt'}). */
|
|
5033
|
+
mutations?: Record<string, any>;
|
|
5034
|
+
/** Average composite score across all tasks. */
|
|
5035
|
+
avg_score: number;
|
|
5036
|
+
/** Average token usage across all tasks. */
|
|
5037
|
+
avg_tokens: number;
|
|
5038
|
+
/** Foundry evaluation identifier used to score this candidate. */
|
|
5039
|
+
eval_id?: string;
|
|
5040
|
+
/** Foundry evaluation run identifier for this candidate's scoring run. */
|
|
5041
|
+
eval_run_id?: string;
|
|
5042
|
+
/** Promotion metadata. Null if the candidate has not been promoted. */
|
|
5043
|
+
promotion?: PromotionInfo;
|
|
5044
|
+
}
|
|
5045
|
+
export declare function optimizationCandidateDeserializer(item: any): OptimizationCandidate;
|
|
5046
|
+
/** Promotion metadata recorded when a candidate is deployed to a Foundry agent. */
|
|
5047
|
+
export interface PromotionInfo {
|
|
5048
|
+
/** Timestamp when promotion occurred, represented in Unix time. */
|
|
5049
|
+
promoted_at: Date;
|
|
5050
|
+
/** Name of the Foundry agent this candidate was promoted to. */
|
|
5051
|
+
agent_name: string;
|
|
5052
|
+
/** Version of the Foundry agent this candidate was promoted to. */
|
|
5053
|
+
agent_version: string;
|
|
5054
|
+
}
|
|
5055
|
+
export declare function promotionInfoDeserializer(item: any): PromotionInfo;
|
|
5056
|
+
/** In-flight progress; only populated while status is queued or in_progress. */
|
|
5057
|
+
export interface OptimizationJobProgress {
|
|
5058
|
+
/** Number of candidates whose evaluation has completed so far. */
|
|
5059
|
+
candidates_completed: number;
|
|
5060
|
+
/** Best score observed so far across all candidates. */
|
|
5061
|
+
best_score: number;
|
|
5062
|
+
/** Wall-clock time elapsed in seconds since the job began executing. */
|
|
5063
|
+
elapsed_seconds: number;
|
|
5064
|
+
}
|
|
5065
|
+
export declare function optimizationJobProgressDeserializer(item: any): OptimizationJobProgress;
|
|
5066
|
+
/** The response data for a requested list of items. */
|
|
5067
|
+
export interface _AgentsPagedResultOptimizationJobListItem {
|
|
5068
|
+
/** The requested list of items. */
|
|
5069
|
+
data: OptimizationJobListItem[];
|
|
5070
|
+
/** The first ID represented in this list. */
|
|
5071
|
+
first_id?: string;
|
|
5072
|
+
/** The last ID represented in this list. */
|
|
5073
|
+
last_id?: string;
|
|
5074
|
+
/** A value indicating whether there are additional values available not captured in this list. */
|
|
5075
|
+
has_more: boolean;
|
|
5076
|
+
}
|
|
5077
|
+
export declare function _agentsPagedResultOptimizationJobListItemDeserializer(item: any): _AgentsPagedResultOptimizationJobListItem;
|
|
5078
|
+
export declare function optimizationJobListItemArrayDeserializer(result: Array<OptimizationJobListItem>): any[];
|
|
5079
|
+
/** Slim job representation returned by the LIST endpoint. */
|
|
5080
|
+
export interface OptimizationJobListItem {
|
|
5081
|
+
/** Server-assigned unique identifier. */
|
|
5082
|
+
readonly id: string;
|
|
5083
|
+
/** Current lifecycle status. */
|
|
5084
|
+
readonly status: JobStatus;
|
|
5085
|
+
/** Error details — populated only on failure. */
|
|
5086
|
+
readonly error?: ErrorModel;
|
|
5087
|
+
/** The timestamp when the job was created, represented in Unix time. */
|
|
5088
|
+
readonly created_at: Date;
|
|
5089
|
+
/** The timestamp when the job was last updated, represented in Unix time. */
|
|
5090
|
+
readonly updated_at: Date;
|
|
5091
|
+
/** Progress snapshot. May be present in terminal states reflecting last-known progress. */
|
|
5092
|
+
readonly progress?: OptimizationJobProgress;
|
|
5093
|
+
/** The agent targeted by this optimization job. */
|
|
5094
|
+
readonly agent?: OptimizationAgentIdentifier;
|
|
5095
|
+
}
|
|
5096
|
+
export declare function optimizationJobListItemDeserializer(item: any): OptimizationJobListItem;
|
|
5087
5097
|
/** model interface UpdateToolboxRequest */
|
|
5088
5098
|
export interface UpdateToolboxRequest {
|
|
5089
5099
|
/** The name of the toolbox to update. */
|
|
@@ -5098,11 +5108,11 @@ export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRe
|
|
|
5098
5108
|
/** Type of AgentType */
|
|
5099
5109
|
export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
|
|
5100
5110
|
/** Feature opt-in keys for agent definition operations supporting hosted or workflow agents. */
|
|
5101
|
-
export type AgentDefinitionOptInKeys = "
|
|
5111
|
+
export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview";
|
|
5102
5112
|
/** Type of PageOrder */
|
|
5103
5113
|
export type PageOrder = "asc" | "desc";
|
|
5104
5114
|
/** Type of FoundryFeaturesOptInKeys */
|
|
5105
|
-
export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "
|
|
5115
|
+
export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "AgentsOptimization=V2Preview";
|
|
5106
5116
|
/** The type of pending upload. */
|
|
5107
5117
|
export type PendingUploadType = "None" | "BlobReference" | "TemporaryBlobReference";
|
|
5108
5118
|
/** Type of MemoryStoreType */
|
|
@@ -5112,7 +5122,7 @@ export declare enum KnownApiVersions {
|
|
|
5112
5122
|
/** Microsoft Foundry API version v1. */
|
|
5113
5123
|
v1 = "v1"
|
|
5114
5124
|
}
|
|
5115
|
-
export type
|
|
5125
|
+
export type AgentsDownloadSessionFileResponse = {
|
|
5116
5126
|
/**
|
|
5117
5127
|
* BROWSER ONLY
|
|
5118
5128
|
*
|
|
@@ -5126,9 +5136,9 @@ export type DownloadVersionResponse = {
|
|
|
5126
5136
|
* The response body as a node.js Readable stream.
|
|
5127
5137
|
* Always `undefined` in the browser.
|
|
5128
5138
|
*/
|
|
5129
|
-
readableStreamBody?:
|
|
5139
|
+
readableStreamBody?: NodeReadableStream;
|
|
5130
5140
|
};
|
|
5131
|
-
export type
|
|
5141
|
+
export type AgentsDownloadAgentCodeResponse = {
|
|
5132
5142
|
/**
|
|
5133
5143
|
* BROWSER ONLY
|
|
5134
5144
|
*
|
|
@@ -5142,25 +5152,9 @@ export type BetaSkillsDownloadResponse = {
|
|
|
5142
5152
|
* The response body as a node.js Readable stream.
|
|
5143
5153
|
* Always `undefined` in the browser.
|
|
5144
5154
|
*/
|
|
5145
|
-
readableStreamBody?:
|
|
5155
|
+
readableStreamBody?: NodeReadableStream;
|
|
5146
5156
|
};
|
|
5147
|
-
export type
|
|
5148
|
-
/**
|
|
5149
|
-
* BROWSER ONLY
|
|
5150
|
-
*
|
|
5151
|
-
* The response body as a browser Blob.
|
|
5152
|
-
* Always `undefined` in node.js.
|
|
5153
|
-
*/
|
|
5154
|
-
blobBody?: Promise<Blob>;
|
|
5155
|
-
/**
|
|
5156
|
-
* NODEJS ONLY
|
|
5157
|
-
*
|
|
5158
|
-
* The response body as a node.js Readable stream.
|
|
5159
|
-
* Always `undefined` in the browser.
|
|
5160
|
-
*/
|
|
5161
|
-
readableStreamBody?: NodeJS.ReadableStream;
|
|
5162
|
-
};
|
|
5163
|
-
export type BetaAgentsDownloadSessionFileResponse = {
|
|
5157
|
+
export type DownloadVersionResponse = {
|
|
5164
5158
|
/**
|
|
5165
5159
|
* BROWSER ONLY
|
|
5166
5160
|
*
|
|
@@ -5174,9 +5168,9 @@ export type BetaAgentsDownloadSessionFileResponse = {
|
|
|
5174
5168
|
* The response body as a node.js Readable stream.
|
|
5175
5169
|
* Always `undefined` in the browser.
|
|
5176
5170
|
*/
|
|
5177
|
-
readableStreamBody?:
|
|
5171
|
+
readableStreamBody?: NodeReadableStream;
|
|
5178
5172
|
};
|
|
5179
|
-
export type
|
|
5173
|
+
export type BetaSkillsDownloadResponse = {
|
|
5180
5174
|
/**
|
|
5181
5175
|
* BROWSER ONLY
|
|
5182
5176
|
*
|
|
@@ -5190,6 +5184,6 @@ export type BetaAgentsDownloadAgentCodeResponse = {
|
|
|
5190
5184
|
* The response body as a node.js Readable stream.
|
|
5191
5185
|
* Always `undefined` in the browser.
|
|
5192
5186
|
*/
|
|
5193
|
-
readableStreamBody?:
|
|
5187
|
+
readableStreamBody?: NodeReadableStream;
|
|
5194
5188
|
};
|
|
5195
5189
|
//# sourceMappingURL=models.d.ts.map
|