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