@azure/ai-agents 1.0.0-alpha.20250505.3 → 1.0.0-alpha.20250507.2
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/dist/browser/agentsClient.d.ts +31 -93
- package/dist/browser/agentsClient.d.ts.map +1 -1
- package/dist/browser/agentsClient.js +17 -168
- package/dist/browser/agentsClient.js.map +1 -1
- package/dist/browser/api/files/index.d.ts +3 -0
- package/dist/browser/api/files/index.d.ts.map +1 -0
- package/dist/browser/api/files/index.js +4 -0
- package/dist/browser/api/files/index.js.map +1 -0
- package/dist/browser/api/files/operations.d.ts +45 -0
- package/dist/browser/api/files/operations.d.ts.map +1 -0
- package/dist/browser/api/files/operations.js +154 -0
- package/dist/browser/api/files/operations.js.map +1 -0
- package/dist/browser/api/files/options.d.ts +23 -0
- package/dist/browser/api/files/options.d.ts.map +1 -0
- package/dist/browser/api/files/options.js +4 -0
- package/dist/browser/api/files/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -2
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/messages/index.d.ts +3 -0
- package/dist/browser/api/messages/index.d.ts.map +1 -0
- package/dist/browser/api/messages/index.js +4 -0
- package/dist/browser/api/messages/index.js.map +1 -0
- package/dist/browser/api/messages/operations.d.ts +22 -0
- package/dist/browser/api/messages/operations.d.ts.map +1 -0
- package/dist/browser/api/messages/operations.js +108 -0
- package/dist/browser/api/messages/operations.js.map +1 -0
- package/dist/browser/api/messages/options.d.ts +31 -0
- package/dist/browser/api/messages/options.d.ts.map +1 -0
- package/dist/browser/api/messages/options.js +4 -0
- package/dist/browser/api/messages/options.js.map +1 -0
- package/dist/browser/api/operations.d.ts +8 -183
- package/dist/browser/api/operations.d.ts.map +1 -1
- package/dist/browser/api/operations.js +14 -1063
- package/dist/browser/api/operations.js.map +1 -1
- package/dist/browser/api/options.d.ts +25 -322
- package/dist/browser/api/options.d.ts.map +1 -1
- package/dist/browser/api/options.js.map +1 -1
- package/dist/browser/api/runSteps/index.d.ts +3 -0
- package/dist/browser/api/runSteps/index.d.ts.map +1 -0
- package/dist/browser/api/runSteps/index.js +4 -0
- package/dist/browser/api/runSteps/index.js.map +1 -0
- package/dist/browser/api/runSteps/operations.d.ts +14 -0
- package/dist/browser/api/runSteps/operations.d.ts.map +1 -0
- package/dist/browser/api/runSteps/operations.js +67 -0
- package/dist/browser/api/runSteps/operations.js.map +1 -0
- package/dist/browser/api/runSteps/options.d.ts +27 -0
- package/dist/browser/api/runSteps/options.d.ts.map +1 -0
- package/dist/browser/api/runSteps/options.js +4 -0
- package/dist/browser/api/runSteps/options.js.map +1 -0
- package/dist/browser/api/runs/index.d.ts +3 -0
- package/dist/browser/api/runs/index.d.ts.map +1 -0
- package/dist/browser/api/runs/index.js +4 -0
- package/dist/browser/api/runs/index.js.map +1 -0
- package/dist/browser/api/runs/operations.d.ts +31 -0
- package/dist/browser/api/runs/operations.d.ts.map +1 -0
- package/dist/browser/api/runs/operations.js +190 -0
- package/dist/browser/api/runs/operations.js.map +1 -0
- package/dist/browser/api/runs/options.d.ts +92 -0
- package/dist/browser/api/runs/options.d.ts.map +1 -0
- package/dist/browser/api/runs/options.js +4 -0
- package/dist/browser/api/runs/options.js.map +1 -0
- package/dist/browser/api/threads/index.d.ts +3 -0
- package/dist/browser/api/threads/index.d.ts.map +1 -0
- package/dist/browser/api/threads/index.js +4 -0
- package/dist/browser/api/threads/index.js.map +1 -0
- package/dist/browser/api/threads/operations.d.ts +26 -0
- package/dist/browser/api/threads/operations.d.ts.map +1 -0
- package/dist/browser/api/threads/operations.js +131 -0
- package/dist/browser/api/threads/operations.js.map +1 -0
- package/dist/browser/api/threads/options.d.ts +44 -0
- package/dist/browser/api/threads/options.d.ts.map +1 -0
- package/dist/browser/api/threads/options.js +4 -0
- package/dist/browser/api/threads/options.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/browser/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/browser/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/browser/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/browser/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/browser/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/index.js +4 -0
- package/dist/browser/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/browser/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/operations.js +176 -0
- package/dist/browser/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/browser/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/options.js +4 -0
- package/dist/browser/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/browser/api/vectorStores/index.d.ts +3 -0
- package/dist/browser/api/vectorStores/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/index.js +4 -0
- package/dist/browser/api/vectorStores/index.js.map +1 -0
- package/dist/browser/api/vectorStores/operations.d.ts +33 -0
- package/dist/browser/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/operations.js +184 -0
- package/dist/browser/api/vectorStores/operations.js.map +1 -0
- package/dist/browser/api/vectorStores/options.d.ts +45 -0
- package/dist/browser/api/vectorStores/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/options.js +4 -0
- package/dist/browser/api/vectorStores/options.js.map +1 -0
- package/dist/browser/classic/files/index.d.ts +22 -0
- package/dist/browser/classic/files/index.d.ts.map +1 -0
- package/dist/browser/classic/files/index.js +17 -0
- package/dist/browser/classic/files/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/messages/index.d.ts +17 -0
- package/dist/browser/classic/messages/index.d.ts.map +1 -0
- package/dist/browser/classic/messages/index.js +15 -0
- package/dist/browser/classic/messages/index.js.map +1 -0
- package/dist/browser/classic/runSteps/index.d.ts +14 -0
- package/dist/browser/classic/runSteps/index.d.ts.map +1 -0
- package/dist/browser/classic/runSteps/index.js +13 -0
- package/dist/browser/classic/runSteps/index.js.map +1 -0
- package/dist/browser/classic/runs/index.d.ts +25 -0
- package/dist/browser/classic/runs/index.d.ts.map +1 -0
- package/dist/browser/classic/runs/index.js +19 -0
- package/dist/browser/classic/runs/index.js.map +1 -0
- package/dist/browser/classic/threads/index.d.ts +19 -0
- package/dist/browser/classic/threads/index.d.ts.map +1 -0
- package/dist/browser/classic/threads/index.js +16 -0
- package/dist/browser/classic/threads/index.js.map +1 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/browser/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/browser/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStoreFiles/index.js +14 -0
- package/dist/browser/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/browser/classic/vectorStores/index.d.ts +22 -0
- package/dist/browser/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStores/index.js +17 -0
- package/dist/browser/classic/vectorStores/index.js.map +1 -0
- package/dist/browser/index.d.ts +14 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -2
- 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 +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +390 -338
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +377 -297
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts +1 -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/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +2 -2
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/browser/utils.d.ts +26 -5
- package/dist/browser/utils.d.ts.map +1 -1
- package/dist/browser/utils.js +44 -8
- package/dist/browser/utils.js.map +1 -1
- package/dist/commonjs/agentsClient.d.ts +31 -93
- package/dist/commonjs/agentsClient.d.ts.map +1 -1
- package/dist/commonjs/agentsClient.js +16 -167
- package/dist/commonjs/agentsClient.js.map +1 -1
- package/dist/commonjs/api/files/index.d.ts +3 -0
- package/dist/commonjs/api/files/index.d.ts.map +1 -0
- package/dist/commonjs/api/files/index.js +12 -0
- package/dist/commonjs/api/files/index.js.map +1 -0
- package/dist/commonjs/api/files/operations.d.ts +45 -0
- package/dist/commonjs/api/files/operations.d.ts.map +1 -0
- package/dist/commonjs/api/files/operations.js +172 -0
- package/dist/commonjs/api/files/operations.js.map +1 -0
- package/dist/commonjs/api/files/options.d.ts +23 -0
- package/dist/commonjs/api/files/options.d.ts.map +1 -0
- package/dist/commonjs/api/files/options.js +5 -0
- package/dist/commonjs/api/files/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -2
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +2 -38
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/messages/index.d.ts +3 -0
- package/dist/commonjs/api/messages/index.d.ts.map +1 -0
- package/dist/commonjs/api/messages/index.js +11 -0
- package/dist/commonjs/api/messages/index.js.map +1 -0
- package/dist/commonjs/api/messages/operations.d.ts +22 -0
- package/dist/commonjs/api/messages/operations.d.ts.map +1 -0
- package/dist/commonjs/api/messages/operations.js +122 -0
- package/dist/commonjs/api/messages/operations.js.map +1 -0
- package/dist/commonjs/api/messages/options.d.ts +31 -0
- package/dist/commonjs/api/messages/options.d.ts.map +1 -0
- package/dist/commonjs/api/messages/options.js +5 -0
- package/dist/commonjs/api/messages/options.js.map +1 -0
- package/dist/commonjs/api/operations.d.ts +8 -183
- package/dist/commonjs/api/operations.d.ts.map +1 -1
- package/dist/commonjs/api/operations.js +14 -1176
- package/dist/commonjs/api/operations.js.map +1 -1
- package/dist/commonjs/api/options.d.ts +25 -322
- package/dist/commonjs/api/options.d.ts.map +1 -1
- package/dist/commonjs/api/options.js.map +1 -1
- package/dist/commonjs/api/runSteps/index.d.ts +3 -0
- package/dist/commonjs/api/runSteps/index.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/index.js +9 -0
- package/dist/commonjs/api/runSteps/index.js.map +1 -0
- package/dist/commonjs/api/runSteps/operations.d.ts +14 -0
- package/dist/commonjs/api/runSteps/operations.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/operations.js +75 -0
- package/dist/commonjs/api/runSteps/operations.js.map +1 -0
- package/dist/commonjs/api/runSteps/options.d.ts +27 -0
- package/dist/commonjs/api/runSteps/options.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/options.js +5 -0
- package/dist/commonjs/api/runSteps/options.js.map +1 -0
- package/dist/commonjs/api/runs/index.d.ts +3 -0
- package/dist/commonjs/api/runs/index.d.ts.map +1 -0
- package/dist/commonjs/api/runs/index.js +13 -0
- package/dist/commonjs/api/runs/index.js.map +1 -0
- package/dist/commonjs/api/runs/operations.d.ts +31 -0
- package/dist/commonjs/api/runs/operations.d.ts.map +1 -0
- package/dist/commonjs/api/runs/operations.js +210 -0
- package/dist/commonjs/api/runs/operations.js.map +1 -0
- package/dist/commonjs/api/runs/options.d.ts +92 -0
- package/dist/commonjs/api/runs/options.d.ts.map +1 -0
- package/dist/commonjs/api/runs/options.js +5 -0
- package/dist/commonjs/api/runs/options.js.map +1 -0
- package/dist/commonjs/api/threads/index.d.ts +3 -0
- package/dist/commonjs/api/threads/index.d.ts.map +1 -0
- package/dist/commonjs/api/threads/index.js +12 -0
- package/dist/commonjs/api/threads/index.js.map +1 -0
- package/dist/commonjs/api/threads/operations.d.ts +26 -0
- package/dist/commonjs/api/threads/operations.d.ts.map +1 -0
- package/dist/commonjs/api/threads/operations.js +148 -0
- package/dist/commonjs/api/threads/operations.js.map +1 -0
- package/dist/commonjs/api/threads/options.d.ts +44 -0
- package/dist/commonjs/api/threads/options.d.ts.map +1 -0
- package/dist/commonjs/api/threads/options.js +5 -0
- package/dist/commonjs/api/threads/options.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.js +11 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.js +177 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.js +5 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/index.js +11 -0
- package/dist/commonjs/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.js +192 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/commonjs/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/options.js +5 -0
- package/dist/commonjs/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/commonjs/api/vectorStores/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStores/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/index.js +12 -0
- package/dist/commonjs/api/vectorStores/index.js.map +1 -0
- package/dist/commonjs/api/vectorStores/operations.d.ts +33 -0
- package/dist/commonjs/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/operations.js +203 -0
- package/dist/commonjs/api/vectorStores/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStores/options.d.ts +45 -0
- package/dist/commonjs/api/vectorStores/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/options.js +5 -0
- package/dist/commonjs/api/vectorStores/options.js.map +1 -0
- package/dist/commonjs/classic/files/index.d.ts +22 -0
- package/dist/commonjs/classic/files/index.d.ts.map +1 -0
- package/dist/commonjs/classic/files/index.js +20 -0
- package/dist/commonjs/classic/files/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +9 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/messages/index.d.ts +17 -0
- package/dist/commonjs/classic/messages/index.d.ts.map +1 -0
- package/dist/commonjs/classic/messages/index.js +18 -0
- package/dist/commonjs/classic/messages/index.js.map +1 -0
- package/dist/commonjs/classic/runSteps/index.d.ts +14 -0
- package/dist/commonjs/classic/runSteps/index.d.ts.map +1 -0
- package/dist/commonjs/classic/runSteps/index.js +16 -0
- package/dist/commonjs/classic/runSteps/index.js.map +1 -0
- package/dist/commonjs/classic/runs/index.d.ts +25 -0
- package/dist/commonjs/classic/runs/index.d.ts.map +1 -0
- package/dist/commonjs/classic/runs/index.js +22 -0
- package/dist/commonjs/classic/runs/index.js.map +1 -0
- package/dist/commonjs/classic/threads/index.d.ts +19 -0
- package/dist/commonjs/classic/threads/index.d.ts.map +1 -0
- package/dist/commonjs/classic/threads/index.js +19 -0
- package/dist/commonjs/classic/threads/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.js +19 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.js +17 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStores/index.d.ts +22 -0
- package/dist/commonjs/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStores/index.js +20 -0
- package/dist/commonjs/classic/vectorStores/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +14 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +6 -3
- package/dist/commonjs/index.js.map +1 -1
- 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 +6 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +390 -338
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +445 -359
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/utils.d.ts +26 -5
- package/dist/commonjs/utils.d.ts.map +1 -1
- package/dist/commonjs/utils.js +44 -8
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/esm/agentsClient.d.ts +31 -93
- package/dist/esm/agentsClient.d.ts.map +1 -1
- package/dist/esm/agentsClient.js +17 -168
- package/dist/esm/agentsClient.js.map +1 -1
- package/dist/esm/api/files/index.d.ts +3 -0
- package/dist/esm/api/files/index.d.ts.map +1 -0
- package/dist/esm/api/files/index.js +4 -0
- package/dist/esm/api/files/index.js.map +1 -0
- package/dist/esm/api/files/operations.d.ts +45 -0
- package/dist/esm/api/files/operations.d.ts.map +1 -0
- package/dist/esm/api/files/operations.js +154 -0
- package/dist/esm/api/files/operations.js.map +1 -0
- package/dist/esm/api/files/options.d.ts +23 -0
- package/dist/esm/api/files/options.d.ts.map +1 -0
- package/dist/esm/api/files/options.js +4 -0
- package/dist/esm/api/files/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -2
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/messages/index.d.ts +3 -0
- package/dist/esm/api/messages/index.d.ts.map +1 -0
- package/dist/esm/api/messages/index.js +4 -0
- package/dist/esm/api/messages/index.js.map +1 -0
- package/dist/esm/api/messages/operations.d.ts +22 -0
- package/dist/esm/api/messages/operations.d.ts.map +1 -0
- package/dist/esm/api/messages/operations.js +108 -0
- package/dist/esm/api/messages/operations.js.map +1 -0
- package/dist/esm/api/messages/options.d.ts +31 -0
- package/dist/esm/api/messages/options.d.ts.map +1 -0
- package/dist/esm/api/messages/options.js +4 -0
- package/dist/esm/api/messages/options.js.map +1 -0
- package/dist/esm/api/operations.d.ts +8 -183
- package/dist/esm/api/operations.d.ts.map +1 -1
- package/dist/esm/api/operations.js +14 -1063
- package/dist/esm/api/operations.js.map +1 -1
- package/dist/esm/api/options.d.ts +25 -322
- package/dist/esm/api/options.d.ts.map +1 -1
- package/dist/esm/api/options.js.map +1 -1
- package/dist/esm/api/runSteps/index.d.ts +3 -0
- package/dist/esm/api/runSteps/index.d.ts.map +1 -0
- package/dist/esm/api/runSteps/index.js +4 -0
- package/dist/esm/api/runSteps/index.js.map +1 -0
- package/dist/esm/api/runSteps/operations.d.ts +14 -0
- package/dist/esm/api/runSteps/operations.d.ts.map +1 -0
- package/dist/esm/api/runSteps/operations.js +67 -0
- package/dist/esm/api/runSteps/operations.js.map +1 -0
- package/dist/esm/api/runSteps/options.d.ts +27 -0
- package/dist/esm/api/runSteps/options.d.ts.map +1 -0
- package/dist/esm/api/runSteps/options.js +4 -0
- package/dist/esm/api/runSteps/options.js.map +1 -0
- package/dist/esm/api/runs/index.d.ts +3 -0
- package/dist/esm/api/runs/index.d.ts.map +1 -0
- package/dist/esm/api/runs/index.js +4 -0
- package/dist/esm/api/runs/index.js.map +1 -0
- package/dist/esm/api/runs/operations.d.ts +31 -0
- package/dist/esm/api/runs/operations.d.ts.map +1 -0
- package/dist/esm/api/runs/operations.js +190 -0
- package/dist/esm/api/runs/operations.js.map +1 -0
- package/dist/esm/api/runs/options.d.ts +92 -0
- package/dist/esm/api/runs/options.d.ts.map +1 -0
- package/dist/esm/api/runs/options.js +4 -0
- package/dist/esm/api/runs/options.js.map +1 -0
- package/dist/esm/api/threads/index.d.ts +3 -0
- package/dist/esm/api/threads/index.d.ts.map +1 -0
- package/dist/esm/api/threads/index.js +4 -0
- package/dist/esm/api/threads/index.js.map +1 -0
- package/dist/esm/api/threads/operations.d.ts +26 -0
- package/dist/esm/api/threads/operations.d.ts.map +1 -0
- package/dist/esm/api/threads/operations.js +131 -0
- package/dist/esm/api/threads/operations.js.map +1 -0
- package/dist/esm/api/threads/options.d.ts +44 -0
- package/dist/esm/api/threads/options.d.ts.map +1 -0
- package/dist/esm/api/threads/options.js +4 -0
- package/dist/esm/api/threads/options.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/esm/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/esm/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/esm/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/esm/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/esm/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/index.js +4 -0
- package/dist/esm/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/esm/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/operations.js +176 -0
- package/dist/esm/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/esm/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/options.js +4 -0
- package/dist/esm/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/esm/api/vectorStores/index.d.ts +3 -0
- package/dist/esm/api/vectorStores/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/index.js +4 -0
- package/dist/esm/api/vectorStores/index.js.map +1 -0
- package/dist/esm/api/vectorStores/operations.d.ts +33 -0
- package/dist/esm/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/operations.js +184 -0
- package/dist/esm/api/vectorStores/operations.js.map +1 -0
- package/dist/esm/api/vectorStores/options.d.ts +45 -0
- package/dist/esm/api/vectorStores/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/options.js +4 -0
- package/dist/esm/api/vectorStores/options.js.map +1 -0
- package/dist/esm/classic/files/index.d.ts +22 -0
- package/dist/esm/classic/files/index.d.ts.map +1 -0
- package/dist/esm/classic/files/index.js +17 -0
- package/dist/esm/classic/files/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/messages/index.d.ts +17 -0
- package/dist/esm/classic/messages/index.d.ts.map +1 -0
- package/dist/esm/classic/messages/index.js +15 -0
- package/dist/esm/classic/messages/index.js.map +1 -0
- package/dist/esm/classic/runSteps/index.d.ts +14 -0
- package/dist/esm/classic/runSteps/index.d.ts.map +1 -0
- package/dist/esm/classic/runSteps/index.js +13 -0
- package/dist/esm/classic/runSteps/index.js.map +1 -0
- package/dist/esm/classic/runs/index.d.ts +25 -0
- package/dist/esm/classic/runs/index.d.ts.map +1 -0
- package/dist/esm/classic/runs/index.js +19 -0
- package/dist/esm/classic/runs/index.js.map +1 -0
- package/dist/esm/classic/threads/index.d.ts +19 -0
- package/dist/esm/classic/threads/index.d.ts.map +1 -0
- package/dist/esm/classic/threads/index.js +16 -0
- package/dist/esm/classic/threads/index.js.map +1 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/esm/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/esm/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStoreFiles/index.js +14 -0
- package/dist/esm/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/esm/classic/vectorStores/index.d.ts +22 -0
- package/dist/esm/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStores/index.js +17 -0
- package/dist/esm/classic/vectorStores/index.js.map +1 -0
- package/dist/esm/index.d.ts +14 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- 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 +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +390 -338
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +377 -297
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts +1 -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/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +2 -2
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/utils.d.ts +26 -5
- package/dist/esm/utils.d.ts.map +1 -1
- package/dist/esm/utils.js +44 -8
- package/dist/esm/utils.js.map +1 -1
- package/dist/react-native/agentsClient.d.ts +31 -93
- package/dist/react-native/agentsClient.d.ts.map +1 -1
- package/dist/react-native/agentsClient.js +17 -168
- package/dist/react-native/agentsClient.js.map +1 -1
- package/dist/react-native/api/files/index.d.ts +3 -0
- package/dist/react-native/api/files/index.d.ts.map +1 -0
- package/dist/react-native/api/files/index.js +4 -0
- package/dist/react-native/api/files/index.js.map +1 -0
- package/dist/react-native/api/files/operations.d.ts +45 -0
- package/dist/react-native/api/files/operations.d.ts.map +1 -0
- package/dist/react-native/api/files/operations.js +154 -0
- package/dist/react-native/api/files/operations.js.map +1 -0
- package/dist/react-native/api/files/options.d.ts +23 -0
- package/dist/react-native/api/files/options.d.ts.map +1 -0
- package/dist/react-native/api/files/options.js +4 -0
- package/dist/react-native/api/files/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -2
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/messages/index.d.ts +3 -0
- package/dist/react-native/api/messages/index.d.ts.map +1 -0
- package/dist/react-native/api/messages/index.js +4 -0
- package/dist/react-native/api/messages/index.js.map +1 -0
- package/dist/react-native/api/messages/operations.d.ts +22 -0
- package/dist/react-native/api/messages/operations.d.ts.map +1 -0
- package/dist/react-native/api/messages/operations.js +108 -0
- package/dist/react-native/api/messages/operations.js.map +1 -0
- package/dist/react-native/api/messages/options.d.ts +31 -0
- package/dist/react-native/api/messages/options.d.ts.map +1 -0
- package/dist/react-native/api/messages/options.js +4 -0
- package/dist/react-native/api/messages/options.js.map +1 -0
- package/dist/react-native/api/operations.d.ts +8 -183
- package/dist/react-native/api/operations.d.ts.map +1 -1
- package/dist/react-native/api/operations.js +14 -1063
- package/dist/react-native/api/operations.js.map +1 -1
- package/dist/react-native/api/options.d.ts +25 -322
- package/dist/react-native/api/options.d.ts.map +1 -1
- package/dist/react-native/api/options.js.map +1 -1
- package/dist/react-native/api/runSteps/index.d.ts +3 -0
- package/dist/react-native/api/runSteps/index.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/index.js +4 -0
- package/dist/react-native/api/runSteps/index.js.map +1 -0
- package/dist/react-native/api/runSteps/operations.d.ts +14 -0
- package/dist/react-native/api/runSteps/operations.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/operations.js +67 -0
- package/dist/react-native/api/runSteps/operations.js.map +1 -0
- package/dist/react-native/api/runSteps/options.d.ts +27 -0
- package/dist/react-native/api/runSteps/options.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/options.js +4 -0
- package/dist/react-native/api/runSteps/options.js.map +1 -0
- package/dist/react-native/api/runs/index.d.ts +3 -0
- package/dist/react-native/api/runs/index.d.ts.map +1 -0
- package/dist/react-native/api/runs/index.js +4 -0
- package/dist/react-native/api/runs/index.js.map +1 -0
- package/dist/react-native/api/runs/operations.d.ts +31 -0
- package/dist/react-native/api/runs/operations.d.ts.map +1 -0
- package/dist/react-native/api/runs/operations.js +190 -0
- package/dist/react-native/api/runs/operations.js.map +1 -0
- package/dist/react-native/api/runs/options.d.ts +92 -0
- package/dist/react-native/api/runs/options.d.ts.map +1 -0
- package/dist/react-native/api/runs/options.js +4 -0
- package/dist/react-native/api/runs/options.js.map +1 -0
- package/dist/react-native/api/threads/index.d.ts +3 -0
- package/dist/react-native/api/threads/index.d.ts.map +1 -0
- package/dist/react-native/api/threads/index.js +4 -0
- package/dist/react-native/api/threads/index.js.map +1 -0
- package/dist/react-native/api/threads/operations.d.ts +26 -0
- package/dist/react-native/api/threads/operations.d.ts.map +1 -0
- package/dist/react-native/api/threads/operations.js +131 -0
- package/dist/react-native/api/threads/operations.js.map +1 -0
- package/dist/react-native/api/threads/options.d.ts +44 -0
- package/dist/react-native/api/threads/options.d.ts.map +1 -0
- package/dist/react-native/api/threads/options.js +4 -0
- package/dist/react-native/api/threads/options.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/react-native/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/index.js +4 -0
- package/dist/react-native/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/react-native/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/operations.js +176 -0
- package/dist/react-native/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/react-native/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/options.js +4 -0
- package/dist/react-native/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/react-native/api/vectorStores/index.d.ts +3 -0
- package/dist/react-native/api/vectorStores/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/index.js +4 -0
- package/dist/react-native/api/vectorStores/index.js.map +1 -0
- package/dist/react-native/api/vectorStores/operations.d.ts +33 -0
- package/dist/react-native/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/operations.js +184 -0
- package/dist/react-native/api/vectorStores/operations.js.map +1 -0
- package/dist/react-native/api/vectorStores/options.d.ts +45 -0
- package/dist/react-native/api/vectorStores/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/options.js +4 -0
- package/dist/react-native/api/vectorStores/options.js.map +1 -0
- package/dist/react-native/classic/files/index.d.ts +22 -0
- package/dist/react-native/classic/files/index.d.ts.map +1 -0
- package/dist/react-native/classic/files/index.js +17 -0
- package/dist/react-native/classic/files/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +9 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/messages/index.d.ts +17 -0
- package/dist/react-native/classic/messages/index.d.ts.map +1 -0
- package/dist/react-native/classic/messages/index.js +15 -0
- package/dist/react-native/classic/messages/index.js.map +1 -0
- package/dist/react-native/classic/runSteps/index.d.ts +14 -0
- package/dist/react-native/classic/runSteps/index.d.ts.map +1 -0
- package/dist/react-native/classic/runSteps/index.js +13 -0
- package/dist/react-native/classic/runSteps/index.js.map +1 -0
- package/dist/react-native/classic/runs/index.d.ts +25 -0
- package/dist/react-native/classic/runs/index.d.ts.map +1 -0
- package/dist/react-native/classic/runs/index.js +19 -0
- package/dist/react-native/classic/runs/index.js.map +1 -0
- package/dist/react-native/classic/threads/index.d.ts +19 -0
- package/dist/react-native/classic/threads/index.d.ts.map +1 -0
- package/dist/react-native/classic/threads/index.js +16 -0
- package/dist/react-native/classic/threads/index.js.map +1 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/react-native/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/react-native/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStoreFiles/index.js +14 -0
- package/dist/react-native/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/react-native/classic/vectorStores/index.d.ts +22 -0
- package/dist/react-native/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStores/index.js +17 -0
- package/dist/react-native/classic/vectorStores/index.js.map +1 -0
- package/dist/react-native/index.d.ts +14 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -2
- 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 +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +390 -338
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +377 -297
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts +1 -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/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +2 -2
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/utils.d.ts +26 -5
- package/dist/react-native/utils.d.ts.map +1 -1
- package/dist/react-native/utils.js +44 -8
- package/dist/react-native/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FileContents } from "../static-helpers/multipartHelpers.js";
|
|
2
2
|
/** An abstract representation of an input tool definition that an agent can use. */
|
|
3
3
|
export interface ToolDefinition {
|
|
4
4
|
/** The object type. */
|
|
@@ -73,11 +73,47 @@ export declare function functionDefinitionDeserializer(item: any): FunctionDefin
|
|
|
73
73
|
export interface BingGroundingToolDefinition extends ToolDefinition {
|
|
74
74
|
/** The object type, which is always 'bing_grounding'. */
|
|
75
75
|
type: "bing_grounding";
|
|
76
|
-
/** The list of
|
|
77
|
-
bingGrounding:
|
|
76
|
+
/** The list of search configurations used by the bing grounding tool. */
|
|
77
|
+
bingGrounding: BingGroundingSearchConfigurationList;
|
|
78
78
|
}
|
|
79
79
|
export declare function bingGroundingToolDefinitionSerializer(item: BingGroundingToolDefinition): any;
|
|
80
80
|
export declare function bingGroundingToolDefinitionDeserializer(item: any): BingGroundingToolDefinition;
|
|
81
|
+
/** A list of search configurations currently used by the `bing_grounding` tool. */
|
|
82
|
+
export interface BingGroundingSearchConfigurationList {
|
|
83
|
+
/**
|
|
84
|
+
* The search configurations attached to this tool. There can be a maximum of 1
|
|
85
|
+
* search configuration resource attached to the tool.
|
|
86
|
+
*/
|
|
87
|
+
searchConfigurations: BingGroundingSearchConfiguration[];
|
|
88
|
+
}
|
|
89
|
+
export declare function bingGroundingSearchConfigurationListSerializer(item: BingGroundingSearchConfigurationList): any;
|
|
90
|
+
export declare function bingGroundingSearchConfigurationListDeserializer(item: any): BingGroundingSearchConfigurationList;
|
|
91
|
+
export declare function bingGroundingSearchConfigurationArraySerializer(result: Array<BingGroundingSearchConfiguration>): any[];
|
|
92
|
+
export declare function bingGroundingSearchConfigurationArrayDeserializer(result: Array<BingGroundingSearchConfiguration>): any[];
|
|
93
|
+
/** Search configuration for Bing Grounding */
|
|
94
|
+
export interface BingGroundingSearchConfiguration {
|
|
95
|
+
/** Connection id for grounding with bing search */
|
|
96
|
+
connectionId: string;
|
|
97
|
+
/** The market where the results come from. */
|
|
98
|
+
market?: string;
|
|
99
|
+
/** The language to use for user interface strings when calling Bing API. */
|
|
100
|
+
setLang?: string;
|
|
101
|
+
/** The number of search results to return in the bing api response */
|
|
102
|
+
count?: number;
|
|
103
|
+
/** Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters */
|
|
104
|
+
freshness?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare function bingGroundingSearchConfigurationSerializer(item: BingGroundingSearchConfiguration): any;
|
|
107
|
+
export declare function bingGroundingSearchConfigurationDeserializer(item: any): BingGroundingSearchConfiguration;
|
|
108
|
+
/** The input definition information for a Microsoft Fabric tool as used to configure an agent. */
|
|
109
|
+
export interface MicrosoftFabricToolDefinition extends ToolDefinition {
|
|
110
|
+
/** The object type, which is always 'fabric_dataagent'. */
|
|
111
|
+
type: "fabric_dataagent";
|
|
112
|
+
/** The list of connections used by the Microsoft Fabric tool. */
|
|
113
|
+
fabricDataagent: ToolConnectionList;
|
|
114
|
+
}
|
|
115
|
+
export declare function microsoftFabricToolDefinitionSerializer(item: MicrosoftFabricToolDefinition): any;
|
|
116
|
+
export declare function microsoftFabricToolDefinitionDeserializer(item: any): MicrosoftFabricToolDefinition;
|
|
81
117
|
/** A set of connection resources currently used by either the `bing_grounding`, `fabric_dataagent`, or `sharepoint_grounding` tools. */
|
|
82
118
|
export interface ToolConnectionList {
|
|
83
119
|
/**
|
|
@@ -97,15 +133,6 @@ export interface ToolConnection {
|
|
|
97
133
|
}
|
|
98
134
|
export declare function toolConnectionSerializer(item: ToolConnection): any;
|
|
99
135
|
export declare function toolConnectionDeserializer(item: any): ToolConnection;
|
|
100
|
-
/** The input definition information for a Microsoft Fabric tool as used to configure an agent. */
|
|
101
|
-
export interface MicrosoftFabricToolDefinition extends ToolDefinition {
|
|
102
|
-
/** The object type, which is always 'fabric_dataagent'. */
|
|
103
|
-
type: "fabric_dataagent";
|
|
104
|
-
/** The list of connections used by the Microsoft Fabric tool. */
|
|
105
|
-
fabricDataagent: ToolConnectionList;
|
|
106
|
-
}
|
|
107
|
-
export declare function microsoftFabricToolDefinitionSerializer(item: MicrosoftFabricToolDefinition): any;
|
|
108
|
-
export declare function microsoftFabricToolDefinitionDeserializer(item: any): MicrosoftFabricToolDefinition;
|
|
109
136
|
/** The input definition information for a sharepoint tool as used to configure an agent. */
|
|
110
137
|
export interface SharepointToolDefinition extends ToolDefinition {
|
|
111
138
|
/** The object type, which is always 'sharepoint_grounding'. */
|
|
@@ -209,31 +236,39 @@ export interface BingCustomSearchToolDefinition extends ToolDefinition {
|
|
|
209
236
|
/** The object type, which is always 'bing_custom_search'. */
|
|
210
237
|
type: "bing_custom_search";
|
|
211
238
|
/** The list of search configurations used by the bing custom search tool. */
|
|
212
|
-
bingCustomSearch:
|
|
239
|
+
bingCustomSearch: BingCustomSearchConfigurationList;
|
|
213
240
|
}
|
|
214
241
|
export declare function bingCustomSearchToolDefinitionSerializer(item: BingCustomSearchToolDefinition): any;
|
|
215
242
|
export declare function bingCustomSearchToolDefinitionDeserializer(item: any): BingCustomSearchToolDefinition;
|
|
216
243
|
/** A list of search configurations currently used by the `bing_custom_search` tool. */
|
|
217
|
-
export interface
|
|
244
|
+
export interface BingCustomSearchConfigurationList {
|
|
218
245
|
/**
|
|
219
246
|
* The connections attached to this tool. There can be a maximum of 1 connection
|
|
220
247
|
* resource attached to the tool.
|
|
221
248
|
*/
|
|
222
|
-
searchConfigurations:
|
|
223
|
-
}
|
|
224
|
-
export declare function
|
|
225
|
-
export declare function
|
|
226
|
-
export declare function
|
|
227
|
-
export declare function
|
|
228
|
-
/** A custom search configuration. */
|
|
229
|
-
export interface
|
|
230
|
-
/**
|
|
249
|
+
searchConfigurations: BingCustomSearchConfiguration[];
|
|
250
|
+
}
|
|
251
|
+
export declare function bingCustomSearchConfigurationListSerializer(item: BingCustomSearchConfigurationList): any;
|
|
252
|
+
export declare function bingCustomSearchConfigurationListDeserializer(item: any): BingCustomSearchConfigurationList;
|
|
253
|
+
export declare function bingCustomSearchConfigurationArraySerializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
254
|
+
export declare function bingCustomSearchConfigurationArrayDeserializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
255
|
+
/** A bing custom search configuration. */
|
|
256
|
+
export interface BingCustomSearchConfiguration {
|
|
257
|
+
/** Connection id for grounding with bing search */
|
|
231
258
|
connectionId: string;
|
|
232
259
|
/** Name of the custom configuration instance given to config. */
|
|
233
260
|
instanceName: string;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
261
|
+
/** The market where the results come from. */
|
|
262
|
+
market?: string;
|
|
263
|
+
/** The language to use for user interface strings when calling Bing API. */
|
|
264
|
+
setLang?: string;
|
|
265
|
+
/** The number of search results to return in the bing api response */
|
|
266
|
+
count?: number;
|
|
267
|
+
/** Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters */
|
|
268
|
+
freshness?: string;
|
|
269
|
+
}
|
|
270
|
+
export declare function bingCustomSearchConfigurationSerializer(item: BingCustomSearchConfiguration): any;
|
|
271
|
+
export declare function bingCustomSearchConfigurationDeserializer(item: any): BingCustomSearchConfiguration;
|
|
237
272
|
/** The input definition information for a connected agent tool which defines a domain specific sub-agent */
|
|
238
273
|
export interface ConnectedAgentToolDefinition extends ToolDefinition {
|
|
239
274
|
/** The object type, which is always 'connected_agent'. */
|
|
@@ -337,7 +372,10 @@ export declare function vectorStoreDataSourceDeserializer(item: any): VectorStor
|
|
|
337
372
|
* Type of vector storage asset. Asset type may be a uri_asset, in this case it should contain asset URI ID,
|
|
338
373
|
* in the case of id_asset it should contain the data ID.
|
|
339
374
|
*/
|
|
340
|
-
export
|
|
375
|
+
export declare enum VectorStoreDataSourceAssetType {
|
|
376
|
+
UriAsset = "uri_asset",
|
|
377
|
+
IdAsset = "id_asset"
|
|
378
|
+
}
|
|
341
379
|
/** A set of resources that are used by the `file_search` tool. */
|
|
342
380
|
export interface FileSearchToolResource {
|
|
343
381
|
/**
|
|
@@ -397,8 +435,10 @@ export interface AISearchIndexResource {
|
|
|
397
435
|
queryType?: AzureAISearchQueryType;
|
|
398
436
|
/** Number of documents to retrieve from search and present to the model. */
|
|
399
437
|
topK?: number;
|
|
400
|
-
/**
|
|
438
|
+
/** filter string for search resource. */
|
|
401
439
|
filter?: string;
|
|
440
|
+
/** Index asset id for search resource. */
|
|
441
|
+
indexAssetId?: string;
|
|
402
442
|
}
|
|
403
443
|
export declare function aiSearchIndexResourceSerializer(item: AISearchIndexResource): any;
|
|
404
444
|
export declare function aiSearchIndexResourceDeserializer(item: any): AISearchIndexResource;
|
|
@@ -408,12 +448,12 @@ export type AzureAISearchQueryType = "simple" | "semantic" | "vector" | "vector_
|
|
|
408
448
|
* An object describing the expected output of the model. If `json_object` only `function` type `tools` are allowed to be passed to the Run.
|
|
409
449
|
* If `text` the model can return text or any value needed.
|
|
410
450
|
*/
|
|
411
|
-
export interface
|
|
451
|
+
export interface AgentsResponseFormat {
|
|
412
452
|
/** Must be one of `text` or `json_object`. */
|
|
413
453
|
type?: ResponseFormat;
|
|
414
454
|
}
|
|
415
|
-
export declare function
|
|
416
|
-
export declare function
|
|
455
|
+
export declare function agentsResponseFormatSerializer(item: AgentsResponseFormat): any;
|
|
456
|
+
export declare function agentsResponseFormatDeserializer(item: any): AgentsResponseFormat;
|
|
417
457
|
/** Possible API response formats. */
|
|
418
458
|
export type ResponseFormat = "text" | "json_object";
|
|
419
459
|
/** The type of response format being defined: `json_schema` */
|
|
@@ -438,12 +478,12 @@ export declare function responseFormatJsonSchemaSerializer(item: ResponseFormatJ
|
|
|
438
478
|
export declare function responseFormatJsonSchemaDeserializer(item: any): ResponseFormatJsonSchema;
|
|
439
479
|
export declare function toolDefinitionUnionArraySerializer(result: Array<ToolDefinitionUnion>): any[];
|
|
440
480
|
export declare function toolDefinitionUnionArrayDeserializer(result: Array<ToolDefinitionUnion>): any[];
|
|
441
|
-
/** Alias for
|
|
442
|
-
export type
|
|
443
|
-
export declare function
|
|
444
|
-
export declare function
|
|
481
|
+
/** Alias for AgentsResponseFormatOption */
|
|
482
|
+
export type AgentsResponseFormatOption = string | AgentsResponseFormatMode | AgentsResponseFormat | ResponseFormatJsonSchemaType;
|
|
483
|
+
export declare function agentsResponseFormatOptionSerializer(item: AgentsResponseFormatOption): any;
|
|
484
|
+
export declare function agentsResponseFormatOptionDeserializer(item: any): AgentsResponseFormatOption;
|
|
445
485
|
/** Represents the mode in which the model will handle the return format of a tool call. */
|
|
446
|
-
export type
|
|
486
|
+
export type AgentsResponseFormatMode = "auto" | "none";
|
|
447
487
|
/** Represents an agent that can call the model and use tools. */
|
|
448
488
|
export interface Agent {
|
|
449
489
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -480,25 +520,21 @@ export interface Agent {
|
|
|
480
520
|
*/
|
|
481
521
|
topP: number | null;
|
|
482
522
|
/** The response format of the tool calls used by this agent. */
|
|
483
|
-
responseFormat?:
|
|
523
|
+
responseFormat?: AgentsResponseFormatOption | null;
|
|
484
524
|
/** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
|
|
485
525
|
metadata: Record<string, string> | null;
|
|
486
526
|
}
|
|
487
527
|
export declare function agentDeserializer(item: any): Agent;
|
|
488
528
|
/** The response data for a requested list of items. */
|
|
489
|
-
export interface
|
|
490
|
-
/** The object type, which is always list. */
|
|
491
|
-
object: "list";
|
|
529
|
+
export interface _AgentsPagedResultAgent {
|
|
492
530
|
/** The requested list of items. */
|
|
493
531
|
data: Agent[];
|
|
494
|
-
/** The first ID represented in this list. */
|
|
495
|
-
firstId: string;
|
|
496
532
|
/** The last ID represented in this list. */
|
|
497
|
-
lastId
|
|
533
|
+
lastId?: string;
|
|
498
534
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
499
535
|
hasMore: boolean;
|
|
500
536
|
}
|
|
501
|
-
export declare function
|
|
537
|
+
export declare function _agentsPagedResultAgentDeserializer(item: any): _AgentsPagedResultAgent;
|
|
502
538
|
export declare function agentArrayDeserializer(result: Array<Agent>): any[];
|
|
503
539
|
/** The status of an agent deletion operation. */
|
|
504
540
|
export interface AgentDeletionStatus {
|
|
@@ -510,6 +546,21 @@ export interface AgentDeletionStatus {
|
|
|
510
546
|
object: "assistant.deleted";
|
|
511
547
|
}
|
|
512
548
|
export declare function agentDeletionStatusDeserializer(item: any): AgentDeletionStatus;
|
|
549
|
+
/** The details used to create a new agent thread. */
|
|
550
|
+
export interface AgentThreadCreationOptions {
|
|
551
|
+
/** The initial messages to associate with the new thread. */
|
|
552
|
+
messages?: ThreadMessageOptions[];
|
|
553
|
+
/**
|
|
554
|
+
* A set of resources that are made available to the agent's tools in this thread. The resources are specific to the
|
|
555
|
+
* type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires
|
|
556
|
+
* a list of vector store IDs.
|
|
557
|
+
*/
|
|
558
|
+
toolResources?: ToolResources | null;
|
|
559
|
+
/** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
|
|
560
|
+
metadata?: Record<string, string> | null;
|
|
561
|
+
}
|
|
562
|
+
export declare function agentThreadCreationOptionsSerializer(item: AgentThreadCreationOptions): any;
|
|
563
|
+
export declare function threadMessageOptionsArraySerializer(result: Array<ThreadMessageOptions>): any[];
|
|
513
564
|
/**
|
|
514
565
|
* A single message within an agent thread,
|
|
515
566
|
* as provided during that thread's creation for its initial state.
|
|
@@ -618,7 +669,221 @@ export declare function messageAttachmentToolDefinitionDeserializer(item: any):
|
|
|
618
669
|
export type _MessageAttachmentTool = CodeInterpreterToolDefinition | FileSearchToolDefinition;
|
|
619
670
|
export declare function _messageAttachmentToolSerializer(item: _MessageAttachmentTool): any;
|
|
620
671
|
export declare function _messageAttachmentToolDeserializer(item: any): _MessageAttachmentTool;
|
|
621
|
-
|
|
672
|
+
/**
|
|
673
|
+
* Request object. A set of resources that are used by the agent's tools. The resources are specific to the type of tool.
|
|
674
|
+
* For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of
|
|
675
|
+
* vector store IDs.
|
|
676
|
+
*/
|
|
677
|
+
export interface UpdateToolResourcesOptions {
|
|
678
|
+
/**
|
|
679
|
+
* Overrides the list of file IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files
|
|
680
|
+
* associated with the tool.
|
|
681
|
+
*/
|
|
682
|
+
codeInterpreter?: UpdateCodeInterpreterToolResourceOptions;
|
|
683
|
+
/** Overrides the vector store attached to this agent. There can be a maximum of 1 vector store attached to the agent. */
|
|
684
|
+
fileSearch?: UpdateFileSearchToolResourceOptions;
|
|
685
|
+
/** Overrides the resources to be used by the `azure_ai_search` tool consisting of index IDs and names. */
|
|
686
|
+
azureAISearch?: AzureAISearchResource;
|
|
687
|
+
}
|
|
688
|
+
export declare function updateToolResourcesOptionsSerializer(item: UpdateToolResourcesOptions): any;
|
|
689
|
+
export declare function updateToolResourcesOptionsDeserializer(item: any): UpdateToolResourcesOptions;
|
|
690
|
+
/** Request object to update `code_interpreted` tool resources. */
|
|
691
|
+
export interface UpdateCodeInterpreterToolResourceOptions {
|
|
692
|
+
/** A list of file IDs to override the current list of the agent. */
|
|
693
|
+
fileIds?: string[];
|
|
694
|
+
}
|
|
695
|
+
export declare function updateCodeInterpreterToolResourceOptionsSerializer(item: UpdateCodeInterpreterToolResourceOptions): any;
|
|
696
|
+
export declare function updateCodeInterpreterToolResourceOptionsDeserializer(item: any): UpdateCodeInterpreterToolResourceOptions;
|
|
697
|
+
/** Request object to update `file_search` tool resources. */
|
|
698
|
+
export interface UpdateFileSearchToolResourceOptions {
|
|
699
|
+
/** A list of vector store IDs to override the current list of the agent. */
|
|
700
|
+
vectorStoreIds?: string[];
|
|
701
|
+
}
|
|
702
|
+
export declare function updateFileSearchToolResourceOptionsSerializer(item: UpdateFileSearchToolResourceOptions): any;
|
|
703
|
+
export declare function updateFileSearchToolResourceOptionsDeserializer(item: any): UpdateFileSearchToolResourceOptions;
|
|
704
|
+
/**
|
|
705
|
+
* Controls for how a thread will be truncated prior to the run. Use this to control the initial
|
|
706
|
+
* context window of the run.
|
|
707
|
+
*/
|
|
708
|
+
export interface TruncationObject {
|
|
709
|
+
/**
|
|
710
|
+
* The truncation strategy to use for the thread. The default is `auto`. If set to `last_messages`, the thread will
|
|
711
|
+
* be truncated to the `lastMessages` count most recent messages in the thread. When set to `auto`, messages in the middle of the thread
|
|
712
|
+
* will be dropped to fit the context length of the model, `max_prompt_tokens`.
|
|
713
|
+
*/
|
|
714
|
+
type: TruncationStrategy;
|
|
715
|
+
/** The number of most recent messages from the thread when constructing the context for the run. */
|
|
716
|
+
lastMessages?: number | null;
|
|
717
|
+
}
|
|
718
|
+
export declare function truncationObjectSerializer(item: TruncationObject): any;
|
|
719
|
+
export declare function truncationObjectDeserializer(item: any): TruncationObject;
|
|
720
|
+
/** Possible truncation strategies for the thread. */
|
|
721
|
+
export type TruncationStrategy = "auto" | "last_messages";
|
|
722
|
+
/** Specifies a tool the model should use. Use to force the model to call a specific tool. */
|
|
723
|
+
export interface AgentsNamedToolChoice {
|
|
724
|
+
/** the type of tool. If type is `function`, the function name must be set. */
|
|
725
|
+
type: AgentsNamedToolChoiceType;
|
|
726
|
+
/** The name of the function to call */
|
|
727
|
+
function?: FunctionName;
|
|
728
|
+
}
|
|
729
|
+
export declare function agentsNamedToolChoiceSerializer(item: AgentsNamedToolChoice): any;
|
|
730
|
+
export declare function agentsNamedToolChoiceDeserializer(item: any): AgentsNamedToolChoice;
|
|
731
|
+
/** Available tool types for agents named tools. */
|
|
732
|
+
export type AgentsNamedToolChoiceType = "function" | "code_interpreter" | "file_search" | "bing_grounding" | "fabric_dataagent" | "sharepoint_grounding" | "azure_ai_search" | "bing_custom_search" | "connected_agent";
|
|
733
|
+
/** The function name that will be used, if using the `function` tool */
|
|
734
|
+
export interface FunctionName {
|
|
735
|
+
/** The name of the function to call */
|
|
736
|
+
name: string;
|
|
737
|
+
}
|
|
738
|
+
export declare function functionNameSerializer(item: FunctionName): any;
|
|
739
|
+
export declare function functionNameDeserializer(item: any): FunctionName;
|
|
740
|
+
/** Alias for AgentsToolChoiceOption */
|
|
741
|
+
export type AgentsToolChoiceOption = string | AgentsToolChoiceOptionMode | AgentsNamedToolChoice;
|
|
742
|
+
export declare function agentsToolChoiceOptionSerializer(item: AgentsToolChoiceOption): any;
|
|
743
|
+
export declare function agentsToolChoiceOptionDeserializer(item: any): AgentsToolChoiceOption;
|
|
744
|
+
/** Specifies how the tool choice will be used */
|
|
745
|
+
export type AgentsToolChoiceOptionMode = "none" | "auto";
|
|
746
|
+
/** Data representing a single evaluation run of an agent thread. */
|
|
747
|
+
export interface ThreadRun {
|
|
748
|
+
/** The identifier, which can be referenced in API endpoints. */
|
|
749
|
+
id: string;
|
|
750
|
+
/** The object type, which is always 'thread.run'. */
|
|
751
|
+
object: "thread.run";
|
|
752
|
+
/** The ID of the thread associated with this run. */
|
|
753
|
+
threadId: string;
|
|
754
|
+
/** The ID of the agent associated with the thread this run was performed against. */
|
|
755
|
+
assistantId: string;
|
|
756
|
+
/** The status of the agent thread run. */
|
|
757
|
+
status: RunStatus;
|
|
758
|
+
/** The details of the action required for the agent thread run to continue. */
|
|
759
|
+
requiredAction?: RequiredActionUnion | null;
|
|
760
|
+
/** The last error, if any, encountered by this agent thread run. */
|
|
761
|
+
lastError: RunError | null;
|
|
762
|
+
/** The ID of the model to use. */
|
|
763
|
+
model: string;
|
|
764
|
+
/** The overridden system instructions used for this agent thread run. */
|
|
765
|
+
instructions: string;
|
|
766
|
+
/** The overridden enabled tools used for this agent thread run. */
|
|
767
|
+
tools: ToolDefinitionUnion[];
|
|
768
|
+
/** The Unix timestamp, in seconds, representing when this object was created. */
|
|
769
|
+
createdAt: Date;
|
|
770
|
+
/** The Unix timestamp, in seconds, representing when this item expires. */
|
|
771
|
+
expiresAt: Date | null;
|
|
772
|
+
/** The Unix timestamp, in seconds, representing when this item was started. */
|
|
773
|
+
startedAt: Date | null;
|
|
774
|
+
/** The Unix timestamp, in seconds, representing when this completed. */
|
|
775
|
+
completedAt: Date | null;
|
|
776
|
+
/** The Unix timestamp, in seconds, representing when this was cancelled. */
|
|
777
|
+
cancelledAt: Date | null;
|
|
778
|
+
/** The Unix timestamp, in seconds, representing when this failed. */
|
|
779
|
+
failedAt: Date | null;
|
|
780
|
+
/** Details on why the run is incomplete. Will be `null` if the run is not incomplete. */
|
|
781
|
+
incompleteDetails: IncompleteRunDetails | null;
|
|
782
|
+
/** Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). */
|
|
783
|
+
usage: RunCompletionUsage | null;
|
|
784
|
+
/** The sampling temperature used for this run. If not set, defaults to 1. */
|
|
785
|
+
temperature?: number | null;
|
|
786
|
+
/** The nucleus sampling value used for this run. If not set, defaults to 1. */
|
|
787
|
+
topP?: number | null;
|
|
788
|
+
/** The maximum number of prompt tokens specified to have been used over the course of the run. */
|
|
789
|
+
maxPromptTokens: number | null;
|
|
790
|
+
/** The maximum number of completion tokens specified to have been used over the course of the run. */
|
|
791
|
+
maxCompletionTokens: number | null;
|
|
792
|
+
/** The strategy to use for dropping messages as the context windows moves forward. */
|
|
793
|
+
truncationStrategy: TruncationObject | null;
|
|
794
|
+
/** Controls whether or not and which tool is called by the model. */
|
|
795
|
+
toolChoice: AgentsToolChoiceOption | null;
|
|
796
|
+
/** The response format of the tool calls used in this run. */
|
|
797
|
+
responseFormat: AgentsResponseFormatOption | null;
|
|
798
|
+
/** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
|
|
799
|
+
metadata: Record<string, string> | null;
|
|
800
|
+
/** Override the tools the agent can use for this run. This is useful for modifying the behavior on a per-run basis */
|
|
801
|
+
toolResources?: UpdateToolResourcesOptions | null;
|
|
802
|
+
/** Determines if tools can be executed in parallel within the run. */
|
|
803
|
+
parallelToolCalls: boolean;
|
|
804
|
+
}
|
|
805
|
+
export declare function threadRunDeserializer(item: any): ThreadRun;
|
|
806
|
+
/** Possible values for the status of an agent thread run. */
|
|
807
|
+
export type RunStatus = "queued" | "in_progress" | "requires_action" | "cancelling" | "cancelled" | "failed" | "completed" | "expired";
|
|
808
|
+
/** An abstract representation of a required action for an agent thread run to continue. */
|
|
809
|
+
export interface RequiredAction {
|
|
810
|
+
/** The object type. */
|
|
811
|
+
/** The discriminator possible values: submit_tool_outputs */
|
|
812
|
+
type: string;
|
|
813
|
+
}
|
|
814
|
+
export declare function requiredActionDeserializer(item: any): RequiredAction;
|
|
815
|
+
/** Alias for RequiredActionUnion */
|
|
816
|
+
export type RequiredActionUnion = SubmitToolOutputsAction | RequiredAction;
|
|
817
|
+
export declare function requiredActionUnionDeserializer(item: any): RequiredActionUnion;
|
|
818
|
+
/** The details for required tool calls that must be submitted for an agent thread run to continue. */
|
|
819
|
+
export interface SubmitToolOutputsAction extends RequiredAction {
|
|
820
|
+
/** The object type, which is always 'submit_tool_outputs'. */
|
|
821
|
+
type: "submit_tool_outputs";
|
|
822
|
+
/** The details describing tools that should be called to submit tool outputs. */
|
|
823
|
+
submitToolOutputs: SubmitToolOutputsDetails;
|
|
824
|
+
}
|
|
825
|
+
export declare function submitToolOutputsActionDeserializer(item: any): SubmitToolOutputsAction;
|
|
826
|
+
/** The details describing tools that should be called to submit tool outputs. */
|
|
827
|
+
export interface SubmitToolOutputsDetails {
|
|
828
|
+
/** The list of tool calls that must be resolved for the agent thread run to continue. */
|
|
829
|
+
toolCalls: RequiredToolCallUnion[];
|
|
830
|
+
}
|
|
831
|
+
export declare function submitToolOutputsDetailsDeserializer(item: any): SubmitToolOutputsDetails;
|
|
832
|
+
export declare function requiredToolCallUnionArrayDeserializer(result: Array<RequiredToolCallUnion>): any[];
|
|
833
|
+
/** An abstract representation of a tool invocation needed by the model to continue a run. */
|
|
834
|
+
export interface RequiredToolCall {
|
|
835
|
+
/** The object type for the required tool call. */
|
|
836
|
+
/** The discriminator possible values: function */
|
|
837
|
+
type: string;
|
|
838
|
+
/** The ID of the tool call. This ID must be referenced when submitting tool outputs. */
|
|
839
|
+
id: string;
|
|
840
|
+
}
|
|
841
|
+
export declare function requiredToolCallDeserializer(item: any): RequiredToolCall;
|
|
842
|
+
/** Alias for RequiredToolCallUnion */
|
|
843
|
+
export type RequiredToolCallUnion = RequiredFunctionToolCall | RequiredToolCall;
|
|
844
|
+
export declare function requiredToolCallUnionDeserializer(item: any): RequiredToolCallUnion;
|
|
845
|
+
/** A representation of a requested call to a function tool, needed by the model to continue evaluation of a run. */
|
|
846
|
+
export interface RequiredFunctionToolCall extends RequiredToolCall {
|
|
847
|
+
/** The object type of the required tool call. Always 'function' for function tools. */
|
|
848
|
+
type: "function";
|
|
849
|
+
/** Detailed information about the function to be executed by the tool that includes name and arguments. */
|
|
850
|
+
function: RequiredFunctionToolCallDetails;
|
|
851
|
+
}
|
|
852
|
+
export declare function requiredFunctionToolCallDeserializer(item: any): RequiredFunctionToolCall;
|
|
853
|
+
/** The detailed information for a function invocation, as provided by a required action invoking a function tool, that includes the name of and arguments to the function. */
|
|
854
|
+
export interface RequiredFunctionToolCallDetails {
|
|
855
|
+
/** The name of the function. */
|
|
856
|
+
name: string;
|
|
857
|
+
/** The arguments to use when invoking the named function, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation. */
|
|
858
|
+
arguments: string;
|
|
859
|
+
}
|
|
860
|
+
export declare function requiredFunctionToolCallDetailsDeserializer(item: any): RequiredFunctionToolCallDetails;
|
|
861
|
+
/** The details of an error as encountered by an agent thread run. */
|
|
862
|
+
export interface RunError {
|
|
863
|
+
/** The status for the error. */
|
|
864
|
+
code: string;
|
|
865
|
+
/** The human-readable text associated with the error. */
|
|
866
|
+
message: string;
|
|
867
|
+
}
|
|
868
|
+
export declare function runErrorDeserializer(item: any): RunError;
|
|
869
|
+
/** Details on why the run is incomplete. Will be `null` if the run is not incomplete. */
|
|
870
|
+
export interface IncompleteRunDetails {
|
|
871
|
+
/** The reason why the run is incomplete. This indicates which specific token limit was reached during the run. */
|
|
872
|
+
reason: IncompleteDetailsReason;
|
|
873
|
+
}
|
|
874
|
+
export declare function incompleteRunDetailsDeserializer(item: any): IncompleteRunDetails;
|
|
875
|
+
/** The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run. */
|
|
876
|
+
export type IncompleteDetailsReason = "max_completion_tokens" | "max_prompt_tokens";
|
|
877
|
+
/** Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). */
|
|
878
|
+
export interface RunCompletionUsage {
|
|
879
|
+
/** Number of completion tokens used over the course of the run. */
|
|
880
|
+
completionTokens: number;
|
|
881
|
+
/** Number of prompt tokens used over the course of the run. */
|
|
882
|
+
promptTokens: number;
|
|
883
|
+
/** Total number of tokens used (prompt + completion). */
|
|
884
|
+
totalTokens: number;
|
|
885
|
+
}
|
|
886
|
+
export declare function runCompletionUsageDeserializer(item: any): RunCompletionUsage;
|
|
622
887
|
/** Information about a single thread associated with an agent. */
|
|
623
888
|
export interface AgentThread {
|
|
624
889
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -637,6 +902,17 @@ export interface AgentThread {
|
|
|
637
902
|
metadata: Record<string, string> | null;
|
|
638
903
|
}
|
|
639
904
|
export declare function agentThreadDeserializer(item: any): AgentThread;
|
|
905
|
+
/** The response data for a requested list of items. */
|
|
906
|
+
export interface _AgentsPagedResultAgentThread {
|
|
907
|
+
/** The requested list of items. */
|
|
908
|
+
data: AgentThread[];
|
|
909
|
+
/** The last ID represented in this list. */
|
|
910
|
+
lastId?: string;
|
|
911
|
+
/** A value indicating whether there are additional values available not captured in this list. */
|
|
912
|
+
hasMore: boolean;
|
|
913
|
+
}
|
|
914
|
+
export declare function _agentsPagedResultAgentThreadDeserializer(item: any): _AgentsPagedResultAgentThread;
|
|
915
|
+
export declare function agentThreadArrayDeserializer(result: Array<AgentThread>): any[];
|
|
640
916
|
/** The status of a thread deletion operation. */
|
|
641
917
|
export interface ThreadDeletionStatus {
|
|
642
918
|
/** The ID of the resource specified for deletion. */
|
|
@@ -647,21 +923,6 @@ export interface ThreadDeletionStatus {
|
|
|
647
923
|
object: "thread.deleted";
|
|
648
924
|
}
|
|
649
925
|
export declare function threadDeletionStatusDeserializer(item: any): ThreadDeletionStatus;
|
|
650
|
-
/** The response data for a requested list of items. */
|
|
651
|
-
export interface OpenAIPageableListOfAgentThread {
|
|
652
|
-
/** The object type, which is always list. */
|
|
653
|
-
object: "list";
|
|
654
|
-
/** The requested list of items. */
|
|
655
|
-
data: AgentThread[];
|
|
656
|
-
/** The first ID represented in this list. */
|
|
657
|
-
firstId: string;
|
|
658
|
-
/** The last ID represented in this list. */
|
|
659
|
-
lastId: string;
|
|
660
|
-
/** A value indicating whether there are additional values available not captured in this list. */
|
|
661
|
-
hasMore: boolean;
|
|
662
|
-
}
|
|
663
|
-
export declare function openAIPageableListOfAgentThreadDeserializer(item: any): OpenAIPageableListOfAgentThread;
|
|
664
|
-
export declare function agentThreadArrayDeserializer(result: Array<AgentThread>): any[];
|
|
665
926
|
/** A single, existing message within an agent thread. */
|
|
666
927
|
export interface ThreadMessage {
|
|
667
928
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -820,249 +1081,26 @@ export interface MessageImageFileDetails {
|
|
|
820
1081
|
}
|
|
821
1082
|
export declare function messageImageFileDetailsDeserializer(item: any): MessageImageFileDetails;
|
|
822
1083
|
/** The response data for a requested list of items. */
|
|
823
|
-
export interface
|
|
824
|
-
/** The object type, which is always list. */
|
|
825
|
-
object: "list";
|
|
1084
|
+
export interface _AgentsPagedResultThreadMessage {
|
|
826
1085
|
/** The requested list of items. */
|
|
827
1086
|
data: ThreadMessage[];
|
|
828
|
-
/** The first ID represented in this list. */
|
|
829
|
-
firstId: string;
|
|
830
1087
|
/** The last ID represented in this list. */
|
|
831
|
-
lastId
|
|
1088
|
+
lastId?: string;
|
|
832
1089
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
833
1090
|
hasMore: boolean;
|
|
834
1091
|
}
|
|
835
|
-
export declare function
|
|
1092
|
+
export declare function _agentsPagedResultThreadMessageDeserializer(item: any): _AgentsPagedResultThreadMessage;
|
|
836
1093
|
export declare function threadMessageArrayDeserializer(result: Array<ThreadMessage>): any[];
|
|
837
|
-
/**
|
|
838
|
-
* Controls for how a thread will be truncated prior to the run. Use this to control the initial
|
|
839
|
-
* context window of the run.
|
|
840
|
-
*/
|
|
841
|
-
export interface TruncationObject {
|
|
842
|
-
/**
|
|
843
|
-
* The truncation strategy to use for the thread. The default is `auto`. If set to `last_messages`, the thread will
|
|
844
|
-
* be truncated to the `lastMessages` count most recent messages in the thread. When set to `auto`, messages in the middle of the thread
|
|
845
|
-
* will be dropped to fit the context length of the model, `max_prompt_tokens`.
|
|
846
|
-
*/
|
|
847
|
-
type: TruncationStrategy;
|
|
848
|
-
/** The number of most recent messages from the thread when constructing the context for the run. */
|
|
849
|
-
lastMessages?: number | null;
|
|
850
|
-
}
|
|
851
|
-
export declare function truncationObjectSerializer(item: TruncationObject): any;
|
|
852
|
-
export declare function truncationObjectDeserializer(item: any): TruncationObject;
|
|
853
|
-
/** Possible truncation strategies for the thread. */
|
|
854
|
-
export type TruncationStrategy = "auto" | "last_messages";
|
|
855
|
-
/** Specifies a tool the model should use. Use to force the model to call a specific tool. */
|
|
856
|
-
export interface AgentsNamedToolChoice {
|
|
857
|
-
/** the type of tool. If type is `function`, the function name must be set. */
|
|
858
|
-
type: AgentsNamedToolChoiceType;
|
|
859
|
-
/** The name of the function to call */
|
|
860
|
-
function?: FunctionName;
|
|
861
|
-
}
|
|
862
|
-
export declare function agentsNamedToolChoiceSerializer(item: AgentsNamedToolChoice): any;
|
|
863
|
-
export declare function agentsNamedToolChoiceDeserializer(item: any): AgentsNamedToolChoice;
|
|
864
|
-
/** Available tool types for agents named tools. */
|
|
865
|
-
export type AgentsNamedToolChoiceType = "function" | "code_interpreter" | "file_search" | "bing_grounding" | "fabric_dataagent" | "sharepoint_grounding" | "azure_ai_search" | "bing_custom_search" | "connected_agent";
|
|
866
|
-
/** The function name that will be used, if using the `function` tool */
|
|
867
|
-
export interface FunctionName {
|
|
868
|
-
/** The name of the function to call */
|
|
869
|
-
name: string;
|
|
870
|
-
}
|
|
871
|
-
export declare function functionNameSerializer(item: FunctionName): any;
|
|
872
|
-
export declare function functionNameDeserializer(item: any): FunctionName;
|
|
873
|
-
/** Alias for AgentsApiToolChoiceOption */
|
|
874
|
-
export type AgentsApiToolChoiceOption = string | AgentsApiToolChoiceOptionMode | AgentsNamedToolChoice;
|
|
875
|
-
export declare function agentsApiToolChoiceOptionSerializer(item: AgentsApiToolChoiceOption): any;
|
|
876
|
-
export declare function agentsApiToolChoiceOptionDeserializer(item: any): AgentsApiToolChoiceOption;
|
|
877
|
-
/** Specifies how the tool choice will be used */
|
|
878
|
-
export type AgentsApiToolChoiceOptionMode = "none" | "auto";
|
|
879
|
-
/** Data representing a single evaluation run of an agent thread. */
|
|
880
|
-
export interface ThreadRun {
|
|
881
|
-
/** The identifier, which can be referenced in API endpoints. */
|
|
882
|
-
id: string;
|
|
883
|
-
/** The object type, which is always 'thread.run'. */
|
|
884
|
-
object: "thread.run";
|
|
885
|
-
/** The ID of the thread associated with this run. */
|
|
886
|
-
threadId: string;
|
|
887
|
-
/** The ID of the agent associated with the thread this run was performed against. */
|
|
888
|
-
assistantId: string;
|
|
889
|
-
/** The status of the agent thread run. */
|
|
890
|
-
status: RunStatus;
|
|
891
|
-
/** The details of the action required for the agent thread run to continue. */
|
|
892
|
-
requiredAction?: RequiredActionUnion | null;
|
|
893
|
-
/** The last error, if any, encountered by this agent thread run. */
|
|
894
|
-
lastError: RunError | null;
|
|
895
|
-
/** The ID of the model to use. */
|
|
896
|
-
model: string;
|
|
897
|
-
/** The overridden system instructions used for this agent thread run. */
|
|
898
|
-
instructions: string;
|
|
899
|
-
/** The overridden enabled tools used for this agent thread run. */
|
|
900
|
-
tools: ToolDefinitionUnion[];
|
|
901
|
-
/** The Unix timestamp, in seconds, representing when this object was created. */
|
|
902
|
-
createdAt: Date;
|
|
903
|
-
/** The Unix timestamp, in seconds, representing when this item expires. */
|
|
904
|
-
expiresAt: Date | null;
|
|
905
|
-
/** The Unix timestamp, in seconds, representing when this item was started. */
|
|
906
|
-
startedAt: Date | null;
|
|
907
|
-
/** The Unix timestamp, in seconds, representing when this completed. */
|
|
908
|
-
completedAt: Date | null;
|
|
909
|
-
/** The Unix timestamp, in seconds, representing when this was cancelled. */
|
|
910
|
-
cancelledAt: Date | null;
|
|
911
|
-
/** The Unix timestamp, in seconds, representing when this failed. */
|
|
912
|
-
failedAt: Date | null;
|
|
913
|
-
/** Details on why the run is incomplete. Will be `null` if the run is not incomplete. */
|
|
914
|
-
incompleteDetails: IncompleteRunDetails | null;
|
|
915
|
-
/** Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). */
|
|
916
|
-
usage: RunCompletionUsage | null;
|
|
917
|
-
/** The sampling temperature used for this run. If not set, defaults to 1. */
|
|
918
|
-
temperature?: number | null;
|
|
919
|
-
/** The nucleus sampling value used for this run. If not set, defaults to 1. */
|
|
920
|
-
topP?: number | null;
|
|
921
|
-
/** The maximum number of prompt tokens specified to have been used over the course of the run. */
|
|
922
|
-
maxPromptTokens: number | null;
|
|
923
|
-
/** The maximum number of completion tokens specified to have been used over the course of the run. */
|
|
924
|
-
maxCompletionTokens: number | null;
|
|
925
|
-
/** The strategy to use for dropping messages as the context windows moves forward. */
|
|
926
|
-
truncationStrategy: TruncationObject | null;
|
|
927
|
-
/** Controls whether or not and which tool is called by the model. */
|
|
928
|
-
toolChoice: AgentsApiToolChoiceOption | null;
|
|
929
|
-
/** The response format of the tool calls used in this run. */
|
|
930
|
-
responseFormat: AgentsApiResponseFormatOption | null;
|
|
931
|
-
/** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
|
|
932
|
-
metadata: Record<string, string> | null;
|
|
933
|
-
/** Override the tools the agent can use for this run. This is useful for modifying the behavior on a per-run basis */
|
|
934
|
-
toolResources?: UpdateToolResourcesOptions | null;
|
|
935
|
-
/** Determines if tools can be executed in parallel within the run. */
|
|
936
|
-
parallelToolCalls: boolean;
|
|
937
|
-
}
|
|
938
|
-
export declare function threadRunDeserializer(item: any): ThreadRun;
|
|
939
|
-
/** Possible values for the status of an agent thread run. */
|
|
940
|
-
export type RunStatus = "queued" | "in_progress" | "requires_action" | "cancelling" | "cancelled" | "failed" | "completed" | "expired";
|
|
941
|
-
/** An abstract representation of a required action for an agent thread run to continue. */
|
|
942
|
-
export interface RequiredAction {
|
|
943
|
-
/** The object type. */
|
|
944
|
-
/** The discriminator possible values: submit_tool_outputs */
|
|
945
|
-
type: string;
|
|
946
|
-
}
|
|
947
|
-
export declare function requiredActionDeserializer(item: any): RequiredAction;
|
|
948
|
-
/** Alias for RequiredActionUnion */
|
|
949
|
-
export type RequiredActionUnion = SubmitToolOutputsAction | RequiredAction;
|
|
950
|
-
export declare function requiredActionUnionDeserializer(item: any): RequiredActionUnion;
|
|
951
|
-
/** The details for required tool calls that must be submitted for an agent thread run to continue. */
|
|
952
|
-
export interface SubmitToolOutputsAction extends RequiredAction {
|
|
953
|
-
/** The object type, which is always 'submit_tool_outputs'. */
|
|
954
|
-
type: "submit_tool_outputs";
|
|
955
|
-
/** The details describing tools that should be called to submit tool outputs. */
|
|
956
|
-
submitToolOutputs: SubmitToolOutputsDetails;
|
|
957
|
-
}
|
|
958
|
-
export declare function submitToolOutputsActionDeserializer(item: any): SubmitToolOutputsAction;
|
|
959
|
-
/** The details describing tools that should be called to submit tool outputs. */
|
|
960
|
-
export interface SubmitToolOutputsDetails {
|
|
961
|
-
/** The list of tool calls that must be resolved for the agent thread run to continue. */
|
|
962
|
-
toolCalls: RequiredToolCallUnion[];
|
|
963
|
-
}
|
|
964
|
-
export declare function submitToolOutputsDetailsDeserializer(item: any): SubmitToolOutputsDetails;
|
|
965
|
-
export declare function requiredToolCallUnionArrayDeserializer(result: Array<RequiredToolCallUnion>): any[];
|
|
966
|
-
/** An abstract representation of a tool invocation needed by the model to continue a run. */
|
|
967
|
-
export interface RequiredToolCall {
|
|
968
|
-
/** The object type for the required tool call. */
|
|
969
|
-
/** The discriminator possible values: function */
|
|
970
|
-
type: string;
|
|
971
|
-
/** The ID of the tool call. This ID must be referenced when submitting tool outputs. */
|
|
972
|
-
id: string;
|
|
973
|
-
}
|
|
974
|
-
export declare function requiredToolCallDeserializer(item: any): RequiredToolCall;
|
|
975
|
-
/** Alias for RequiredToolCallUnion */
|
|
976
|
-
export type RequiredToolCallUnion = RequiredFunctionToolCall | RequiredToolCall;
|
|
977
|
-
export declare function requiredToolCallUnionDeserializer(item: any): RequiredToolCallUnion;
|
|
978
|
-
/** A representation of a requested call to a function tool, needed by the model to continue evaluation of a run. */
|
|
979
|
-
export interface RequiredFunctionToolCall extends RequiredToolCall {
|
|
980
|
-
/** The object type of the required tool call. Always 'function' for function tools. */
|
|
981
|
-
type: "function";
|
|
982
|
-
/** Detailed information about the function to be executed by the tool that includes name and arguments. */
|
|
983
|
-
function: RequiredFunctionToolCallDetails;
|
|
984
|
-
}
|
|
985
|
-
export declare function requiredFunctionToolCallDeserializer(item: any): RequiredFunctionToolCall;
|
|
986
|
-
/** The detailed information for a function invocation, as provided by a required action invoking a function tool, that includes the name of and arguments to the function. */
|
|
987
|
-
export interface RequiredFunctionToolCallDetails {
|
|
988
|
-
/** The name of the function. */
|
|
989
|
-
name: string;
|
|
990
|
-
/** The arguments to use when invoking the named function, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation. */
|
|
991
|
-
arguments: string;
|
|
992
|
-
}
|
|
993
|
-
export declare function requiredFunctionToolCallDetailsDeserializer(item: any): RequiredFunctionToolCallDetails;
|
|
994
|
-
/** The details of an error as encountered by an agent thread run. */
|
|
995
|
-
export interface RunError {
|
|
996
|
-
/** The status for the error. */
|
|
997
|
-
code: string;
|
|
998
|
-
/** The human-readable text associated with the error. */
|
|
999
|
-
message: string;
|
|
1000
|
-
}
|
|
1001
|
-
export declare function runErrorDeserializer(item: any): RunError;
|
|
1002
|
-
/** Details on why the run is incomplete. Will be `null` if the run is not incomplete. */
|
|
1003
|
-
export interface IncompleteRunDetails {
|
|
1004
|
-
/** The reason why the run is incomplete. This indicates which specific token limit was reached during the run. */
|
|
1005
|
-
reason: IncompleteDetailsReason;
|
|
1006
|
-
}
|
|
1007
|
-
export declare function incompleteRunDetailsDeserializer(item: any): IncompleteRunDetails;
|
|
1008
|
-
/** The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run. */
|
|
1009
|
-
export type IncompleteDetailsReason = "max_completion_tokens" | "max_prompt_tokens";
|
|
1010
|
-
/** Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). */
|
|
1011
|
-
export interface RunCompletionUsage {
|
|
1012
|
-
/** Number of completion tokens used over the course of the run. */
|
|
1013
|
-
completionTokens: number;
|
|
1014
|
-
/** Number of prompt tokens used over the course of the run. */
|
|
1015
|
-
promptTokens: number;
|
|
1016
|
-
/** Total number of tokens used (prompt + completion). */
|
|
1017
|
-
totalTokens: number;
|
|
1018
|
-
}
|
|
1019
|
-
export declare function runCompletionUsageDeserializer(item: any): RunCompletionUsage;
|
|
1020
|
-
/**
|
|
1021
|
-
* Request object. A set of resources that are used by the agent's tools. The resources are specific to the type of tool.
|
|
1022
|
-
* For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of
|
|
1023
|
-
* vector store IDs.
|
|
1024
|
-
*/
|
|
1025
|
-
export interface UpdateToolResourcesOptions {
|
|
1026
|
-
/**
|
|
1027
|
-
* Overrides the list of file IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files
|
|
1028
|
-
* associated with the tool.
|
|
1029
|
-
*/
|
|
1030
|
-
codeInterpreter?: UpdateCodeInterpreterToolResourceOptions;
|
|
1031
|
-
/** Overrides the vector store attached to this agent. There can be a maximum of 1 vector store attached to the agent. */
|
|
1032
|
-
fileSearch?: UpdateFileSearchToolResourceOptions;
|
|
1033
|
-
/** Overrides the resources to be used by the `azure_ai_search` tool consisting of index IDs and names. */
|
|
1034
|
-
azureAISearch?: AzureAISearchResource;
|
|
1035
|
-
}
|
|
1036
|
-
export declare function updateToolResourcesOptionsSerializer(item: UpdateToolResourcesOptions): any;
|
|
1037
|
-
export declare function updateToolResourcesOptionsDeserializer(item: any): UpdateToolResourcesOptions;
|
|
1038
|
-
/** Request object to update `code_interpreted` tool resources. */
|
|
1039
|
-
export interface UpdateCodeInterpreterToolResourceOptions {
|
|
1040
|
-
/** A list of file IDs to override the current list of the agent. */
|
|
1041
|
-
fileIds?: string[];
|
|
1042
|
-
}
|
|
1043
|
-
export declare function updateCodeInterpreterToolResourceOptionsSerializer(item: UpdateCodeInterpreterToolResourceOptions): any;
|
|
1044
|
-
export declare function updateCodeInterpreterToolResourceOptionsDeserializer(item: any): UpdateCodeInterpreterToolResourceOptions;
|
|
1045
|
-
/** Request object to update `file_search` tool resources. */
|
|
1046
|
-
export interface UpdateFileSearchToolResourceOptions {
|
|
1047
|
-
/** A list of vector store IDs to override the current list of the agent. */
|
|
1048
|
-
vectorStoreIds?: string[];
|
|
1049
|
-
}
|
|
1050
|
-
export declare function updateFileSearchToolResourceOptionsSerializer(item: UpdateFileSearchToolResourceOptions): any;
|
|
1051
|
-
export declare function updateFileSearchToolResourceOptionsDeserializer(item: any): UpdateFileSearchToolResourceOptions;
|
|
1052
1094
|
/** The response data for a requested list of items. */
|
|
1053
|
-
export interface
|
|
1054
|
-
/** The object type, which is always list. */
|
|
1055
|
-
object: "list";
|
|
1095
|
+
export interface _AgentsPagedResultThreadRun {
|
|
1056
1096
|
/** The requested list of items. */
|
|
1057
1097
|
data: ThreadRun[];
|
|
1058
|
-
/** The first ID represented in this list. */
|
|
1059
|
-
firstId: string;
|
|
1060
1098
|
/** The last ID represented in this list. */
|
|
1061
|
-
lastId
|
|
1099
|
+
lastId?: string;
|
|
1062
1100
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
1063
1101
|
hasMore: boolean;
|
|
1064
1102
|
}
|
|
1065
|
-
export declare function
|
|
1103
|
+
export declare function _agentsPagedResultThreadRunDeserializer(item: any): _AgentsPagedResultThreadRun;
|
|
1066
1104
|
export declare function threadRunArrayDeserializer(result: Array<ThreadRun>): any[];
|
|
1067
1105
|
/** The data provided during a tool outputs submission to resolve pending tool calls and allow the model to continue. */
|
|
1068
1106
|
export interface ToolOutput {
|
|
@@ -1073,20 +1111,6 @@ export interface ToolOutput {
|
|
|
1073
1111
|
}
|
|
1074
1112
|
export declare function toolOutputSerializer(item: ToolOutput): any;
|
|
1075
1113
|
export declare function toolOutputArraySerializer(result: Array<ToolOutput>): any[];
|
|
1076
|
-
/** The details used to create a new agent thread. */
|
|
1077
|
-
export interface AgentThreadCreationOptions {
|
|
1078
|
-
/** The initial messages to associate with the new thread. */
|
|
1079
|
-
messages?: ThreadMessageOptions[];
|
|
1080
|
-
/**
|
|
1081
|
-
* A set of resources that are made available to the agent's tools in this thread. The resources are specific to the
|
|
1082
|
-
* type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires
|
|
1083
|
-
* a list of vector store IDs.
|
|
1084
|
-
*/
|
|
1085
|
-
toolResources?: ToolResources | null;
|
|
1086
|
-
/** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
|
|
1087
|
-
metadata?: Record<string, string> | null;
|
|
1088
|
-
}
|
|
1089
|
-
export declare function agentThreadCreationOptionsSerializer(item: AgentThreadCreationOptions): any;
|
|
1090
1114
|
/** Detailed information about a single step of an agent thread run. */
|
|
1091
1115
|
export interface RunStep {
|
|
1092
1116
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -1170,7 +1194,7 @@ export interface RunStepToolCall {
|
|
|
1170
1194
|
}
|
|
1171
1195
|
export declare function runStepToolCallDeserializer(item: any): RunStepToolCall;
|
|
1172
1196
|
/** Alias for RunStepToolCallUnion */
|
|
1173
|
-
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepSharepointToolCall | RunStepMicrosoftFabricToolCall |
|
|
1197
|
+
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepSharepointToolCall | RunStepMicrosoftFabricToolCall | RunStepBingCustomSearchToolCall | RunStepFunctionToolCall | RunStepOpenAPIToolCall | RunStepToolCall;
|
|
1174
1198
|
export declare function runStepToolCallUnionDeserializer(item: any): RunStepToolCallUnion;
|
|
1175
1199
|
/**
|
|
1176
1200
|
* A record of a call to a code interpreter tool, issued by the model in evaluation of a defined tool, that
|
|
@@ -1315,13 +1339,13 @@ export declare function runStepMicrosoftFabricToolCallDeserializer(item: any): R
|
|
|
1315
1339
|
* A record of a call to a bing custom search tool, issued by the model in evaluation of a defined tool, that represents
|
|
1316
1340
|
* executed search with bing custom search.
|
|
1317
1341
|
*/
|
|
1318
|
-
export interface
|
|
1342
|
+
export interface RunStepBingCustomSearchToolCall extends RunStepToolCall {
|
|
1319
1343
|
/** The object type, which is always 'bing_custom_search'. */
|
|
1320
1344
|
type: "bing_custom_search";
|
|
1321
1345
|
/** Reserved for future use. */
|
|
1322
1346
|
bingCustomSearch: Record<string, string>;
|
|
1323
1347
|
}
|
|
1324
|
-
export declare function
|
|
1348
|
+
export declare function runStepBingCustomSearchToolCallDeserializer(item: any): RunStepBingCustomSearchToolCall;
|
|
1325
1349
|
/**
|
|
1326
1350
|
* A record of a call to a function tool, issued by the model in evaluation of a defined tool, that represents the inputs
|
|
1327
1351
|
* and output consumed and emitted by the specified function.
|
|
@@ -1339,8 +1363,6 @@ export interface RunStepFunctionToolCallDetails {
|
|
|
1339
1363
|
name: string;
|
|
1340
1364
|
/** The arguments that the model requires are provided to the named function. */
|
|
1341
1365
|
arguments: string;
|
|
1342
|
-
/** The output of the function, only populated for function calls that have already have had their outputs submitted. */
|
|
1343
|
-
output: string | null;
|
|
1344
1366
|
}
|
|
1345
1367
|
export declare function runStepFunctionToolCallDetailsDeserializer(item: any): RunStepFunctionToolCallDetails;
|
|
1346
1368
|
/**
|
|
@@ -1375,31 +1397,27 @@ export interface RunStepCompletionUsage {
|
|
|
1375
1397
|
}
|
|
1376
1398
|
export declare function runStepCompletionUsageDeserializer(item: any): RunStepCompletionUsage;
|
|
1377
1399
|
/** The response data for a requested list of items. */
|
|
1378
|
-
export interface
|
|
1379
|
-
/** The object type, which is always list. */
|
|
1380
|
-
object: "list";
|
|
1400
|
+
export interface _AgentsPagedResultRunStep {
|
|
1381
1401
|
/** The requested list of items. */
|
|
1382
1402
|
data: RunStep[];
|
|
1383
|
-
/** The first ID represented in this list. */
|
|
1384
|
-
firstId: string;
|
|
1385
1403
|
/** The last ID represented in this list. */
|
|
1386
|
-
lastId
|
|
1404
|
+
lastId?: string;
|
|
1387
1405
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
1388
1406
|
hasMore: boolean;
|
|
1389
1407
|
}
|
|
1390
|
-
export declare function
|
|
1408
|
+
export declare function _agentsPagedResultRunStepDeserializer(item: any): _AgentsPagedResultRunStep;
|
|
1391
1409
|
export declare function runStepArrayDeserializer(result: Array<RunStep>): any[];
|
|
1392
1410
|
/** The response data from a file list operation. */
|
|
1393
1411
|
export interface FileListResponse {
|
|
1394
1412
|
/** The object type, which is always 'list'. */
|
|
1395
1413
|
object: "list";
|
|
1396
1414
|
/** The files returned for the request. */
|
|
1397
|
-
data:
|
|
1415
|
+
data: FileInfo[];
|
|
1398
1416
|
}
|
|
1399
1417
|
export declare function fileListResponseDeserializer(item: any): FileListResponse;
|
|
1400
|
-
export declare function
|
|
1418
|
+
export declare function fileInfoArrayDeserializer(result: Array<FileInfo>): any[];
|
|
1401
1419
|
/** Represents an agent that can call the model and use tools. */
|
|
1402
|
-
export interface
|
|
1420
|
+
export interface FileInfo {
|
|
1403
1421
|
/** The object type, which is always 'file'. */
|
|
1404
1422
|
object: "file";
|
|
1405
1423
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -1417,7 +1435,7 @@ export interface OpenAIFile {
|
|
|
1417
1435
|
/** The error message with details in case processing of this file failed. This field is available in Azure OpenAI only. */
|
|
1418
1436
|
statusDetails?: string;
|
|
1419
1437
|
}
|
|
1420
|
-
export declare function
|
|
1438
|
+
export declare function fileInfoDeserializer(item: any): FileInfo;
|
|
1421
1439
|
/** The possible values denoting the intended usage of a file. */
|
|
1422
1440
|
export type FilePurpose = "fine-tune" | "fine-tune-results" | "assistants" | "assistants_output" | "batch" | "batch_output" | "vision";
|
|
1423
1441
|
/** The state of the file. */
|
|
@@ -1447,19 +1465,15 @@ export interface FileDeletionStatus {
|
|
|
1447
1465
|
}
|
|
1448
1466
|
export declare function fileDeletionStatusDeserializer(item: any): FileDeletionStatus;
|
|
1449
1467
|
/** The response data for a requested list of items. */
|
|
1450
|
-
export interface
|
|
1451
|
-
/** The object type, which is always list. */
|
|
1452
|
-
object: "list";
|
|
1468
|
+
export interface _AgentsPagedResultVectorStore {
|
|
1453
1469
|
/** The requested list of items. */
|
|
1454
1470
|
data: VectorStore[];
|
|
1455
|
-
/** The first ID represented in this list. */
|
|
1456
|
-
firstId: string;
|
|
1457
1471
|
/** The last ID represented in this list. */
|
|
1458
|
-
lastId
|
|
1472
|
+
lastId?: string;
|
|
1459
1473
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
1460
1474
|
hasMore: boolean;
|
|
1461
1475
|
}
|
|
1462
|
-
export declare function
|
|
1476
|
+
export declare function _agentsPagedResultVectorStoreDeserializer(item: any): _AgentsPagedResultVectorStore;
|
|
1463
1477
|
export declare function vectorStoreArrayDeserializer(result: Array<VectorStore>): any[];
|
|
1464
1478
|
/** A vector store is a collection of processed files can be used by the `file_search` tool. */
|
|
1465
1479
|
export interface VectorStore {
|
|
@@ -1502,7 +1516,7 @@ export interface VectorStoreFileCount {
|
|
|
1502
1516
|
}
|
|
1503
1517
|
export declare function vectorStoreFileCountDeserializer(item: any): VectorStoreFileCount;
|
|
1504
1518
|
/** Vector store possible status */
|
|
1505
|
-
export type VectorStoreStatus =
|
|
1519
|
+
export type VectorStoreStatus = "expired" | "in_progress" | "completed";
|
|
1506
1520
|
/** The expiration policy for a vector store. */
|
|
1507
1521
|
export interface VectorStoreExpirationPolicy {
|
|
1508
1522
|
/** Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`. */
|
|
@@ -1563,19 +1577,15 @@ export interface VectorStoreDeletionStatus {
|
|
|
1563
1577
|
}
|
|
1564
1578
|
export declare function vectorStoreDeletionStatusDeserializer(item: any): VectorStoreDeletionStatus;
|
|
1565
1579
|
/** The response data for a requested list of items. */
|
|
1566
|
-
export interface
|
|
1567
|
-
/** The object type, which is always list. */
|
|
1568
|
-
object: "list";
|
|
1580
|
+
export interface _AgentsPagedResultVectorStoreFile {
|
|
1569
1581
|
/** The requested list of items. */
|
|
1570
1582
|
data: VectorStoreFile[];
|
|
1571
|
-
/** The first ID represented in this list. */
|
|
1572
|
-
firstId: string;
|
|
1573
1583
|
/** The last ID represented in this list. */
|
|
1574
|
-
lastId
|
|
1584
|
+
lastId?: string;
|
|
1575
1585
|
/** A value indicating whether there are additional values available not captured in this list. */
|
|
1576
1586
|
hasMore: boolean;
|
|
1577
1587
|
}
|
|
1578
|
-
export declare function
|
|
1588
|
+
export declare function _agentsPagedResultVectorStoreFileDeserializer(item: any): _AgentsPagedResultVectorStoreFile;
|
|
1579
1589
|
export declare function vectorStoreFileArrayDeserializer(result: Array<VectorStoreFile>): any[];
|
|
1580
1590
|
/** Description of a file attached to a vector store. */
|
|
1581
1591
|
export interface VectorStoreFile {
|
|
@@ -1952,33 +1962,71 @@ export declare function agentStreamEventDeserializer(item: any): AgentStreamEven
|
|
|
1952
1962
|
/** Alias for _ */
|
|
1953
1963
|
export type _ = ThreadStreamEvent | RunStreamEvent | RunStepStreamEvent | MessageStreamEvent | ErrorEvent | DoneEvent;
|
|
1954
1964
|
/** Thread operation related streaming events */
|
|
1955
|
-
export
|
|
1965
|
+
export declare enum ThreadStreamEvent {
|
|
1966
|
+
/** Event emitted when a thread is created */
|
|
1967
|
+
Created = "thread.created"
|
|
1968
|
+
}
|
|
1956
1969
|
/** Run operation related streaming events */
|
|
1957
|
-
export
|
|
1970
|
+
export declare enum RunStreamEvent {
|
|
1971
|
+
/** Event emitted when a run is created */
|
|
1972
|
+
ThreadRunCreated = "thread.run.created",
|
|
1973
|
+
/** Event emitted when a run is queued */
|
|
1974
|
+
ThreadRunQueued = "thread.run.queued",
|
|
1975
|
+
/** Event emitted when a run is in progress */
|
|
1976
|
+
ThreadRunInProgress = "thread.run.in_progress",
|
|
1977
|
+
/** Event emitted when a run requires action */
|
|
1978
|
+
ThreadRunRequiresAction = "thread.run.requires_action",
|
|
1979
|
+
/** Event emitted when a run is completed */
|
|
1980
|
+
ThreadRunCompleted = "thread.run.completed",
|
|
1981
|
+
/** Event emitted when a run is incomplete */
|
|
1982
|
+
ThreadRunIncomplete = "thread.run.incomplete",
|
|
1983
|
+
/** Event emitted when a run has failed */
|
|
1984
|
+
ThreadRunFailed = "thread.run.failed",
|
|
1985
|
+
/** Event emitted when a run is being cancelled */
|
|
1986
|
+
ThreadRunCancelling = "thread.run.cancelling",
|
|
1987
|
+
/** Event emitted when a run has been cancelled */
|
|
1988
|
+
ThreadRunCancelled = "thread.run.cancelled",
|
|
1989
|
+
/** Event emitted when a run has expired */
|
|
1990
|
+
ThreadRunExpired = "thread.run.expired"
|
|
1991
|
+
}
|
|
1958
1992
|
/** Run step operation related streaming events */
|
|
1959
1993
|
export declare enum RunStepStreamEvent {
|
|
1994
|
+
/** Event emitted when a run step is created */
|
|
1960
1995
|
ThreadRunStepCreated = "thread.run.step.created",
|
|
1996
|
+
/** Event emitted when a run step is in progress */
|
|
1961
1997
|
ThreadRunStepInProgress = "thread.run.step.in_progress",
|
|
1998
|
+
/** Event emitted when a run step delta is received */
|
|
1962
1999
|
ThreadRunStepDelta = "thread.run.step.delta",
|
|
2000
|
+
/** Event emitted when a run step is completed */
|
|
1963
2001
|
ThreadRunStepCompleted = "thread.run.step.completed",
|
|
2002
|
+
/** Event emitted when a run step has failed */
|
|
1964
2003
|
ThreadRunStepFailed = "thread.run.step.failed",
|
|
2004
|
+
/** Event emitted when a run step has been cancelled */
|
|
1965
2005
|
ThreadRunStepCancelled = "thread.run.step.cancelled",
|
|
2006
|
+
/** Event emitted when a run step has expired */
|
|
1966
2007
|
ThreadRunStepExpired = "thread.run.step.expired"
|
|
1967
2008
|
}
|
|
1968
2009
|
/** Message operation related streaming events */
|
|
1969
2010
|
export declare enum MessageStreamEvent {
|
|
2011
|
+
/** Event emitted when a message is created */
|
|
1970
2012
|
ThreadMessageCreated = "thread.message.created",
|
|
2013
|
+
/** Event emitted when a message is in progress */
|
|
1971
2014
|
ThreadMessageInProgress = "thread.message.in_progress",
|
|
2015
|
+
/** Event emitted when a message delta is received */
|
|
1972
2016
|
ThreadMessageDelta = "thread.message.delta",
|
|
2017
|
+
/** Event emitted when a message is completed */
|
|
1973
2018
|
ThreadMessageCompleted = "thread.message.completed",
|
|
2019
|
+
/** Event emitted when a message is incomplete */
|
|
1974
2020
|
ThreadMessageIncomplete = "thread.message.incomplete"
|
|
1975
2021
|
}
|
|
1976
2022
|
/** Terminal event indicating a server side error while streaming. */
|
|
1977
2023
|
export declare enum ErrorEvent {
|
|
2024
|
+
/** Server error while streaming */
|
|
1978
2025
|
Error = "error"
|
|
1979
2026
|
}
|
|
1980
2027
|
/** Terminal event indicating the successful end of a stream. */
|
|
1981
2028
|
export declare enum DoneEvent {
|
|
2029
|
+
/** Event emitted when a stream has completed successfully */
|
|
1982
2030
|
Done = "done"
|
|
1983
2031
|
}
|
|
1984
2032
|
/** The available sorting options when requesting a list of response objects. */
|
|
@@ -1989,7 +2037,11 @@ export type RunAdditionalFieldList = "step_details.tool_calls[*].file_search.res
|
|
|
1989
2037
|
export type VectorStoreFileStatusFilter = "in_progress" | "completed" | "failed" | "cancelled";
|
|
1990
2038
|
/** Azure AI Agents API versions */
|
|
1991
2039
|
export declare enum KnownVersions {
|
|
1992
|
-
/** Azure AI API version 2025-05-15
|
|
1993
|
-
_20250515Preview = "2025-05-15-preview"
|
|
2040
|
+
/** Azure AI API version 2025-05-15. */
|
|
2041
|
+
_20250515Preview = "2025-05-15-preview",
|
|
2042
|
+
/** Azure AI API version 2025-05-01. */
|
|
2043
|
+
V20250501 = "2025-05-01",
|
|
2044
|
+
/** Azure AI API version v1. */
|
|
2045
|
+
V1 = "v1"
|
|
1994
2046
|
}
|
|
1995
2047
|
//# sourceMappingURL=models.d.ts.map
|