@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,8 +1,5 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
4
|
-
// Copyright (c) Microsoft Corporation.
|
|
5
|
-
// Licensed under the MIT License.
|
|
6
3
|
import { randomUUID } from "@azure/core-util";
|
|
7
4
|
export function toolDefinitionSerializer(item) {
|
|
8
5
|
return { type: item["type"] };
|
|
@@ -146,13 +143,63 @@ export function functionDefinitionDeserializer(item) {
|
|
|
146
143
|
export function bingGroundingToolDefinitionSerializer(item) {
|
|
147
144
|
return {
|
|
148
145
|
type: item["type"],
|
|
149
|
-
bing_grounding:
|
|
146
|
+
bing_grounding: bingGroundingSearchConfigurationListSerializer(item["bingGrounding"]),
|
|
150
147
|
};
|
|
151
148
|
}
|
|
152
149
|
export function bingGroundingToolDefinitionDeserializer(item) {
|
|
153
150
|
return {
|
|
154
151
|
type: item["type"],
|
|
155
|
-
bingGrounding:
|
|
152
|
+
bingGrounding: bingGroundingSearchConfigurationListDeserializer(item["bing_grounding"]),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
export function bingGroundingSearchConfigurationListSerializer(item) {
|
|
156
|
+
return {
|
|
157
|
+
search_configurations: bingGroundingSearchConfigurationArraySerializer(item["searchConfigurations"]),
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
export function bingGroundingSearchConfigurationListDeserializer(item) {
|
|
161
|
+
return {
|
|
162
|
+
searchConfigurations: bingGroundingSearchConfigurationArrayDeserializer(item["search_configurations"]),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
export function bingGroundingSearchConfigurationArraySerializer(result) {
|
|
166
|
+
return result.map((item) => {
|
|
167
|
+
return bingGroundingSearchConfigurationSerializer(item);
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
export function bingGroundingSearchConfigurationArrayDeserializer(result) {
|
|
171
|
+
return result.map((item) => {
|
|
172
|
+
return bingGroundingSearchConfigurationDeserializer(item);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
export function bingGroundingSearchConfigurationSerializer(item) {
|
|
176
|
+
return {
|
|
177
|
+
connection_id: item["connectionId"],
|
|
178
|
+
market: item["market"],
|
|
179
|
+
set_lang: item["setLang"],
|
|
180
|
+
count: item["count"],
|
|
181
|
+
freshness: item["freshness"],
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
export function bingGroundingSearchConfigurationDeserializer(item) {
|
|
185
|
+
return {
|
|
186
|
+
connectionId: item["connection_id"],
|
|
187
|
+
market: item["market"],
|
|
188
|
+
setLang: item["set_lang"],
|
|
189
|
+
count: item["count"],
|
|
190
|
+
freshness: item["freshness"],
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
export function microsoftFabricToolDefinitionSerializer(item) {
|
|
194
|
+
return {
|
|
195
|
+
type: item["type"],
|
|
196
|
+
fabric_dataagent: toolConnectionListSerializer(item["fabricDataagent"]),
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
export function microsoftFabricToolDefinitionDeserializer(item) {
|
|
200
|
+
return {
|
|
201
|
+
type: item["type"],
|
|
202
|
+
fabricDataagent: toolConnectionListDeserializer(item["fabric_dataagent"]),
|
|
156
203
|
};
|
|
157
204
|
}
|
|
158
205
|
export function toolConnectionListSerializer(item) {
|
|
@@ -187,18 +234,6 @@ export function toolConnectionDeserializer(item) {
|
|
|
187
234
|
connectionId: item["connection_id"],
|
|
188
235
|
};
|
|
189
236
|
}
|
|
190
|
-
export function microsoftFabricToolDefinitionSerializer(item) {
|
|
191
|
-
return {
|
|
192
|
-
type: item["type"],
|
|
193
|
-
fabric_dataagent: toolConnectionListSerializer(item["fabricDataagent"]),
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
export function microsoftFabricToolDefinitionDeserializer(item) {
|
|
197
|
-
return {
|
|
198
|
-
type: item["type"],
|
|
199
|
-
fabricDataagent: toolConnectionListDeserializer(item["fabric_dataagent"]),
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
237
|
export function sharepointToolDefinitionSerializer(item) {
|
|
203
238
|
return {
|
|
204
239
|
type: item["type"],
|
|
@@ -340,45 +375,53 @@ export function openApiManagedSecuritySchemeDeserializer(item) {
|
|
|
340
375
|
export function bingCustomSearchToolDefinitionSerializer(item) {
|
|
341
376
|
return {
|
|
342
377
|
type: item["type"],
|
|
343
|
-
bing_custom_search:
|
|
378
|
+
bing_custom_search: bingCustomSearchConfigurationListSerializer(item["bingCustomSearch"]),
|
|
344
379
|
};
|
|
345
380
|
}
|
|
346
381
|
export function bingCustomSearchToolDefinitionDeserializer(item) {
|
|
347
382
|
return {
|
|
348
383
|
type: item["type"],
|
|
349
|
-
bingCustomSearch:
|
|
384
|
+
bingCustomSearch: bingCustomSearchConfigurationListDeserializer(item["bing_custom_search"]),
|
|
350
385
|
};
|
|
351
386
|
}
|
|
352
|
-
export function
|
|
387
|
+
export function bingCustomSearchConfigurationListSerializer(item) {
|
|
353
388
|
return {
|
|
354
|
-
search_configurations:
|
|
389
|
+
search_configurations: bingCustomSearchConfigurationArraySerializer(item["searchConfigurations"]),
|
|
355
390
|
};
|
|
356
391
|
}
|
|
357
|
-
export function
|
|
392
|
+
export function bingCustomSearchConfigurationListDeserializer(item) {
|
|
358
393
|
return {
|
|
359
|
-
searchConfigurations:
|
|
394
|
+
searchConfigurations: bingCustomSearchConfigurationArrayDeserializer(item["search_configurations"]),
|
|
360
395
|
};
|
|
361
396
|
}
|
|
362
|
-
export function
|
|
397
|
+
export function bingCustomSearchConfigurationArraySerializer(result) {
|
|
363
398
|
return result.map((item) => {
|
|
364
|
-
return
|
|
399
|
+
return bingCustomSearchConfigurationSerializer(item);
|
|
365
400
|
});
|
|
366
401
|
}
|
|
367
|
-
export function
|
|
402
|
+
export function bingCustomSearchConfigurationArrayDeserializer(result) {
|
|
368
403
|
return result.map((item) => {
|
|
369
|
-
return
|
|
404
|
+
return bingCustomSearchConfigurationDeserializer(item);
|
|
370
405
|
});
|
|
371
406
|
}
|
|
372
|
-
export function
|
|
407
|
+
export function bingCustomSearchConfigurationSerializer(item) {
|
|
373
408
|
return {
|
|
374
409
|
connection_id: item["connectionId"],
|
|
375
410
|
instance_name: item["instanceName"],
|
|
411
|
+
market: item["market"],
|
|
412
|
+
set_lang: item["setLang"],
|
|
413
|
+
count: item["count"],
|
|
414
|
+
freshness: item["freshness"],
|
|
376
415
|
};
|
|
377
416
|
}
|
|
378
|
-
export function
|
|
417
|
+
export function bingCustomSearchConfigurationDeserializer(item) {
|
|
379
418
|
return {
|
|
380
419
|
connectionId: item["connection_id"],
|
|
381
420
|
instanceName: item["instance_name"],
|
|
421
|
+
market: item["market"],
|
|
422
|
+
setLang: item["set_lang"],
|
|
423
|
+
count: item["count"],
|
|
424
|
+
freshness: item["freshness"],
|
|
382
425
|
};
|
|
383
426
|
}
|
|
384
427
|
export function connectedAgentToolDefinitionSerializer(item) {
|
|
@@ -526,6 +569,15 @@ export function vectorStoreDataSourceDeserializer(item) {
|
|
|
526
569
|
assetType: item["type"],
|
|
527
570
|
};
|
|
528
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* Type of vector storage asset. Asset type may be a uri_asset, in this case it should contain asset URI ID,
|
|
574
|
+
* in the case of id_asset it should contain the data ID.
|
|
575
|
+
*/
|
|
576
|
+
export var VectorStoreDataSourceAssetType;
|
|
577
|
+
(function (VectorStoreDataSourceAssetType) {
|
|
578
|
+
VectorStoreDataSourceAssetType["UriAsset"] = "uri_asset";
|
|
579
|
+
VectorStoreDataSourceAssetType["IdAsset"] = "id_asset";
|
|
580
|
+
})(VectorStoreDataSourceAssetType || (VectorStoreDataSourceAssetType = {}));
|
|
529
581
|
export function fileSearchToolResourceSerializer(item) {
|
|
530
582
|
return {
|
|
531
583
|
vector_store_ids: !item["vectorStoreIds"]
|
|
@@ -613,6 +665,7 @@ export function aiSearchIndexResourceSerializer(item) {
|
|
|
613
665
|
query_type: item["queryType"],
|
|
614
666
|
top_k: item["topK"],
|
|
615
667
|
filter: item["filter"],
|
|
668
|
+
index_asset_id: item["indexAssetId"],
|
|
616
669
|
};
|
|
617
670
|
}
|
|
618
671
|
export function aiSearchIndexResourceDeserializer(item) {
|
|
@@ -622,12 +675,13 @@ export function aiSearchIndexResourceDeserializer(item) {
|
|
|
622
675
|
queryType: item["query_type"],
|
|
623
676
|
topK: item["top_k"],
|
|
624
677
|
filter: item["filter"],
|
|
678
|
+
indexAssetId: item["index_asset_id"],
|
|
625
679
|
};
|
|
626
680
|
}
|
|
627
|
-
export function
|
|
681
|
+
export function agentsResponseFormatSerializer(item) {
|
|
628
682
|
return { type: item["type"] };
|
|
629
683
|
}
|
|
630
|
-
export function
|
|
684
|
+
export function agentsResponseFormatDeserializer(item) {
|
|
631
685
|
return {
|
|
632
686
|
type: item["type"],
|
|
633
687
|
};
|
|
@@ -668,10 +722,10 @@ export function toolDefinitionUnionArrayDeserializer(result) {
|
|
|
668
722
|
return toolDefinitionUnionDeserializer(item);
|
|
669
723
|
});
|
|
670
724
|
}
|
|
671
|
-
export function
|
|
725
|
+
export function agentsResponseFormatOptionSerializer(item) {
|
|
672
726
|
return item;
|
|
673
727
|
}
|
|
674
|
-
export function
|
|
728
|
+
export function agentsResponseFormatOptionDeserializer(item) {
|
|
675
729
|
return item;
|
|
676
730
|
}
|
|
677
731
|
export function agentDeserializer(item) {
|
|
@@ -691,15 +745,13 @@ export function agentDeserializer(item) {
|
|
|
691
745
|
topP: item["top_p"],
|
|
692
746
|
responseFormat: !item["response_format"]
|
|
693
747
|
? item["response_format"]
|
|
694
|
-
:
|
|
748
|
+
: agentsResponseFormatOptionDeserializer(item["response_format"]),
|
|
695
749
|
metadata: item["metadata"],
|
|
696
750
|
};
|
|
697
751
|
}
|
|
698
|
-
export function
|
|
752
|
+
export function _agentsPagedResultAgentDeserializer(item) {
|
|
699
753
|
return {
|
|
700
|
-
object: item["object"],
|
|
701
754
|
data: agentArrayDeserializer(item["data"]),
|
|
702
|
-
firstId: item["first_id"],
|
|
703
755
|
lastId: item["last_id"],
|
|
704
756
|
hasMore: item["has_more"],
|
|
705
757
|
};
|
|
@@ -716,6 +768,22 @@ export function agentDeletionStatusDeserializer(item) {
|
|
|
716
768
|
object: item["object"],
|
|
717
769
|
};
|
|
718
770
|
}
|
|
771
|
+
export function agentThreadCreationOptionsSerializer(item) {
|
|
772
|
+
return {
|
|
773
|
+
messages: !item["messages"]
|
|
774
|
+
? item["messages"]
|
|
775
|
+
: threadMessageOptionsArraySerializer(item["messages"]),
|
|
776
|
+
tool_resources: !item["toolResources"]
|
|
777
|
+
? item["toolResources"]
|
|
778
|
+
: toolResourcesSerializer(item["toolResources"]),
|
|
779
|
+
metadata: item["metadata"],
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
export function threadMessageOptionsArraySerializer(result) {
|
|
783
|
+
return result.map((item) => {
|
|
784
|
+
return threadMessageOptionsSerializer(item);
|
|
785
|
+
});
|
|
786
|
+
}
|
|
719
787
|
export function threadMessageOptionsSerializer(item) {
|
|
720
788
|
return {
|
|
721
789
|
role: item["role"],
|
|
@@ -820,198 +888,68 @@ export function _messageAttachmentToolSerializer(item) {
|
|
|
820
888
|
export function _messageAttachmentToolDeserializer(item) {
|
|
821
889
|
return item;
|
|
822
890
|
}
|
|
823
|
-
export function
|
|
824
|
-
return result.map((item) => {
|
|
825
|
-
return threadMessageOptionsSerializer(item);
|
|
826
|
-
});
|
|
827
|
-
}
|
|
828
|
-
export function agentThreadDeserializer(item) {
|
|
829
|
-
return {
|
|
830
|
-
id: item["id"],
|
|
831
|
-
object: item["object"],
|
|
832
|
-
createdAt: new Date(item["created_at"] * 1000),
|
|
833
|
-
toolResources: !item["tool_resources"]
|
|
834
|
-
? item["tool_resources"]
|
|
835
|
-
: toolResourcesDeserializer(item["tool_resources"]),
|
|
836
|
-
metadata: item["metadata"],
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
export function threadDeletionStatusDeserializer(item) {
|
|
840
|
-
return {
|
|
841
|
-
id: item["id"],
|
|
842
|
-
deleted: item["deleted"],
|
|
843
|
-
object: item["object"],
|
|
844
|
-
};
|
|
845
|
-
}
|
|
846
|
-
export function openAIPageableListOfAgentThreadDeserializer(item) {
|
|
847
|
-
return {
|
|
848
|
-
object: item["object"],
|
|
849
|
-
data: agentThreadArrayDeserializer(item["data"]),
|
|
850
|
-
firstId: item["first_id"],
|
|
851
|
-
lastId: item["last_id"],
|
|
852
|
-
hasMore: item["has_more"],
|
|
853
|
-
};
|
|
854
|
-
}
|
|
855
|
-
export function agentThreadArrayDeserializer(result) {
|
|
856
|
-
return result.map((item) => {
|
|
857
|
-
return agentThreadDeserializer(item);
|
|
858
|
-
});
|
|
859
|
-
}
|
|
860
|
-
export function threadMessageDeserializer(item) {
|
|
861
|
-
return {
|
|
862
|
-
id: item["id"],
|
|
863
|
-
object: item["object"],
|
|
864
|
-
createdAt: new Date(item["created_at"] * 1000),
|
|
865
|
-
threadId: item["thread_id"],
|
|
866
|
-
status: item["status"],
|
|
867
|
-
incompleteDetails: !item["incomplete_details"]
|
|
868
|
-
? item["incomplete_details"]
|
|
869
|
-
: messageIncompleteDetailsDeserializer(item["incomplete_details"]),
|
|
870
|
-
completedAt: !item["completed_at"]
|
|
871
|
-
? item["completed_at"]
|
|
872
|
-
: new Date(item["completed_at"] * 1000),
|
|
873
|
-
incompleteAt: !item["incomplete_at"]
|
|
874
|
-
? item["incomplete_at"]
|
|
875
|
-
: new Date(item["incomplete_at"] * 1000),
|
|
876
|
-
role: item["role"],
|
|
877
|
-
content: messageContentUnionArrayDeserializer(item["content"]),
|
|
878
|
-
assistantId: item["assistant_id"],
|
|
879
|
-
runId: item["run_id"],
|
|
880
|
-
attachments: !item["attachments"]
|
|
881
|
-
? item["attachments"]
|
|
882
|
-
: messageAttachmentArrayDeserializer(item["attachments"]),
|
|
883
|
-
metadata: item["metadata"],
|
|
884
|
-
};
|
|
885
|
-
}
|
|
886
|
-
export function messageIncompleteDetailsDeserializer(item) {
|
|
887
|
-
return {
|
|
888
|
-
reason: item["reason"],
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
export function messageContentUnionArrayDeserializer(result) {
|
|
892
|
-
return result.map((item) => {
|
|
893
|
-
return messageContentUnionDeserializer(item);
|
|
894
|
-
});
|
|
895
|
-
}
|
|
896
|
-
export function messageContentDeserializer(item) {
|
|
897
|
-
return {
|
|
898
|
-
type: item["type"],
|
|
899
|
-
};
|
|
900
|
-
}
|
|
901
|
-
export function messageContentUnionDeserializer(item) {
|
|
902
|
-
switch (item.type) {
|
|
903
|
-
case "text":
|
|
904
|
-
return messageTextContentDeserializer(item);
|
|
905
|
-
case "image_file":
|
|
906
|
-
return messageImageFileContentDeserializer(item);
|
|
907
|
-
default:
|
|
908
|
-
return messageContentDeserializer(item);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
export function messageTextContentDeserializer(item) {
|
|
912
|
-
return {
|
|
913
|
-
type: item["type"],
|
|
914
|
-
text: messageTextDetailsDeserializer(item["text"]),
|
|
915
|
-
};
|
|
916
|
-
}
|
|
917
|
-
export function messageTextDetailsDeserializer(item) {
|
|
918
|
-
return {
|
|
919
|
-
value: item["value"],
|
|
920
|
-
annotations: messageTextAnnotationUnionArrayDeserializer(item["annotations"]),
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
export function messageTextAnnotationUnionArrayDeserializer(result) {
|
|
924
|
-
return result.map((item) => {
|
|
925
|
-
return messageTextAnnotationUnionDeserializer(item);
|
|
926
|
-
});
|
|
927
|
-
}
|
|
928
|
-
export function messageTextAnnotationDeserializer(item) {
|
|
929
|
-
return {
|
|
930
|
-
type: item["type"],
|
|
931
|
-
text: item["text"],
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
export function messageTextAnnotationUnionDeserializer(item) {
|
|
935
|
-
switch (item.type) {
|
|
936
|
-
case "url_citation":
|
|
937
|
-
return messageTextUrlCitationAnnotationDeserializer(item);
|
|
938
|
-
case "file_citation":
|
|
939
|
-
return messageTextFileCitationAnnotationDeserializer(item);
|
|
940
|
-
case "file_path":
|
|
941
|
-
return messageTextFilePathAnnotationDeserializer(item);
|
|
942
|
-
default:
|
|
943
|
-
return messageTextAnnotationDeserializer(item);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
export function messageTextUrlCitationAnnotationDeserializer(item) {
|
|
947
|
-
return {
|
|
948
|
-
type: item["type"],
|
|
949
|
-
text: item["text"],
|
|
950
|
-
urlCitation: messageTextUrlCitationDetailsDeserializer(item["url_citation"]),
|
|
951
|
-
startIndex: item["start_index"],
|
|
952
|
-
endIndex: item["end_index"],
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
export function messageTextUrlCitationDetailsDeserializer(item) {
|
|
956
|
-
return {
|
|
957
|
-
url: item["url"],
|
|
958
|
-
title: item["title"],
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
export function messageTextFileCitationAnnotationDeserializer(item) {
|
|
962
|
-
return {
|
|
963
|
-
type: item["type"],
|
|
964
|
-
text: item["text"],
|
|
965
|
-
fileCitation: messageTextFileCitationDetailsDeserializer(item["file_citation"]),
|
|
966
|
-
startIndex: item["start_index"],
|
|
967
|
-
endIndex: item["end_index"],
|
|
968
|
-
};
|
|
969
|
-
}
|
|
970
|
-
export function messageTextFileCitationDetailsDeserializer(item) {
|
|
891
|
+
export function updateToolResourcesOptionsSerializer(item) {
|
|
971
892
|
return {
|
|
972
|
-
|
|
973
|
-
|
|
893
|
+
code_interpreter: !item["codeInterpreter"]
|
|
894
|
+
? item["codeInterpreter"]
|
|
895
|
+
: updateCodeInterpreterToolResourceOptionsSerializer(item["codeInterpreter"]),
|
|
896
|
+
file_search: !item["fileSearch"]
|
|
897
|
+
? item["fileSearch"]
|
|
898
|
+
: updateFileSearchToolResourceOptionsSerializer(item["fileSearch"]),
|
|
899
|
+
azure_ai_search: !item["azureAISearch"]
|
|
900
|
+
? item["azureAISearch"]
|
|
901
|
+
: azureAISearchResourceSerializer(item["azureAISearch"]),
|
|
974
902
|
};
|
|
975
903
|
}
|
|
976
|
-
export function
|
|
904
|
+
export function updateToolResourcesOptionsDeserializer(item) {
|
|
977
905
|
return {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
906
|
+
codeInterpreter: !item["code_interpreter"]
|
|
907
|
+
? item["code_interpreter"]
|
|
908
|
+
: updateCodeInterpreterToolResourceOptionsDeserializer(item["code_interpreter"]),
|
|
909
|
+
fileSearch: !item["file_search"]
|
|
910
|
+
? item["file_search"]
|
|
911
|
+
: updateFileSearchToolResourceOptionsDeserializer(item["file_search"]),
|
|
912
|
+
azureAISearch: !item["azure_ai_search"]
|
|
913
|
+
? item["azure_ai_search"]
|
|
914
|
+
: azureAISearchResourceDeserializer(item["azure_ai_search"]),
|
|
983
915
|
};
|
|
984
916
|
}
|
|
985
|
-
export function
|
|
917
|
+
export function updateCodeInterpreterToolResourceOptionsSerializer(item) {
|
|
986
918
|
return {
|
|
987
|
-
|
|
919
|
+
file_ids: !item["fileIds"]
|
|
920
|
+
? item["fileIds"]
|
|
921
|
+
: item["fileIds"].map((p) => {
|
|
922
|
+
return p;
|
|
923
|
+
}),
|
|
988
924
|
};
|
|
989
925
|
}
|
|
990
|
-
export function
|
|
926
|
+
export function updateCodeInterpreterToolResourceOptionsDeserializer(item) {
|
|
991
927
|
return {
|
|
992
|
-
|
|
993
|
-
|
|
928
|
+
fileIds: !item["file_ids"]
|
|
929
|
+
? item["file_ids"]
|
|
930
|
+
: item["file_ids"].map((p) => {
|
|
931
|
+
return p;
|
|
932
|
+
}),
|
|
994
933
|
};
|
|
995
934
|
}
|
|
996
|
-
export function
|
|
935
|
+
export function updateFileSearchToolResourceOptionsSerializer(item) {
|
|
997
936
|
return {
|
|
998
|
-
|
|
937
|
+
vector_store_ids: !item["vectorStoreIds"]
|
|
938
|
+
? item["vectorStoreIds"]
|
|
939
|
+
: item["vectorStoreIds"].map((p) => {
|
|
940
|
+
return p;
|
|
941
|
+
}),
|
|
999
942
|
};
|
|
1000
943
|
}
|
|
1001
|
-
export function
|
|
944
|
+
export function updateFileSearchToolResourceOptionsDeserializer(item) {
|
|
1002
945
|
return {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
946
|
+
vectorStoreIds: !item["vector_store_ids"]
|
|
947
|
+
? item["vector_store_ids"]
|
|
948
|
+
: item["vector_store_ids"].map((p) => {
|
|
949
|
+
return p;
|
|
950
|
+
}),
|
|
1008
951
|
};
|
|
1009
952
|
}
|
|
1010
|
-
export function threadMessageArrayDeserializer(result) {
|
|
1011
|
-
return result.map((item) => {
|
|
1012
|
-
return threadMessageDeserializer(item);
|
|
1013
|
-
});
|
|
1014
|
-
}
|
|
1015
953
|
export function truncationObjectSerializer(item) {
|
|
1016
954
|
return { type: item["type"], last_messages: item["lastMessages"] };
|
|
1017
955
|
}
|
|
@@ -1041,10 +979,10 @@ export function functionNameDeserializer(item) {
|
|
|
1041
979
|
name: item["name"],
|
|
1042
980
|
};
|
|
1043
981
|
}
|
|
1044
|
-
export function
|
|
982
|
+
export function agentsToolChoiceOptionSerializer(item) {
|
|
1045
983
|
return item;
|
|
1046
984
|
}
|
|
1047
|
-
export function
|
|
985
|
+
export function agentsToolChoiceOptionDeserializer(item) {
|
|
1048
986
|
return item;
|
|
1049
987
|
}
|
|
1050
988
|
export function threadRunDeserializer(item) {
|
|
@@ -1084,10 +1022,10 @@ export function threadRunDeserializer(item) {
|
|
|
1084
1022
|
: truncationObjectDeserializer(item["truncation_strategy"]),
|
|
1085
1023
|
toolChoice: !item["tool_choice"]
|
|
1086
1024
|
? item["tool_choice"]
|
|
1087
|
-
:
|
|
1025
|
+
: agentsToolChoiceOptionDeserializer(item["tool_choice"]),
|
|
1088
1026
|
responseFormat: !item["response_format"]
|
|
1089
1027
|
? item["response_format"]
|
|
1090
|
-
:
|
|
1028
|
+
: agentsResponseFormatOptionDeserializer(item["response_format"]),
|
|
1091
1029
|
metadata: item["metadata"],
|
|
1092
1030
|
toolResources: !item["tool_resources"]
|
|
1093
1031
|
? item["tool_resources"]
|
|
@@ -1169,73 +1107,192 @@ export function runCompletionUsageDeserializer(item) {
|
|
|
1169
1107
|
totalTokens: item["total_tokens"],
|
|
1170
1108
|
};
|
|
1171
1109
|
}
|
|
1172
|
-
export function
|
|
1110
|
+
export function agentThreadDeserializer(item) {
|
|
1173
1111
|
return {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
? item["
|
|
1179
|
-
:
|
|
1180
|
-
|
|
1181
|
-
? item["azureAISearch"]
|
|
1182
|
-
: azureAISearchResourceSerializer(item["azureAISearch"]),
|
|
1112
|
+
id: item["id"],
|
|
1113
|
+
object: item["object"],
|
|
1114
|
+
createdAt: new Date(item["created_at"] * 1000),
|
|
1115
|
+
toolResources: !item["tool_resources"]
|
|
1116
|
+
? item["tool_resources"]
|
|
1117
|
+
: toolResourcesDeserializer(item["tool_resources"]),
|
|
1118
|
+
metadata: item["metadata"],
|
|
1183
1119
|
};
|
|
1184
1120
|
}
|
|
1185
|
-
export function
|
|
1121
|
+
export function _agentsPagedResultAgentThreadDeserializer(item) {
|
|
1186
1122
|
return {
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
fileSearch: !item["file_search"]
|
|
1191
|
-
? item["file_search"]
|
|
1192
|
-
: updateFileSearchToolResourceOptionsDeserializer(item["file_search"]),
|
|
1193
|
-
azureAISearch: !item["azure_ai_search"]
|
|
1194
|
-
? item["azure_ai_search"]
|
|
1195
|
-
: azureAISearchResourceDeserializer(item["azure_ai_search"]),
|
|
1123
|
+
data: agentThreadArrayDeserializer(item["data"]),
|
|
1124
|
+
lastId: item["last_id"],
|
|
1125
|
+
hasMore: item["has_more"],
|
|
1196
1126
|
};
|
|
1197
1127
|
}
|
|
1198
|
-
export function
|
|
1128
|
+
export function agentThreadArrayDeserializer(result) {
|
|
1129
|
+
return result.map((item) => {
|
|
1130
|
+
return agentThreadDeserializer(item);
|
|
1131
|
+
});
|
|
1132
|
+
}
|
|
1133
|
+
export function threadDeletionStatusDeserializer(item) {
|
|
1199
1134
|
return {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
return p;
|
|
1204
|
-
}),
|
|
1135
|
+
id: item["id"],
|
|
1136
|
+
deleted: item["deleted"],
|
|
1137
|
+
object: item["object"],
|
|
1205
1138
|
};
|
|
1206
1139
|
}
|
|
1207
|
-
export function
|
|
1140
|
+
export function threadMessageDeserializer(item) {
|
|
1208
1141
|
return {
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1142
|
+
id: item["id"],
|
|
1143
|
+
object: item["object"],
|
|
1144
|
+
createdAt: new Date(item["created_at"] * 1000),
|
|
1145
|
+
threadId: item["thread_id"],
|
|
1146
|
+
status: item["status"],
|
|
1147
|
+
incompleteDetails: !item["incomplete_details"]
|
|
1148
|
+
? item["incomplete_details"]
|
|
1149
|
+
: messageIncompleteDetailsDeserializer(item["incomplete_details"]),
|
|
1150
|
+
completedAt: !item["completed_at"]
|
|
1151
|
+
? item["completed_at"]
|
|
1152
|
+
: new Date(item["completed_at"] * 1000),
|
|
1153
|
+
incompleteAt: !item["incomplete_at"]
|
|
1154
|
+
? item["incomplete_at"]
|
|
1155
|
+
: new Date(item["incomplete_at"] * 1000),
|
|
1156
|
+
role: item["role"],
|
|
1157
|
+
content: messageContentUnionArrayDeserializer(item["content"]),
|
|
1158
|
+
assistantId: item["assistant_id"],
|
|
1159
|
+
runId: item["run_id"],
|
|
1160
|
+
attachments: !item["attachments"]
|
|
1161
|
+
? item["attachments"]
|
|
1162
|
+
: messageAttachmentArrayDeserializer(item["attachments"]),
|
|
1163
|
+
metadata: item["metadata"],
|
|
1214
1164
|
};
|
|
1215
1165
|
}
|
|
1216
|
-
export function
|
|
1166
|
+
export function messageIncompleteDetailsDeserializer(item) {
|
|
1217
1167
|
return {
|
|
1218
|
-
|
|
1219
|
-
? item["vectorStoreIds"]
|
|
1220
|
-
: item["vectorStoreIds"].map((p) => {
|
|
1221
|
-
return p;
|
|
1222
|
-
}),
|
|
1168
|
+
reason: item["reason"],
|
|
1223
1169
|
};
|
|
1224
1170
|
}
|
|
1225
|
-
export function
|
|
1171
|
+
export function messageContentUnionArrayDeserializer(result) {
|
|
1172
|
+
return result.map((item) => {
|
|
1173
|
+
return messageContentUnionDeserializer(item);
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
export function messageContentDeserializer(item) {
|
|
1226
1177
|
return {
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1178
|
+
type: item["type"],
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
export function messageContentUnionDeserializer(item) {
|
|
1182
|
+
switch (item.type) {
|
|
1183
|
+
case "text":
|
|
1184
|
+
return messageTextContentDeserializer(item);
|
|
1185
|
+
case "image_file":
|
|
1186
|
+
return messageImageFileContentDeserializer(item);
|
|
1187
|
+
default:
|
|
1188
|
+
return messageContentDeserializer(item);
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
export function messageTextContentDeserializer(item) {
|
|
1192
|
+
return {
|
|
1193
|
+
type: item["type"],
|
|
1194
|
+
text: messageTextDetailsDeserializer(item["text"]),
|
|
1232
1195
|
};
|
|
1233
1196
|
}
|
|
1234
|
-
export function
|
|
1197
|
+
export function messageTextDetailsDeserializer(item) {
|
|
1198
|
+
return {
|
|
1199
|
+
value: item["value"],
|
|
1200
|
+
annotations: messageTextAnnotationUnionArrayDeserializer(item["annotations"]),
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
export function messageTextAnnotationUnionArrayDeserializer(result) {
|
|
1204
|
+
return result.map((item) => {
|
|
1205
|
+
return messageTextAnnotationUnionDeserializer(item);
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
export function messageTextAnnotationDeserializer(item) {
|
|
1209
|
+
return {
|
|
1210
|
+
type: item["type"],
|
|
1211
|
+
text: item["text"],
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
export function messageTextAnnotationUnionDeserializer(item) {
|
|
1215
|
+
switch (item.type) {
|
|
1216
|
+
case "url_citation":
|
|
1217
|
+
return messageTextUrlCitationAnnotationDeserializer(item);
|
|
1218
|
+
case "file_citation":
|
|
1219
|
+
return messageTextFileCitationAnnotationDeserializer(item);
|
|
1220
|
+
case "file_path":
|
|
1221
|
+
return messageTextFilePathAnnotationDeserializer(item);
|
|
1222
|
+
default:
|
|
1223
|
+
return messageTextAnnotationDeserializer(item);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
export function messageTextUrlCitationAnnotationDeserializer(item) {
|
|
1227
|
+
return {
|
|
1228
|
+
type: item["type"],
|
|
1229
|
+
text: item["text"],
|
|
1230
|
+
urlCitation: messageTextUrlCitationDetailsDeserializer(item["url_citation"]),
|
|
1231
|
+
startIndex: item["start_index"],
|
|
1232
|
+
endIndex: item["end_index"],
|
|
1233
|
+
};
|
|
1234
|
+
}
|
|
1235
|
+
export function messageTextUrlCitationDetailsDeserializer(item) {
|
|
1236
|
+
return {
|
|
1237
|
+
url: item["url"],
|
|
1238
|
+
title: item["title"],
|
|
1239
|
+
};
|
|
1240
|
+
}
|
|
1241
|
+
export function messageTextFileCitationAnnotationDeserializer(item) {
|
|
1242
|
+
return {
|
|
1243
|
+
type: item["type"],
|
|
1244
|
+
text: item["text"],
|
|
1245
|
+
fileCitation: messageTextFileCitationDetailsDeserializer(item["file_citation"]),
|
|
1246
|
+
startIndex: item["start_index"],
|
|
1247
|
+
endIndex: item["end_index"],
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
export function messageTextFileCitationDetailsDeserializer(item) {
|
|
1251
|
+
return {
|
|
1252
|
+
fileId: item["file_id"],
|
|
1253
|
+
quote: item["quote"],
|
|
1254
|
+
};
|
|
1255
|
+
}
|
|
1256
|
+
export function messageTextFilePathAnnotationDeserializer(item) {
|
|
1257
|
+
return {
|
|
1258
|
+
type: item["type"],
|
|
1259
|
+
text: item["text"],
|
|
1260
|
+
filePath: messageTextFilePathDetailsDeserializer(item["file_path"]),
|
|
1261
|
+
startIndex: item["start_index"],
|
|
1262
|
+
endIndex: item["end_index"],
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
export function messageTextFilePathDetailsDeserializer(item) {
|
|
1266
|
+
return {
|
|
1267
|
+
fileId: item["file_id"],
|
|
1268
|
+
};
|
|
1269
|
+
}
|
|
1270
|
+
export function messageImageFileContentDeserializer(item) {
|
|
1271
|
+
return {
|
|
1272
|
+
type: item["type"],
|
|
1273
|
+
imageFile: messageImageFileDetailsDeserializer(item["image_file"]),
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
export function messageImageFileDetailsDeserializer(item) {
|
|
1277
|
+
return {
|
|
1278
|
+
fileId: item["file_id"],
|
|
1279
|
+
};
|
|
1280
|
+
}
|
|
1281
|
+
export function _agentsPagedResultThreadMessageDeserializer(item) {
|
|
1282
|
+
return {
|
|
1283
|
+
data: threadMessageArrayDeserializer(item["data"]),
|
|
1284
|
+
lastId: item["last_id"],
|
|
1285
|
+
hasMore: item["has_more"],
|
|
1286
|
+
};
|
|
1287
|
+
}
|
|
1288
|
+
export function threadMessageArrayDeserializer(result) {
|
|
1289
|
+
return result.map((item) => {
|
|
1290
|
+
return threadMessageDeserializer(item);
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
export function _agentsPagedResultThreadRunDeserializer(item) {
|
|
1235
1294
|
return {
|
|
1236
|
-
object: item["object"],
|
|
1237
1295
|
data: threadRunArrayDeserializer(item["data"]),
|
|
1238
|
-
firstId: item["first_id"],
|
|
1239
1296
|
lastId: item["last_id"],
|
|
1240
1297
|
hasMore: item["has_more"],
|
|
1241
1298
|
};
|
|
@@ -1253,17 +1310,6 @@ export function toolOutputArraySerializer(result) {
|
|
|
1253
1310
|
return toolOutputSerializer(item);
|
|
1254
1311
|
});
|
|
1255
1312
|
}
|
|
1256
|
-
export function agentThreadCreationOptionsSerializer(item) {
|
|
1257
|
-
return {
|
|
1258
|
-
messages: !item["messages"]
|
|
1259
|
-
? item["messages"]
|
|
1260
|
-
: threadMessageOptionsArraySerializer(item["messages"]),
|
|
1261
|
-
tool_resources: !item["toolResources"]
|
|
1262
|
-
? item["toolResources"]
|
|
1263
|
-
: toolResourcesSerializer(item["toolResources"]),
|
|
1264
|
-
metadata: item["metadata"],
|
|
1265
|
-
};
|
|
1266
|
-
}
|
|
1267
1313
|
export function runStepDeserializer(item) {
|
|
1268
1314
|
return {
|
|
1269
1315
|
id: item["id"],
|
|
@@ -1348,7 +1394,7 @@ export function runStepToolCallUnionDeserializer(item) {
|
|
|
1348
1394
|
case "fabric_dataagent":
|
|
1349
1395
|
return runStepMicrosoftFabricToolCallDeserializer(item);
|
|
1350
1396
|
case "bing_custom_search":
|
|
1351
|
-
return
|
|
1397
|
+
return runStepBingCustomSearchToolCallDeserializer(item);
|
|
1352
1398
|
case "function":
|
|
1353
1399
|
return runStepFunctionToolCallDeserializer(item);
|
|
1354
1400
|
case "openapi":
|
|
@@ -1476,7 +1522,7 @@ export function runStepMicrosoftFabricToolCallDeserializer(item) {
|
|
|
1476
1522
|
microsoftFabric: item["fabric_dataagent"],
|
|
1477
1523
|
};
|
|
1478
1524
|
}
|
|
1479
|
-
export function
|
|
1525
|
+
export function runStepBingCustomSearchToolCallDeserializer(item) {
|
|
1480
1526
|
return {
|
|
1481
1527
|
type: item["type"],
|
|
1482
1528
|
id: item["id"],
|
|
@@ -1494,7 +1540,6 @@ export function runStepFunctionToolCallDetailsDeserializer(item) {
|
|
|
1494
1540
|
return {
|
|
1495
1541
|
name: item["name"],
|
|
1496
1542
|
arguments: item["arguments"],
|
|
1497
|
-
output: item["output"],
|
|
1498
1543
|
};
|
|
1499
1544
|
}
|
|
1500
1545
|
export function runStepOpenAPIToolCallDeserializer(item) {
|
|
@@ -1517,11 +1562,9 @@ export function runStepCompletionUsageDeserializer(item) {
|
|
|
1517
1562
|
totalTokens: item["total_tokens"],
|
|
1518
1563
|
};
|
|
1519
1564
|
}
|
|
1520
|
-
export function
|
|
1565
|
+
export function _agentsPagedResultRunStepDeserializer(item) {
|
|
1521
1566
|
return {
|
|
1522
|
-
object: item["object"],
|
|
1523
1567
|
data: runStepArrayDeserializer(item["data"]),
|
|
1524
|
-
firstId: item["first_id"],
|
|
1525
1568
|
lastId: item["last_id"],
|
|
1526
1569
|
hasMore: item["has_more"],
|
|
1527
1570
|
};
|
|
@@ -1534,15 +1577,15 @@ export function runStepArrayDeserializer(result) {
|
|
|
1534
1577
|
export function fileListResponseDeserializer(item) {
|
|
1535
1578
|
return {
|
|
1536
1579
|
object: item["object"],
|
|
1537
|
-
data:
|
|
1580
|
+
data: fileInfoArrayDeserializer(item["data"]),
|
|
1538
1581
|
};
|
|
1539
1582
|
}
|
|
1540
|
-
export function
|
|
1583
|
+
export function fileInfoArrayDeserializer(result) {
|
|
1541
1584
|
return result.map((item) => {
|
|
1542
|
-
return
|
|
1585
|
+
return fileInfoDeserializer(item);
|
|
1543
1586
|
});
|
|
1544
1587
|
}
|
|
1545
|
-
export function
|
|
1588
|
+
export function fileInfoDeserializer(item) {
|
|
1546
1589
|
return {
|
|
1547
1590
|
object: item["object"],
|
|
1548
1591
|
id: item["id"],
|
|
@@ -1556,11 +1599,6 @@ export function openAIFileDeserializer(item) {
|
|
|
1556
1599
|
}
|
|
1557
1600
|
export function _uploadFileRequestSerializer(item) {
|
|
1558
1601
|
var _a;
|
|
1559
|
-
// return [
|
|
1560
|
-
// createFilePartDescriptor("file", item["file"],"multipart/form-data"),
|
|
1561
|
-
// { name: "purpose", body: item["purpose"] },
|
|
1562
|
-
// ...(item["filename"] === undefined ? [] : [{ name: "filename", body: item["filename"] }]),
|
|
1563
|
-
// ];
|
|
1564
1602
|
return [
|
|
1565
1603
|
{ name: "file", body: item["file"], filename: (_a = item["filename"]) !== null && _a !== void 0 ? _a : randomUUID() },
|
|
1566
1604
|
{ name: "purpose", body: item["purpose"] },
|
|
@@ -1573,11 +1611,9 @@ export function fileDeletionStatusDeserializer(item) {
|
|
|
1573
1611
|
object: item["object"],
|
|
1574
1612
|
};
|
|
1575
1613
|
}
|
|
1576
|
-
export function
|
|
1614
|
+
export function _agentsPagedResultVectorStoreDeserializer(item) {
|
|
1577
1615
|
return {
|
|
1578
|
-
object: item["object"],
|
|
1579
1616
|
data: vectorStoreArrayDeserializer(item["data"]),
|
|
1580
|
-
firstId: item["first_id"],
|
|
1581
1617
|
lastId: item["last_id"],
|
|
1582
1618
|
hasMore: item["has_more"],
|
|
1583
1619
|
};
|
|
@@ -1665,11 +1701,9 @@ export function vectorStoreDeletionStatusDeserializer(item) {
|
|
|
1665
1701
|
object: item["object"],
|
|
1666
1702
|
};
|
|
1667
1703
|
}
|
|
1668
|
-
export function
|
|
1704
|
+
export function _agentsPagedResultVectorStoreFileDeserializer(item) {
|
|
1669
1705
|
return {
|
|
1670
|
-
object: item["object"],
|
|
1671
1706
|
data: vectorStoreFileArrayDeserializer(item["data"]),
|
|
1672
|
-
firstId: item["first_id"],
|
|
1673
1707
|
lastId: item["last_id"],
|
|
1674
1708
|
hasMore: item["has_more"],
|
|
1675
1709
|
};
|
|
@@ -2044,42 +2078,88 @@ export function runStepDeltaCodeInterpreterImageOutputObjectDeserializer(item) {
|
|
|
2044
2078
|
export function agentStreamEventDeserializer(item) {
|
|
2045
2079
|
return item;
|
|
2046
2080
|
}
|
|
2081
|
+
/** Thread operation related streaming events */
|
|
2082
|
+
export var ThreadStreamEvent;
|
|
2083
|
+
(function (ThreadStreamEvent) {
|
|
2084
|
+
/** Event emitted when a thread is created */
|
|
2085
|
+
ThreadStreamEvent["Created"] = "thread.created";
|
|
2086
|
+
})(ThreadStreamEvent || (ThreadStreamEvent = {}));
|
|
2087
|
+
/** Run operation related streaming events */
|
|
2088
|
+
export var RunStreamEvent;
|
|
2089
|
+
(function (RunStreamEvent) {
|
|
2090
|
+
/** Event emitted when a run is created */
|
|
2091
|
+
RunStreamEvent["ThreadRunCreated"] = "thread.run.created";
|
|
2092
|
+
/** Event emitted when a run is queued */
|
|
2093
|
+
RunStreamEvent["ThreadRunQueued"] = "thread.run.queued";
|
|
2094
|
+
/** Event emitted when a run is in progress */
|
|
2095
|
+
RunStreamEvent["ThreadRunInProgress"] = "thread.run.in_progress";
|
|
2096
|
+
/** Event emitted when a run requires action */
|
|
2097
|
+
RunStreamEvent["ThreadRunRequiresAction"] = "thread.run.requires_action";
|
|
2098
|
+
/** Event emitted when a run is completed */
|
|
2099
|
+
RunStreamEvent["ThreadRunCompleted"] = "thread.run.completed";
|
|
2100
|
+
/** Event emitted when a run is incomplete */
|
|
2101
|
+
RunStreamEvent["ThreadRunIncomplete"] = "thread.run.incomplete";
|
|
2102
|
+
/** Event emitted when a run has failed */
|
|
2103
|
+
RunStreamEvent["ThreadRunFailed"] = "thread.run.failed";
|
|
2104
|
+
/** Event emitted when a run is being cancelled */
|
|
2105
|
+
RunStreamEvent["ThreadRunCancelling"] = "thread.run.cancelling";
|
|
2106
|
+
/** Event emitted when a run has been cancelled */
|
|
2107
|
+
RunStreamEvent["ThreadRunCancelled"] = "thread.run.cancelled";
|
|
2108
|
+
/** Event emitted when a run has expired */
|
|
2109
|
+
RunStreamEvent["ThreadRunExpired"] = "thread.run.expired";
|
|
2110
|
+
})(RunStreamEvent || (RunStreamEvent = {}));
|
|
2047
2111
|
/** Run step operation related streaming events */
|
|
2048
2112
|
export var RunStepStreamEvent;
|
|
2049
2113
|
(function (RunStepStreamEvent) {
|
|
2114
|
+
/** Event emitted when a run step is created */
|
|
2050
2115
|
RunStepStreamEvent["ThreadRunStepCreated"] = "thread.run.step.created";
|
|
2116
|
+
/** Event emitted when a run step is in progress */
|
|
2051
2117
|
RunStepStreamEvent["ThreadRunStepInProgress"] = "thread.run.step.in_progress";
|
|
2118
|
+
/** Event emitted when a run step delta is received */
|
|
2052
2119
|
RunStepStreamEvent["ThreadRunStepDelta"] = "thread.run.step.delta";
|
|
2120
|
+
/** Event emitted when a run step is completed */
|
|
2053
2121
|
RunStepStreamEvent["ThreadRunStepCompleted"] = "thread.run.step.completed";
|
|
2122
|
+
/** Event emitted when a run step has failed */
|
|
2054
2123
|
RunStepStreamEvent["ThreadRunStepFailed"] = "thread.run.step.failed";
|
|
2124
|
+
/** Event emitted when a run step has been cancelled */
|
|
2055
2125
|
RunStepStreamEvent["ThreadRunStepCancelled"] = "thread.run.step.cancelled";
|
|
2126
|
+
/** Event emitted when a run step has expired */
|
|
2056
2127
|
RunStepStreamEvent["ThreadRunStepExpired"] = "thread.run.step.expired";
|
|
2057
2128
|
})(RunStepStreamEvent || (RunStepStreamEvent = {}));
|
|
2058
2129
|
/** Message operation related streaming events */
|
|
2059
2130
|
export var MessageStreamEvent;
|
|
2060
2131
|
(function (MessageStreamEvent) {
|
|
2132
|
+
/** Event emitted when a message is created */
|
|
2061
2133
|
MessageStreamEvent["ThreadMessageCreated"] = "thread.message.created";
|
|
2134
|
+
/** Event emitted when a message is in progress */
|
|
2062
2135
|
MessageStreamEvent["ThreadMessageInProgress"] = "thread.message.in_progress";
|
|
2136
|
+
/** Event emitted when a message delta is received */
|
|
2063
2137
|
MessageStreamEvent["ThreadMessageDelta"] = "thread.message.delta";
|
|
2138
|
+
/** Event emitted when a message is completed */
|
|
2064
2139
|
MessageStreamEvent["ThreadMessageCompleted"] = "thread.message.completed";
|
|
2140
|
+
/** Event emitted when a message is incomplete */
|
|
2065
2141
|
MessageStreamEvent["ThreadMessageIncomplete"] = "thread.message.incomplete";
|
|
2066
2142
|
})(MessageStreamEvent || (MessageStreamEvent = {}));
|
|
2067
2143
|
/** Terminal event indicating a server side error while streaming. */
|
|
2068
2144
|
export var ErrorEvent;
|
|
2069
2145
|
(function (ErrorEvent) {
|
|
2146
|
+
/** Server error while streaming */
|
|
2070
2147
|
ErrorEvent["Error"] = "error";
|
|
2071
2148
|
})(ErrorEvent || (ErrorEvent = {}));
|
|
2072
|
-
;
|
|
2073
2149
|
/** Terminal event indicating the successful end of a stream. */
|
|
2074
2150
|
export var DoneEvent;
|
|
2075
2151
|
(function (DoneEvent) {
|
|
2152
|
+
/** Event emitted when a stream has completed successfully */
|
|
2076
2153
|
DoneEvent["Done"] = "done";
|
|
2077
2154
|
})(DoneEvent || (DoneEvent = {}));
|
|
2078
|
-
;
|
|
2079
2155
|
/** Azure AI Agents API versions */
|
|
2080
2156
|
export var KnownVersions;
|
|
2081
2157
|
(function (KnownVersions) {
|
|
2082
|
-
/** Azure AI API version 2025-05-15
|
|
2158
|
+
/** Azure AI API version 2025-05-15. */
|
|
2083
2159
|
KnownVersions["_20250515Preview"] = "2025-05-15-preview";
|
|
2160
|
+
/** Azure AI API version 2025-05-01. */
|
|
2161
|
+
KnownVersions["V20250501"] = "2025-05-01";
|
|
2162
|
+
/** Azure AI API version v1. */
|
|
2163
|
+
KnownVersions["V1"] = "v1";
|
|
2084
2164
|
})(KnownVersions || (KnownVersions = {}));
|
|
2085
2165
|
//# sourceMappingURL=models.js.map
|