mtmsdk 0.0.14 → 0.0.16
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/adk/api/client.d.ts +9 -0
- package/dist/adk/api/client.d.ts.map +1 -0
- package/dist/adk/api/client.js +39 -0
- package/dist/adk/api/client.js.map +1 -0
- package/dist/adk/core/constants/tool-icons.d.ts +21 -0
- package/dist/adk/core/constants/tool-icons.d.ts.map +1 -0
- package/dist/adk/core/constants/tool-icons.js +47 -0
- package/dist/adk/core/constants/tool-icons.js.map +1 -0
- package/dist/adk/core/models/AgentBuilder.d.ts +77 -0
- package/dist/adk/core/models/AgentBuilder.d.ts.map +1 -0
- package/dist/adk/core/models/AgentBuilder.js +18 -0
- package/dist/adk/core/models/AgentBuilder.js.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts +37 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.js +18 -0
- package/dist/adk/core/models/AgentRunRequest.js.map +1 -0
- package/dist/adk/core/models/Eval.d.ts +55 -0
- package/dist/adk/core/models/Eval.d.ts.map +1 -0
- package/dist/adk/core/models/Eval.js +27 -0
- package/dist/adk/core/models/Eval.js.map +1 -0
- package/dist/adk/core/models/LiveRequest.d.ts +23 -0
- package/dist/adk/core/models/LiveRequest.d.ts.map +1 -0
- package/dist/adk/core/models/LiveRequest.js +18 -0
- package/dist/adk/core/models/LiveRequest.js.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts +32 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.js +18 -0
- package/dist/adk/core/models/RuntimeConfig.js.map +1 -0
- package/dist/adk/core/models/Session.d.ts +117 -0
- package/dist/adk/core/models/Session.d.ts.map +1 -0
- package/dist/adk/core/models/Session.js +31 -0
- package/dist/adk/core/models/Session.js.map +1 -0
- package/dist/adk/core/models/Trace.d.ts +40 -0
- package/dist/adk/core/models/Trace.d.ts.map +1 -0
- package/dist/adk/core/models/Trace.js +2 -0
- package/dist/adk/core/models/Trace.js.map +1 -0
- package/dist/adk/core/models/types.d.ts +338 -0
- package/dist/adk/core/models/types.d.ts.map +1 -0
- package/dist/adk/core/models/types.js +189 -0
- package/dist/adk/core/models/types.js.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +3017 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js +2776 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +1 -0
- package/dist/api_hatchet/client/client.gen.d.ts +3 -0
- package/dist/api_hatchet/client/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/client.gen.js +70 -46
- package/dist/api_hatchet/client/client.gen.js.map +1 -0
- package/dist/api_hatchet/client/index.d.ts +9 -0
- package/dist/api_hatchet/client/index.d.ts.map +1 -0
- package/dist/api_hatchet/client/index.js +7 -0
- package/dist/api_hatchet/client/index.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/types.gen.d.ts +19 -26
- package/dist/api_hatchet/client/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/client/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.d.ts +4 -4
- package/dist/api_hatchet/client/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.js +41 -40
- package/dist/api_hatchet/client/utils.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.d.ts +2 -2
- package/dist/api_hatchet/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.js +1 -1
- package/dist/api_hatchet/client.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.d.ts +3 -3
- package/dist/api_hatchet/core/auth.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.js +3 -3
- package/dist/api_hatchet/core/auth.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.d.ts +13 -5
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.js +3 -3
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.d.ts +13 -3
- package/dist/api_hatchet/core/params.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.js +24 -12
- package/dist/api_hatchet/core/params.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.d.ts +3 -3
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.js +36 -36
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +100 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.js +20 -18
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/types.gen.d.ts +4 -4
- package/dist/api_hatchet/core/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.d.ts +1 -1
- package/dist/api_hatchet/core/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.js +17 -17
- package/dist/api_hatchet/core/utils.gen.js.map +1 -0
- package/dist/api_hatchet/index.d.ts +3 -0
- package/dist/api_hatchet/index.d.ts.map +1 -0
- package/dist/api_hatchet/index.js +4 -0
- package/dist/api_hatchet/index.js.map +1 -0
- package/dist/api_hatchet/schemas.gen.d.ts +4068 -0
- package/dist/api_hatchet/schemas.gen.d.ts.map +1 -0
- package/dist/api_hatchet/schemas.gen.js +4743 -0
- package/dist/api_hatchet/schemas.gen.js.map +1 -0
- package/dist/api_hatchet/sdk.gen.d.ts +784 -0
- package/dist/api_hatchet/sdk.gen.d.ts.map +1 -0
- package/dist/api_hatchet/sdk.gen.js +1849 -0
- package/dist/api_hatchet/sdk.gen.js.map +1 -0
- package/dist/api_hatchet/types.gen.d.ts +6861 -0
- package/dist/api_hatchet/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/types.gen.js +209 -0
- package/dist/api_hatchet/types.gen.js.map +1 -0
- package/dist/api_hatchet/zod.gen.d.ts +10429 -0
- package/dist/api_hatchet/zod.gen.d.ts.map +1 -0
- package/dist/api_hatchet/zod.gen.js +2766 -0
- package/dist/api_hatchet/zod.gen.js.map +1 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +156 -668
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +460 -1007
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.js +70 -46
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/index.d.ts +8 -7
- package/dist/gomtmapi_v2/client/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/index.js +5 -4
- package/dist/gomtmapi_v2/client/index.js.map +1 -1
- package/dist/gomtmapi_v2/client/types.gen.d.ts +19 -26
- package/dist/gomtmapi_v2/client/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.js +41 -40
- package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client.gen.d.ts +2 -2
- package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client.gen.js +1 -1
- package/dist/gomtmapi_v2/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/auth.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/auth.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts +13 -5
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.d.ts +13 -3
- package/dist/gomtmapi_v2/core/params.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.js +24 -12
- package/dist/gomtmapi_v2/core/params.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/pathSerializer.gen.js +36 -36
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js +100 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js +20 -18
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/types.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/core/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.js +17 -17
- package/dist/gomtmapi_v2/index.d.ts +2 -2
- package/dist/gomtmapi_v2/index.js +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +51 -727
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +752 -1392
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +90 -362
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +241 -776
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +132 -917
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +40 -734
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +191 -651
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/lib/aisdk/types.d.ts +3 -0
- package/dist/lib/aisdk/types.d.ts.map +1 -0
- package/dist/lib/aisdk/types.js +5 -0
- package/dist/lib/aisdk/types.js.map +1 -0
- package/dist/lib/logger/index.d.ts +19 -0
- package/dist/lib/logger/index.d.ts.map +1 -0
- package/dist/lib/logger/index.js +7 -0
- package/dist/lib/logger/index.js.map +1 -0
- package/dist/lib/schema.d.ts +41 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/schema.js +37 -0
- package/dist/lib/schema.js.map +1 -0
- package/dist/lib/utils.d.ts +14 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +45 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +194 -1693
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +234 -1405
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/client.gen.js +70 -46
- package/dist/mtgate_api/client/client.gen.js.map +1 -1
- package/dist/mtgate_api/client/index.d.ts +8 -7
- package/dist/mtgate_api/client/index.d.ts.map +1 -1
- package/dist/mtgate_api/client/index.js +5 -4
- package/dist/mtgate_api/client/index.js.map +1 -1
- package/dist/mtgate_api/client/types.gen.d.ts +19 -26
- package/dist/mtgate_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.d.ts +4 -4
- package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.js +41 -40
- package/dist/mtgate_api/client/utils.gen.js.map +1 -1
- package/dist/mtgate_api/client.gen.d.ts +2 -2
- package/dist/mtgate_api/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client.gen.js +2 -4
- package/dist/mtgate_api/client.gen.js.map +1 -1
- package/dist/mtgate_api/core/auth.gen.d.ts +3 -3
- package/dist/mtgate_api/core/auth.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtgate_api/core/params.gen.d.ts +13 -3
- package/dist/mtgate_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/params.gen.js +24 -12
- package/dist/mtgate_api/core/params.gen.js.map +1 -1
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtgate_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtgate_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtgate_api/core/types.gen.d.ts +4 -4
- package/dist/mtgate_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/utils.gen.d.ts +1 -1
- package/dist/mtgate_api/core/utils.gen.js +17 -17
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -2
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +384 -1302
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +595 -1485
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +25 -137
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +97 -643
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +432 -2300
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/types.gen.js +1 -7
- package/dist/mtgate_api/types.gen.js.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +985 -2672
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +322 -1472
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +105 -82
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +439 -475
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/client.gen.js +70 -46
- package/dist/mtmai_api/client/client.gen.js.map +1 -1
- package/dist/mtmai_api/client/index.d.ts +8 -7
- package/dist/mtmai_api/client/index.d.ts.map +1 -1
- package/dist/mtmai_api/client/index.js +5 -4
- package/dist/mtmai_api/client/index.js.map +1 -1
- package/dist/mtmai_api/client/types.gen.d.ts +19 -26
- package/dist/mtmai_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.d.ts +4 -4
- package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.js +41 -40
- package/dist/mtmai_api/client/utils.gen.js.map +1 -1
- package/dist/mtmai_api/client.gen.d.ts +2 -2
- package/dist/mtmai_api/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client.gen.js +1 -1
- package/dist/mtmai_api/client.gen.js.map +1 -1
- package/dist/mtmai_api/core/auth.gen.d.ts +3 -3
- package/dist/mtmai_api/core/auth.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtmai_api/core/params.gen.d.ts +13 -3
- package/dist/mtmai_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/params.gen.js +24 -12
- package/dist/mtmai_api/core/params.gen.js.map +1 -1
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtmai_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtmai_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtmai_api/core/types.gen.d.ts +4 -4
- package/dist/mtmai_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/utils.gen.d.ts +1 -1
- package/dist/mtmai_api/core/utils.gen.js +17 -17
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.js +2 -2
- package/dist/mtmai_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtmai_api/schemas.gen.js +4363 -4616
- package/dist/mtmai_api/schemas.gen.js.map +1 -1
- package/dist/mtmai_api/sdk.gen.d.ts +25 -2
- package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtmai_api/sdk.gen.js +211 -391
- package/dist/mtmai_api/sdk.gen.js.map +1 -1
- package/dist/mtmai_api/types.gen.d.ts +645 -81
- package/dist/mtmai_api/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/types.gen.js +116 -103
- package/dist/mtmai_api/types.gen.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +17408 -17216
- package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
- package/dist/mtmai_api/zod.gen.js +3741 -1895
- package/dist/mtmai_api/zod.gen.js.map +1 -1
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +35 -0
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/sbapi/@tanstack/react-query.gen.js +40 -0
- package/dist/sbapi/@tanstack/react-query.gen.js.map +1 -0
- package/dist/sbapi/client/client.gen.d.ts +3 -0
- package/dist/sbapi/client/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client/client.gen.js +229 -0
- package/dist/sbapi/client/client.gen.js.map +1 -0
- package/dist/sbapi/client/index.d.ts +9 -0
- package/dist/sbapi/client/index.d.ts.map +1 -0
- package/dist/sbapi/client/index.js +7 -0
- package/dist/sbapi/client/index.js.map +1 -0
- package/dist/sbapi/client/types.gen.d.ts +118 -0
- package/dist/sbapi/client/types.gen.d.ts.map +1 -0
- package/dist/sbapi/client/types.gen.js +3 -0
- package/dist/sbapi/client/types.gen.js.map +1 -0
- package/dist/sbapi/client/utils.gen.d.ts +34 -0
- package/dist/sbapi/client/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/client/utils.gen.js +232 -0
- package/dist/sbapi/client/utils.gen.js.map +1 -0
- package/dist/sbapi/client.gen.d.ts +13 -0
- package/dist/sbapi/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client.gen.js +4 -0
- package/dist/sbapi/client.gen.js.map +1 -0
- package/dist/sbapi/core/auth.gen.d.ts +19 -0
- package/dist/sbapi/core/auth.gen.d.ts.map +1 -0
- package/dist/sbapi/core/auth.gen.js +15 -0
- package/dist/sbapi/core/auth.gen.js.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts +26 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.js +58 -0
- package/dist/sbapi/core/bodySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/params.gen.d.ts +44 -0
- package/dist/sbapi/core/params.gen.d.ts.map +1 -0
- package/dist/sbapi/core/params.gen.js +101 -0
- package/dist/sbapi/core/params.gen.js.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts +34 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.js +115 -0
- package/dist/sbapi/core/pathSerializer.gen.js.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js +100 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.js +138 -0
- package/dist/sbapi/core/serverSentEvents.gen.js.map +1 -0
- package/dist/sbapi/core/types.gen.d.ts +79 -0
- package/dist/sbapi/core/types.gen.d.ts.map +1 -0
- package/dist/sbapi/core/types.gen.js +3 -0
- package/dist/sbapi/core/types.gen.js.map +1 -0
- package/dist/sbapi/core/utils.gen.d.ts +20 -0
- package/dist/sbapi/core/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/core/utils.gen.js +88 -0
- package/dist/sbapi/core/utils.gen.js.map +1 -0
- package/dist/sbapi/index.d.ts +3 -0
- package/dist/sbapi/index.d.ts.map +1 -0
- package/dist/sbapi/index.js +3 -0
- package/dist/sbapi/index.js.map +1 -0
- package/dist/sbapi/schemas.gen.d.ts +38 -0
- package/dist/sbapi/schemas.gen.d.ts.map +1 -0
- package/dist/sbapi/schemas.gen.js +48 -0
- package/dist/sbapi/schemas.gen.js.map +1 -0
- package/dist/sbapi/sdk.gen.d.ts +17 -0
- package/dist/sbapi/sdk.gen.d.ts.map +1 -0
- package/dist/sbapi/sdk.gen.js +4 -0
- package/dist/sbapi/sdk.gen.js.map +1 -0
- package/dist/sbapi/types.gen.d.ts +54 -0
- package/dist/sbapi/types.gen.d.ts.map +1 -0
- package/dist/sbapi/types.gen.js +3 -0
- package/dist/sbapi/types.gen.js.map +1 -0
- package/dist/sbapi/zod.gen.d.ts +39 -0
- package/dist/sbapi/zod.gen.d.ts.map +1 -0
- package/dist/sbapi/zod.gen.js +31 -0
- package/dist/sbapi/zod.gen.js.map +1 -0
- package/dist/schema/browser.d.ts +29 -0
- package/dist/schema/browser.d.ts.map +1 -0
- package/dist/schema/browser.js +41 -0
- package/dist/schema/browser.js.map +1 -0
- package/dist/supabase/supabase-browser.d.ts +4 -0
- package/dist/supabase/supabase-browser.d.ts.map +1 -0
- package/dist/supabase/supabase-browser.js +20 -0
- package/dist/supabase/supabase-browser.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1941 -0
- package/dist/supabase/supabase-client.d.ts.map +1 -0
- package/dist/supabase/supabase-client.js +23 -0
- package/dist/supabase/supabase-client.js.map +1 -0
- package/dist/supabase/supabase.d.ts +3881 -0
- package/dist/supabase/supabase.d.ts.map +1 -0
- package/dist/supabase/supabase.js +89 -0
- package/dist/supabase/supabase.js.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts +6 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.js +33 -0
- package/dist/supabase/use-sb-query/build-query-opts.js.map +1 -0
- package/dist/supabase/use-sb-query/key.d.ts +10 -0
- package/dist/supabase/use-sb-query/key.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/key.js +46 -0
- package/dist/supabase/use-sb-query/key.js.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts +10 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.js +14 -0
- package/dist/supabase/use-sb-query/prefetch.js.map +1 -0
- package/dist/supabase/use-sb-query/use-query.d.ts +133 -0
- package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/use-query.js +117 -0
- package/dist/supabase/use-sb-query/use-query.js.map +1 -0
- package/dist/supabase/utils.d.ts +21 -0
- package/dist/supabase/utils.d.ts.map +1 -0
- package/dist/supabase/utils.js +46 -0
- package/dist/supabase/utils.js.map +1 -0
- package/dist/types/database.types.d.ts +2018 -0
- package/dist/types/database.types.d.ts.map +1 -0
- package/dist/types/database.types.js +6 -0
- package/dist/types/database.types.js.map +1 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +61 -70
- package/dist/components/MustAdmin.d.ts +0 -14
- package/dist/components/MustAdmin.d.ts.map +0 -1
- package/dist/components/MustAdmin.js +0 -37
- package/dist/components/MustAdmin.js.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +0 -947
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +0 -1023
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/gomtmapi/client/client.gen.d.ts +0 -3
- package/dist/gomtmapi/client/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/client.gen.js.map +0 -1
- package/dist/gomtmapi/client/index.d.ts +0 -8
- package/dist/gomtmapi/client/index.d.ts.map +0 -1
- package/dist/gomtmapi/client/index.js +0 -6
- package/dist/gomtmapi/client/index.js.map +0 -1
- package/dist/gomtmapi/client/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/types.gen.js.map +0 -1
- package/dist/gomtmapi/client/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/utils.gen.js.map +0 -1
- package/dist/gomtmapi/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client.gen.js.map +0 -1
- package/dist/gomtmapi/core/auth.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/auth.gen.js.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/params.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/params.gen.js.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/gomtmapi/core/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/types.gen.js.map +0 -1
- package/dist/gomtmapi/core/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/utils.gen.js.map +0 -1
- package/dist/gomtmapi/index.d.ts +0 -3
- package/dist/gomtmapi/index.d.ts.map +0 -1
- package/dist/gomtmapi/index.js +0 -4
- package/dist/gomtmapi/index.js.map +0 -1
- package/dist/gomtmapi/schemas.gen.d.ts +0 -1445
- package/dist/gomtmapi/schemas.gen.d.ts.map +0 -1
- package/dist/gomtmapi/schemas.gen.js +0 -1474
- package/dist/gomtmapi/schemas.gen.js.map +0 -1
- package/dist/gomtmapi/sdk.gen.d.ts +0 -271
- package/dist/gomtmapi/sdk.gen.d.ts.map +0 -1
- package/dist/gomtmapi/sdk.gen.js +0 -974
- package/dist/gomtmapi/sdk.gen.js.map +0 -1
- package/dist/gomtmapi/types.gen.d.ts +0 -2302
- package/dist/gomtmapi/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/types.gen.js +0 -33
- package/dist/gomtmapi/types.gen.js.map +0 -1
- package/dist/gomtmapi/zod.gen.d.ts +0 -2067
- package/dist/gomtmapi/zod.gen.d.ts.map +0 -1
- package/dist/gomtmapi/zod.gen.js +0 -875
- package/dist/gomtmapi/zod.gen.js.map +0 -1
- package/dist/lib/adk-utils.d.ts +0 -19
- package/dist/lib/adk-utils.d.ts.map +0 -1
- package/dist/lib/adk-utils.js +0 -50
- package/dist/lib/adk-utils.js.map +0 -1
- package/dist/lib/auth-client.d.ts +0 -5965
- package/dist/lib/auth-client.d.ts.map +0 -1
- package/dist/lib/auth-client.js +0 -29
- package/dist/lib/auth-client.js.map +0 -1
- package/dist/lib/get-query-client.d.ts +0 -3
- package/dist/lib/get-query-client.d.ts.map +0 -1
- package/dist/lib/get-query-client.js +0 -23
- package/dist/lib/get-query-client.js.map +0 -1
- package/dist/lib/mtgate_client_ss.d.ts +0 -10
- package/dist/lib/mtgate_client_ss.d.ts.map +0 -1
- package/dist/lib/mtgate_client_ss.js +0 -24
- package/dist/lib/mtgate_client_ss.js.map +0 -1
- package/dist/store/AuthProviders.d.ts +0 -8
- package/dist/store/AuthProviders.d.ts.map +0 -1
- package/dist/store/AuthProviders.js +0 -34
- package/dist/store/AuthProviders.js.map +0 -1
- package/dist/store/GomtmProvider.d.ts +0 -10
- package/dist/store/GomtmProvider.d.ts.map +0 -1
- package/dist/store/GomtmProvider.js +0 -24
- package/dist/store/GomtmProvider.js.map +0 -1
- package/dist/store/GomtmV1Provider.d.ts +0 -10
- package/dist/store/GomtmV1Provider.d.ts.map +0 -1
- package/dist/store/GomtmV1Provider.js +0 -24
- package/dist/store/GomtmV1Provider.js.map +0 -1
- package/dist/store/MtgateProvider.d.ts +0 -6015
- package/dist/store/MtgateProvider.d.ts.map +0 -1
- package/dist/store/MtgateProvider.js +0 -76
- package/dist/store/MtgateProvider.js.map +0 -1
- package/dist/store/MtmsdkProvider.d.ts +0 -16
- package/dist/store/MtmsdkProvider.d.ts.map +0 -1
- package/dist/store/MtmsdkProvider.js +0 -47
- package/dist/store/MtmsdkProvider.js.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts +0 -10
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.js +0 -23
- package/dist/store/ReactQueryMtmaiApiProvider.js.map +0 -1
- /package/dist/{gomtmapi → api_hatchet}/client/types.gen.js +0 -0
- /package/dist/{gomtmapi → api_hatchet}/core/types.gen.js +0 -0
|
@@ -28,7 +28,7 @@ export declare const ApiKeyIn: {
|
|
|
28
28
|
/**
|
|
29
29
|
* APIKeyIn
|
|
30
30
|
*/
|
|
31
|
-
export type ApiKeyIn =
|
|
31
|
+
export type ApiKeyIn = typeof ApiKeyIn[keyof typeof ApiKeyIn];
|
|
32
32
|
/**
|
|
33
33
|
* AddSessionToEvalSetRequest
|
|
34
34
|
*/
|
|
@@ -48,6 +48,7 @@ export type AddSessionToEvalSetRequest = {
|
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
* AgentDetails
|
|
51
|
+
*
|
|
51
52
|
* Details about the individual agent in the App.
|
|
52
53
|
*
|
|
53
54
|
* This could be a root agent or the sub-agents in the Agent Tree.
|
|
@@ -68,6 +69,7 @@ export type AgentDetailsInput = {
|
|
|
68
69
|
};
|
|
69
70
|
/**
|
|
70
71
|
* AgentDetails
|
|
72
|
+
*
|
|
71
73
|
* Details about the individual agent in the App.
|
|
72
74
|
*
|
|
73
75
|
* This could be a root agent or the sub-agents in the Agent Tree.
|
|
@@ -88,17 +90,20 @@ export type AgentDetailsOutput = {
|
|
|
88
90
|
};
|
|
89
91
|
/**
|
|
90
92
|
* ApiKeyConfig
|
|
93
|
+
*
|
|
91
94
|
* Config for authentication with API key.
|
|
92
95
|
*/
|
|
93
96
|
export type ApiKeyConfig = {
|
|
94
97
|
/**
|
|
95
98
|
* Apikeystring
|
|
99
|
+
*
|
|
96
100
|
* The API key to be used in the request directly.
|
|
97
101
|
*/
|
|
98
102
|
apiKeyString?: string | null;
|
|
99
103
|
};
|
|
100
104
|
/**
|
|
101
105
|
* AppDetails
|
|
106
|
+
*
|
|
102
107
|
* Contains details about the App (the agentic system).
|
|
103
108
|
*
|
|
104
109
|
* This structure is only a projection of the acutal app. Only details
|
|
@@ -114,6 +119,7 @@ export type AppDetailsInput = {
|
|
|
114
119
|
};
|
|
115
120
|
/**
|
|
116
121
|
* AppDetails
|
|
122
|
+
*
|
|
117
123
|
* Contains details about the App (the agentic system).
|
|
118
124
|
*
|
|
119
125
|
* This structure is only a projection of the acutal app. Only details
|
|
@@ -129,60 +135,71 @@ export type AppDetailsOutput = {
|
|
|
129
135
|
};
|
|
130
136
|
/**
|
|
131
137
|
* AuthConfigGoogleServiceAccountConfig
|
|
138
|
+
*
|
|
132
139
|
* Config for Google Service Account Authentication.
|
|
133
140
|
*/
|
|
134
141
|
export type AuthConfigGoogleServiceAccountConfig = {
|
|
135
142
|
/**
|
|
136
143
|
* Serviceaccount
|
|
144
|
+
*
|
|
137
145
|
* Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension.
|
|
138
146
|
*/
|
|
139
147
|
serviceAccount?: string | null;
|
|
140
148
|
};
|
|
141
149
|
/**
|
|
142
150
|
* AuthConfigHttpBasicAuthConfig
|
|
151
|
+
*
|
|
143
152
|
* Config for HTTP Basic Authentication.
|
|
144
153
|
*/
|
|
145
154
|
export type AuthConfigHttpBasicAuthConfig = {
|
|
146
155
|
/**
|
|
147
156
|
* Credentialsecret
|
|
157
|
+
*
|
|
148
158
|
* Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
|
|
149
159
|
*/
|
|
150
160
|
credentialSecret?: string | null;
|
|
151
161
|
};
|
|
152
162
|
/**
|
|
153
163
|
* AuthConfigOauthConfig
|
|
164
|
+
*
|
|
154
165
|
* Config for user oauth.
|
|
155
166
|
*/
|
|
156
167
|
export type AuthConfigOauthConfig = {
|
|
157
168
|
/**
|
|
158
169
|
* Accesstoken
|
|
170
|
+
*
|
|
159
171
|
* Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
|
|
160
172
|
*/
|
|
161
173
|
accessToken?: string | null;
|
|
162
174
|
/**
|
|
163
175
|
* Serviceaccount
|
|
176
|
+
*
|
|
164
177
|
* The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
|
|
165
178
|
*/
|
|
166
179
|
serviceAccount?: string | null;
|
|
167
180
|
};
|
|
168
181
|
/**
|
|
169
182
|
* AuthConfigOidcConfig
|
|
183
|
+
*
|
|
170
184
|
* Config for user OIDC auth.
|
|
171
185
|
*/
|
|
172
186
|
export type AuthConfigOidcConfig = {
|
|
173
187
|
/**
|
|
174
188
|
* Idtoken
|
|
189
|
+
*
|
|
175
190
|
* OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
|
|
176
191
|
*/
|
|
177
192
|
idToken?: string | null;
|
|
178
193
|
/**
|
|
179
194
|
* Serviceaccount
|
|
195
|
+
*
|
|
180
196
|
* The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
|
|
181
197
|
*/
|
|
182
198
|
serviceAccount?: string | null;
|
|
183
199
|
};
|
|
184
200
|
/**
|
|
185
201
|
* AuthCredential
|
|
202
|
+
*
|
|
186
203
|
* Data class representing an authentication credential.
|
|
187
204
|
*
|
|
188
205
|
* To exchange for the actual credential, please use
|
|
@@ -255,6 +272,7 @@ export type AuthCredentialInput = {
|
|
|
255
272
|
};
|
|
256
273
|
/**
|
|
257
274
|
* AuthCredential
|
|
275
|
+
*
|
|
258
276
|
* Data class representing an authentication credential.
|
|
259
277
|
*
|
|
260
278
|
* To exchange for the actual credential, please use
|
|
@@ -327,6 +345,7 @@ export type AuthCredentialOutput = {
|
|
|
327
345
|
};
|
|
328
346
|
/**
|
|
329
347
|
* AuthCredentialTypes
|
|
348
|
+
*
|
|
330
349
|
* Represents the type of authentication credential.
|
|
331
350
|
*/
|
|
332
351
|
export declare const AuthCredentialTypes: {
|
|
@@ -338,11 +357,13 @@ export declare const AuthCredentialTypes: {
|
|
|
338
357
|
};
|
|
339
358
|
/**
|
|
340
359
|
* AuthCredentialTypes
|
|
360
|
+
*
|
|
341
361
|
* Represents the type of authentication credential.
|
|
342
362
|
*/
|
|
343
|
-
export type AuthCredentialTypes =
|
|
363
|
+
export type AuthCredentialTypes = typeof AuthCredentialTypes[keyof typeof AuthCredentialTypes];
|
|
344
364
|
/**
|
|
345
365
|
* AuthType
|
|
366
|
+
*
|
|
346
367
|
* Type of auth scheme.
|
|
347
368
|
*/
|
|
348
369
|
export declare const AuthType: {
|
|
@@ -356,16 +377,19 @@ export declare const AuthType: {
|
|
|
356
377
|
};
|
|
357
378
|
/**
|
|
358
379
|
* AuthType
|
|
380
|
+
*
|
|
359
381
|
* Type of auth scheme.
|
|
360
382
|
*/
|
|
361
|
-
export type AuthType =
|
|
383
|
+
export type AuthType = typeof AuthType[keyof typeof AuthType];
|
|
362
384
|
/**
|
|
363
385
|
* AutomaticFunctionCallingConfig
|
|
386
|
+
*
|
|
364
387
|
* The configuration for automatic function calling.
|
|
365
388
|
*/
|
|
366
389
|
export type AutomaticFunctionCallingConfig = {
|
|
367
390
|
/**
|
|
368
391
|
* Disable
|
|
392
|
+
*
|
|
369
393
|
* Whether to disable automatic function calling.
|
|
370
394
|
* If not set or set to False, will enable automatic function calling.
|
|
371
395
|
* If set to True, will disable automatic function calling.
|
|
@@ -374,6 +398,7 @@ export type AutomaticFunctionCallingConfig = {
|
|
|
374
398
|
disable?: boolean | null;
|
|
375
399
|
/**
|
|
376
400
|
* Maximumremotecalls
|
|
401
|
+
*
|
|
377
402
|
* If automatic function calling is enabled,
|
|
378
403
|
* maximum number of remote calls for automatic function calling.
|
|
379
404
|
* This number should be a positive integer.
|
|
@@ -383,6 +408,7 @@ export type AutomaticFunctionCallingConfig = {
|
|
|
383
408
|
maximumRemoteCalls?: number | null;
|
|
384
409
|
/**
|
|
385
410
|
* Ignorecallhistory
|
|
411
|
+
*
|
|
386
412
|
* If automatic function calling is enabled,
|
|
387
413
|
* whether to ignore call history to the response.
|
|
388
414
|
* If not set, SDK will set ignore_call_history to false,
|
|
@@ -394,11 +420,13 @@ export type AutomaticFunctionCallingConfig = {
|
|
|
394
420
|
};
|
|
395
421
|
/**
|
|
396
422
|
* BaseCriterion
|
|
423
|
+
*
|
|
397
424
|
* Base creterion to use for an Eval Metric.
|
|
398
425
|
*/
|
|
399
426
|
export type BaseCriterion = {
|
|
400
427
|
/**
|
|
401
428
|
* Threshold
|
|
429
|
+
*
|
|
402
430
|
* The threshold to be used by the metric.
|
|
403
431
|
*/
|
|
404
432
|
threshold: number;
|
|
@@ -406,6 +434,7 @@ export type BaseCriterion = {
|
|
|
406
434
|
};
|
|
407
435
|
/**
|
|
408
436
|
* Behavior
|
|
437
|
+
*
|
|
409
438
|
* Defines the function behavior. Defaults to `BLOCKING`.
|
|
410
439
|
*/
|
|
411
440
|
export declare const Behavior: {
|
|
@@ -415,26 +444,31 @@ export declare const Behavior: {
|
|
|
415
444
|
};
|
|
416
445
|
/**
|
|
417
446
|
* Behavior
|
|
447
|
+
*
|
|
418
448
|
* Defines the function behavior. Defaults to `BLOCKING`.
|
|
419
449
|
*/
|
|
420
|
-
export type Behavior =
|
|
450
|
+
export type Behavior = typeof Behavior[keyof typeof Behavior];
|
|
421
451
|
/**
|
|
422
452
|
* Blob
|
|
453
|
+
*
|
|
423
454
|
* Content blob.
|
|
424
455
|
*/
|
|
425
456
|
export type Blob = {
|
|
426
457
|
/**
|
|
427
458
|
* Displayname
|
|
459
|
+
*
|
|
428
460
|
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is not currently used in the Gemini GenerateContent calls.
|
|
429
461
|
*/
|
|
430
462
|
displayName?: string | null;
|
|
431
463
|
/**
|
|
432
464
|
* Data
|
|
465
|
+
*
|
|
433
466
|
* Required. Raw bytes.
|
|
434
467
|
*/
|
|
435
468
|
data?: string | null;
|
|
436
469
|
/**
|
|
437
470
|
* Mimetype
|
|
471
|
+
*
|
|
438
472
|
* Required. The IANA standard MIME type of the source data.
|
|
439
473
|
*/
|
|
440
474
|
mimeType?: string | null;
|
|
@@ -450,6 +484,7 @@ export type BodyBuilderBuild = {
|
|
|
450
484
|
};
|
|
451
485
|
/**
|
|
452
486
|
* CacheMetadata
|
|
487
|
+
*
|
|
453
488
|
* Metadata for context cache associated with LLM responses.
|
|
454
489
|
*
|
|
455
490
|
* This class stores cache identification, usage tracking, and lifecycle
|
|
@@ -470,37 +505,44 @@ export type BodyBuilderBuild = {
|
|
|
470
505
|
export type CacheMetadata = {
|
|
471
506
|
/**
|
|
472
507
|
* Cache Name
|
|
508
|
+
*
|
|
473
509
|
* Full resource name of the cached content
|
|
474
510
|
*/
|
|
475
511
|
cache_name: string;
|
|
476
512
|
/**
|
|
477
513
|
* Expire Time
|
|
514
|
+
*
|
|
478
515
|
* Unix timestamp when cache expires
|
|
479
516
|
*/
|
|
480
517
|
expire_time: number;
|
|
481
518
|
/**
|
|
482
519
|
* Fingerprint
|
|
520
|
+
*
|
|
483
521
|
* Hash of agent configuration used to detect changes
|
|
484
522
|
*/
|
|
485
523
|
fingerprint: string;
|
|
486
524
|
/**
|
|
487
525
|
* Invocations Used
|
|
526
|
+
*
|
|
488
527
|
* Number of invocations this cache has been used for
|
|
489
528
|
*/
|
|
490
529
|
invocations_used: number;
|
|
491
530
|
/**
|
|
492
531
|
* Cached Contents Count
|
|
532
|
+
*
|
|
493
533
|
* Number of contents stored in this cache
|
|
494
534
|
*/
|
|
495
535
|
cached_contents_count: number;
|
|
496
536
|
/**
|
|
497
537
|
* Created At
|
|
538
|
+
*
|
|
498
539
|
* Unix timestamp when cache was created (None if reused existing)
|
|
499
540
|
*/
|
|
500
541
|
created_at?: number | null;
|
|
501
542
|
};
|
|
502
543
|
/**
|
|
503
544
|
* ChatConfig
|
|
545
|
+
*
|
|
504
546
|
* 聊天配置
|
|
505
547
|
*/
|
|
506
548
|
export type ChatConfig = {
|
|
@@ -531,6 +573,7 @@ export type ChatConfig = {
|
|
|
531
573
|
};
|
|
532
574
|
/**
|
|
533
575
|
* ChatRequest
|
|
576
|
+
*
|
|
534
577
|
* 聊天请求 - 兼容旧API格式
|
|
535
578
|
*/
|
|
536
579
|
export type ChatRequest = {
|
|
@@ -542,6 +585,7 @@ export type ChatRequest = {
|
|
|
542
585
|
};
|
|
543
586
|
/**
|
|
544
587
|
* ChatResponse
|
|
588
|
+
*
|
|
545
589
|
* 聊天响应 - 兼容旧API格式
|
|
546
590
|
*/
|
|
547
591
|
export type ChatResponse = {
|
|
@@ -564,6 +608,7 @@ export type ChatResponse = {
|
|
|
564
608
|
export type CheckSandboxStatusRequest = {
|
|
565
609
|
/**
|
|
566
610
|
* Sandboxids
|
|
611
|
+
*
|
|
567
612
|
* 需要检测是 sandbox id 列表
|
|
568
613
|
*/
|
|
569
614
|
sandboxIds: Array<string>;
|
|
@@ -574,17 +619,20 @@ export type CheckSandboxStatusRequest = {
|
|
|
574
619
|
export type CheckSandboxStatusResponse = {
|
|
575
620
|
/**
|
|
576
621
|
* Results
|
|
622
|
+
*
|
|
577
623
|
* 每个沙盒的状态检测结果
|
|
578
624
|
*/
|
|
579
625
|
results?: Array<SandboxStatusInfo>;
|
|
580
626
|
/**
|
|
581
627
|
* Total Checked
|
|
628
|
+
*
|
|
582
629
|
* 检查的沙盒总数
|
|
583
630
|
*/
|
|
584
631
|
total_checked: number;
|
|
585
632
|
};
|
|
586
633
|
/**
|
|
587
634
|
* CodeExecutionResult
|
|
635
|
+
*
|
|
588
636
|
* Result of executing the [ExecutableCode].
|
|
589
637
|
*
|
|
590
638
|
* Always follows a `part` containing the [ExecutableCode].
|
|
@@ -596,23 +644,27 @@ export type CodeExecutionResult = {
|
|
|
596
644
|
outcome?: Outcome | null;
|
|
597
645
|
/**
|
|
598
646
|
* Output
|
|
647
|
+
*
|
|
599
648
|
* Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
|
|
600
649
|
*/
|
|
601
650
|
output?: string | null;
|
|
602
651
|
};
|
|
603
652
|
/**
|
|
604
653
|
* Content
|
|
654
|
+
*
|
|
605
655
|
* Contains the multi-part content of a message.
|
|
606
656
|
*/
|
|
607
657
|
export type ContentInput = {
|
|
608
658
|
/**
|
|
609
659
|
* Parts
|
|
660
|
+
*
|
|
610
661
|
* List of parts that constitute a single message. Each part may have
|
|
611
662
|
* a different IANA MIME type.
|
|
612
663
|
*/
|
|
613
664
|
parts?: Array<PartInput> | null;
|
|
614
665
|
/**
|
|
615
666
|
* Role
|
|
667
|
+
*
|
|
616
668
|
* Optional. The producer of the content. Must be either 'user' or
|
|
617
669
|
* 'model'. Useful to set for multi-turn conversations, otherwise can be
|
|
618
670
|
* empty. If role is not specified, SDK will determine the role.
|
|
@@ -621,17 +673,20 @@ export type ContentInput = {
|
|
|
621
673
|
};
|
|
622
674
|
/**
|
|
623
675
|
* Content
|
|
676
|
+
*
|
|
624
677
|
* Contains the multi-part content of a message.
|
|
625
678
|
*/
|
|
626
679
|
export type ContentOutput = {
|
|
627
680
|
/**
|
|
628
681
|
* Parts
|
|
682
|
+
*
|
|
629
683
|
* List of parts that constitute a single message. Each part may have
|
|
630
684
|
* a different IANA MIME type.
|
|
631
685
|
*/
|
|
632
686
|
parts?: Array<PartOutput> | null;
|
|
633
687
|
/**
|
|
634
688
|
* Role
|
|
689
|
+
*
|
|
635
690
|
* Optional. The producer of the content. Must be either 'user' or
|
|
636
691
|
* 'model'. Useful to set for multi-turn conversations, otherwise can be
|
|
637
692
|
* empty. If role is not specified, SDK will determine the role.
|
|
@@ -650,11 +705,13 @@ export type CreateEvalSetRequest = {
|
|
|
650
705
|
export type CreateSessionRequest = {
|
|
651
706
|
/**
|
|
652
707
|
* Sessionid
|
|
708
|
+
*
|
|
653
709
|
* The ID of the session to create. If not provided, a random session ID will be generated.
|
|
654
710
|
*/
|
|
655
711
|
sessionId?: string | null;
|
|
656
712
|
/**
|
|
657
713
|
* State
|
|
714
|
+
*
|
|
658
715
|
* The initial state of the session.
|
|
659
716
|
*/
|
|
660
717
|
state?: {
|
|
@@ -662,12 +719,14 @@ export type CreateSessionRequest = {
|
|
|
662
719
|
} | null;
|
|
663
720
|
/**
|
|
664
721
|
* Events
|
|
722
|
+
*
|
|
665
723
|
* A list of events to initialize the session with.
|
|
666
724
|
*/
|
|
667
725
|
events?: Array<EventInput> | null;
|
|
668
726
|
};
|
|
669
727
|
/**
|
|
670
728
|
* DynamicRetrievalConfig
|
|
729
|
+
*
|
|
671
730
|
* Describes the options to customize dynamic retrieval.
|
|
672
731
|
*/
|
|
673
732
|
export type DynamicRetrievalConfig = {
|
|
@@ -677,12 +736,14 @@ export type DynamicRetrievalConfig = {
|
|
|
677
736
|
mode?: DynamicRetrievalConfigMode | null;
|
|
678
737
|
/**
|
|
679
738
|
* Dynamicthreshold
|
|
739
|
+
*
|
|
680
740
|
* Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
|
|
681
741
|
*/
|
|
682
742
|
dynamicThreshold?: number | null;
|
|
683
743
|
};
|
|
684
744
|
/**
|
|
685
745
|
* DynamicRetrievalConfigMode
|
|
746
|
+
*
|
|
686
747
|
* Config for the dynamic retrieval config mode.
|
|
687
748
|
*/
|
|
688
749
|
export declare const DynamicRetrievalConfigMode: {
|
|
@@ -691,11 +752,13 @@ export declare const DynamicRetrievalConfigMode: {
|
|
|
691
752
|
};
|
|
692
753
|
/**
|
|
693
754
|
* DynamicRetrievalConfigMode
|
|
755
|
+
*
|
|
694
756
|
* Config for the dynamic retrieval config mode.
|
|
695
757
|
*/
|
|
696
|
-
export type DynamicRetrievalConfigMode =
|
|
758
|
+
export type DynamicRetrievalConfigMode = typeof DynamicRetrievalConfigMode[keyof typeof DynamicRetrievalConfigMode];
|
|
697
759
|
/**
|
|
698
760
|
* EnterpriseWebSearch
|
|
761
|
+
*
|
|
699
762
|
* Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.
|
|
700
763
|
*/
|
|
701
764
|
export type EnterpriseWebSearch = {
|
|
@@ -703,6 +766,7 @@ export type EnterpriseWebSearch = {
|
|
|
703
766
|
};
|
|
704
767
|
/**
|
|
705
768
|
* EvalCase
|
|
769
|
+
*
|
|
706
770
|
* An eval case.
|
|
707
771
|
*/
|
|
708
772
|
export type EvalCaseInput = {
|
|
@@ -726,6 +790,7 @@ export type EvalCaseInput = {
|
|
|
726
790
|
};
|
|
727
791
|
/**
|
|
728
792
|
* EvalCase
|
|
793
|
+
*
|
|
729
794
|
* An eval case.
|
|
730
795
|
*/
|
|
731
796
|
export type EvalCaseOutput = {
|
|
@@ -749,12 +814,15 @@ export type EvalCaseOutput = {
|
|
|
749
814
|
};
|
|
750
815
|
/**
|
|
751
816
|
* EvalCaseResult
|
|
817
|
+
*
|
|
752
818
|
* Case level evaluation results.
|
|
753
819
|
*/
|
|
754
820
|
export type EvalCaseResult = {
|
|
755
821
|
/**
|
|
756
822
|
* Evalsetfile
|
|
823
|
+
*
|
|
757
824
|
* This field is deprecated, use eval_set_id instead.
|
|
825
|
+
*
|
|
758
826
|
* @deprecated
|
|
759
827
|
*/
|
|
760
828
|
evalSetFile?: string | null;
|
|
@@ -769,10 +837,15 @@ export type EvalCaseResult = {
|
|
|
769
837
|
finalEvalStatus: EvalStatus;
|
|
770
838
|
/**
|
|
771
839
|
* Evalmetricresults
|
|
840
|
+
*
|
|
772
841
|
* This field is deprecated, use overall_eval_metric_results instead.
|
|
842
|
+
*
|
|
773
843
|
* @deprecated
|
|
774
844
|
*/
|
|
775
|
-
evalMetricResults?: Array<[
|
|
845
|
+
evalMetricResults?: Array<[
|
|
846
|
+
EvalMetricOutput,
|
|
847
|
+
EvalMetricResult
|
|
848
|
+
]> | null;
|
|
776
849
|
/**
|
|
777
850
|
* Overallevalmetricresults
|
|
778
851
|
*/
|
|
@@ -793,21 +866,25 @@ export type EvalCaseResult = {
|
|
|
793
866
|
};
|
|
794
867
|
/**
|
|
795
868
|
* EvalMetric
|
|
869
|
+
*
|
|
796
870
|
* A metric used to evaluate a particular aspect of an eval case.
|
|
797
871
|
*/
|
|
798
872
|
export type EvalMetricInput = {
|
|
799
873
|
/**
|
|
800
874
|
* Metricname
|
|
875
|
+
*
|
|
801
876
|
* The name of the metric.
|
|
802
877
|
*/
|
|
803
878
|
metricName: string;
|
|
804
879
|
/**
|
|
805
880
|
* Threshold
|
|
881
|
+
*
|
|
806
882
|
* A threshold value. Each metric decides how to interpret this threshold.
|
|
807
883
|
*/
|
|
808
884
|
threshold: number;
|
|
809
885
|
/**
|
|
810
886
|
* [DEPRECATED] This field is deprecated in favor of `criterion`. Depending on the metric you may want to one of the sub-classes of BaseCriterion.
|
|
887
|
+
*
|
|
811
888
|
* @deprecated
|
|
812
889
|
*/
|
|
813
890
|
judgeModelOptions?: JudgeModelOptionsInput | null;
|
|
@@ -818,21 +895,25 @@ export type EvalMetricInput = {
|
|
|
818
895
|
};
|
|
819
896
|
/**
|
|
820
897
|
* EvalMetric
|
|
898
|
+
*
|
|
821
899
|
* A metric used to evaluate a particular aspect of an eval case.
|
|
822
900
|
*/
|
|
823
901
|
export type EvalMetricOutput = {
|
|
824
902
|
/**
|
|
825
903
|
* Metricname
|
|
904
|
+
*
|
|
826
905
|
* The name of the metric.
|
|
827
906
|
*/
|
|
828
907
|
metricName: string;
|
|
829
908
|
/**
|
|
830
909
|
* Threshold
|
|
910
|
+
*
|
|
831
911
|
* A threshold value. Each metric decides how to interpret this threshold.
|
|
832
912
|
*/
|
|
833
913
|
threshold: number;
|
|
834
914
|
/**
|
|
835
915
|
* [DEPRECATED] This field is deprecated in favor of `criterion`. Depending on the metric you may want to one of the sub-classes of BaseCriterion.
|
|
916
|
+
*
|
|
836
917
|
* @deprecated
|
|
837
918
|
*/
|
|
838
919
|
judgeModelOptions?: JudgeModelOptionsOutput | null;
|
|
@@ -843,21 +924,25 @@ export type EvalMetricOutput = {
|
|
|
843
924
|
};
|
|
844
925
|
/**
|
|
845
926
|
* EvalMetricResult
|
|
927
|
+
*
|
|
846
928
|
* The actual computed score/value of a particular EvalMetric.
|
|
847
929
|
*/
|
|
848
930
|
export type EvalMetricResult = {
|
|
849
931
|
/**
|
|
850
932
|
* Metricname
|
|
933
|
+
*
|
|
851
934
|
* The name of the metric.
|
|
852
935
|
*/
|
|
853
936
|
metricName: string;
|
|
854
937
|
/**
|
|
855
938
|
* Threshold
|
|
939
|
+
*
|
|
856
940
|
* A threshold value. Each metric decides how to interpret this threshold.
|
|
857
941
|
*/
|
|
858
942
|
threshold: number;
|
|
859
943
|
/**
|
|
860
944
|
* [DEPRECATED] This field is deprecated in favor of `criterion`. Depending on the metric you may want to one of the sub-classes of BaseCriterion.
|
|
945
|
+
*
|
|
861
946
|
* @deprecated
|
|
862
947
|
*/
|
|
863
948
|
judgeModelOptions?: JudgeModelOptionsOutput | null;
|
|
@@ -867,6 +952,7 @@ export type EvalMetricResult = {
|
|
|
867
952
|
criterion?: BaseCriterion | null;
|
|
868
953
|
/**
|
|
869
954
|
* Score
|
|
955
|
+
*
|
|
870
956
|
* Score obtained after evaluating the metric. Optional, as evaluation might not have happened.
|
|
871
957
|
*/
|
|
872
958
|
score?: number | null;
|
|
@@ -882,12 +968,14 @@ export type EvalMetricResult = {
|
|
|
882
968
|
export type EvalMetricResultDetails = {
|
|
883
969
|
/**
|
|
884
970
|
* Rubricscores
|
|
971
|
+
*
|
|
885
972
|
* The scores obtained after applying the rubrics to the Agent's response.
|
|
886
973
|
*/
|
|
887
974
|
rubricScores?: Array<RubricScore> | null;
|
|
888
975
|
};
|
|
889
976
|
/**
|
|
890
977
|
* EvalMetricResultPerInvocation
|
|
978
|
+
*
|
|
891
979
|
* Eval metric results per invocation.
|
|
892
980
|
*/
|
|
893
981
|
export type EvalMetricResultPerInvocation = {
|
|
@@ -901,12 +989,14 @@ export type EvalMetricResultPerInvocation = {
|
|
|
901
989
|
expectedInvocation: InvocationOutput;
|
|
902
990
|
/**
|
|
903
991
|
* Evalmetricresults
|
|
992
|
+
*
|
|
904
993
|
* Eval resutls for each applicable metric.
|
|
905
994
|
*/
|
|
906
995
|
evalMetricResults?: Array<EvalMetricResult>;
|
|
907
996
|
};
|
|
908
997
|
/**
|
|
909
998
|
* EvalResult
|
|
999
|
+
*
|
|
910
1000
|
* This class has no field intentionally.
|
|
911
1001
|
*
|
|
912
1002
|
* The goal here is to just give a new name to the class to align with the API
|
|
@@ -936,6 +1026,7 @@ export type EvalResult = {
|
|
|
936
1026
|
};
|
|
937
1027
|
/**
|
|
938
1028
|
* EvalSet
|
|
1029
|
+
*
|
|
939
1030
|
* A set of eval cases.
|
|
940
1031
|
*/
|
|
941
1032
|
export type EvalSetInput = {
|
|
@@ -962,6 +1053,7 @@ export type EvalSetInput = {
|
|
|
962
1053
|
};
|
|
963
1054
|
/**
|
|
964
1055
|
* EvalSet
|
|
1056
|
+
*
|
|
965
1057
|
* A set of eval cases.
|
|
966
1058
|
*/
|
|
967
1059
|
export type EvalSetOutput = {
|
|
@@ -988,6 +1080,7 @@ export type EvalSetOutput = {
|
|
|
988
1080
|
};
|
|
989
1081
|
/**
|
|
990
1082
|
* EvalSetResult
|
|
1083
|
+
*
|
|
991
1084
|
* Eval set level evaluation results.
|
|
992
1085
|
*/
|
|
993
1086
|
export type EvalSetResult = {
|
|
@@ -1023,9 +1116,10 @@ export declare const EvalStatus: {
|
|
|
1023
1116
|
/**
|
|
1024
1117
|
* EvalStatus
|
|
1025
1118
|
*/
|
|
1026
|
-
export type EvalStatus =
|
|
1119
|
+
export type EvalStatus = typeof EvalStatus[keyof typeof EvalStatus];
|
|
1027
1120
|
/**
|
|
1028
1121
|
* Event
|
|
1122
|
+
*
|
|
1029
1123
|
* Represents an event in a conversation between agents and users.
|
|
1030
1124
|
*
|
|
1031
1125
|
* It is used to store the content of the conversation, as well as the actions
|
|
@@ -1099,6 +1193,7 @@ export type EventInput = {
|
|
|
1099
1193
|
};
|
|
1100
1194
|
/**
|
|
1101
1195
|
* Event
|
|
1196
|
+
*
|
|
1102
1197
|
* Represents an event in a conversation between agents and users.
|
|
1103
1198
|
*
|
|
1104
1199
|
* It is used to store the content of the conversation, as well as the actions
|
|
@@ -1172,6 +1267,7 @@ export type EventOutput = {
|
|
|
1172
1267
|
};
|
|
1173
1268
|
/**
|
|
1174
1269
|
* EventActions
|
|
1270
|
+
*
|
|
1175
1271
|
* Represents the actions attached to an event.
|
|
1176
1272
|
*/
|
|
1177
1273
|
export type EventActionsInput = {
|
|
@@ -1215,6 +1311,7 @@ export type EventActionsInput = {
|
|
|
1215
1311
|
};
|
|
1216
1312
|
/**
|
|
1217
1313
|
* EventActions
|
|
1314
|
+
*
|
|
1218
1315
|
* Represents the actions attached to an event.
|
|
1219
1316
|
*/
|
|
1220
1317
|
export type EventActionsOutput = {
|
|
@@ -1258,6 +1355,7 @@ export type EventActionsOutput = {
|
|
|
1258
1355
|
};
|
|
1259
1356
|
/**
|
|
1260
1357
|
* EventCompaction
|
|
1358
|
+
*
|
|
1261
1359
|
* The compaction of the events.
|
|
1262
1360
|
*/
|
|
1263
1361
|
export type EventCompactionInput = {
|
|
@@ -1273,6 +1371,7 @@ export type EventCompactionInput = {
|
|
|
1273
1371
|
};
|
|
1274
1372
|
/**
|
|
1275
1373
|
* EventCompaction
|
|
1374
|
+
*
|
|
1276
1375
|
* The compaction of the events.
|
|
1277
1376
|
*/
|
|
1278
1377
|
export type EventCompactionOutput = {
|
|
@@ -1288,6 +1387,7 @@ export type EventCompactionOutput = {
|
|
|
1288
1387
|
};
|
|
1289
1388
|
/**
|
|
1290
1389
|
* ExecutableCode
|
|
1390
|
+
*
|
|
1291
1391
|
* Code generated by the model that is meant to be executed, and the result returned to the model.
|
|
1292
1392
|
*
|
|
1293
1393
|
* Generated when using the [FunctionDeclaration] tool and
|
|
@@ -1296,6 +1396,7 @@ export type EventCompactionOutput = {
|
|
|
1296
1396
|
export type ExecutableCode = {
|
|
1297
1397
|
/**
|
|
1298
1398
|
* Code
|
|
1399
|
+
*
|
|
1299
1400
|
* Required. The code to be executed.
|
|
1300
1401
|
*/
|
|
1301
1402
|
code?: string | null;
|
|
@@ -1306,6 +1407,7 @@ export type ExecutableCode = {
|
|
|
1306
1407
|
};
|
|
1307
1408
|
/**
|
|
1308
1409
|
* FeatureSelectionPreference
|
|
1410
|
+
*
|
|
1309
1411
|
* Options for feature selection preference.
|
|
1310
1412
|
*/
|
|
1311
1413
|
export declare const FeatureSelectionPreference: {
|
|
@@ -1316,61 +1418,73 @@ export declare const FeatureSelectionPreference: {
|
|
|
1316
1418
|
};
|
|
1317
1419
|
/**
|
|
1318
1420
|
* FeatureSelectionPreference
|
|
1421
|
+
*
|
|
1319
1422
|
* Options for feature selection preference.
|
|
1320
1423
|
*/
|
|
1321
|
-
export type FeatureSelectionPreference =
|
|
1424
|
+
export type FeatureSelectionPreference = typeof FeatureSelectionPreference[keyof typeof FeatureSelectionPreference];
|
|
1322
1425
|
/**
|
|
1323
1426
|
* File
|
|
1427
|
+
*
|
|
1324
1428
|
* A file uploaded to the API.
|
|
1325
1429
|
*/
|
|
1326
1430
|
export type File = {
|
|
1327
1431
|
/**
|
|
1328
1432
|
* Name
|
|
1433
|
+
*
|
|
1329
1434
|
* The `File` resource name. The ID (name excluding the "files/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be generated. Example: `files/123-456`
|
|
1330
1435
|
*/
|
|
1331
1436
|
name?: string | null;
|
|
1332
1437
|
/**
|
|
1333
1438
|
* Displayname
|
|
1439
|
+
*
|
|
1334
1440
|
* Optional. The human-readable display name for the `File`. The display name must be no more than 512 characters in length, including spaces. Example: 'Welcome Image'
|
|
1335
1441
|
*/
|
|
1336
1442
|
displayName?: string | null;
|
|
1337
1443
|
/**
|
|
1338
1444
|
* Mimetype
|
|
1445
|
+
*
|
|
1339
1446
|
* Output only. MIME type of the file.
|
|
1340
1447
|
*/
|
|
1341
1448
|
mimeType?: string | null;
|
|
1342
1449
|
/**
|
|
1343
1450
|
* Sizebytes
|
|
1451
|
+
*
|
|
1344
1452
|
* Output only. Size of the file in bytes.
|
|
1345
1453
|
*/
|
|
1346
1454
|
sizeBytes?: number | null;
|
|
1347
1455
|
/**
|
|
1348
1456
|
* Createtime
|
|
1457
|
+
*
|
|
1349
1458
|
* Output only. The timestamp of when the `File` was created.
|
|
1350
1459
|
*/
|
|
1351
1460
|
createTime?: string | null;
|
|
1352
1461
|
/**
|
|
1353
1462
|
* Expirationtime
|
|
1463
|
+
*
|
|
1354
1464
|
* Output only. The timestamp of when the `File` will be deleted. Only set if the `File` is scheduled to expire.
|
|
1355
1465
|
*/
|
|
1356
1466
|
expirationTime?: string | null;
|
|
1357
1467
|
/**
|
|
1358
1468
|
* Updatetime
|
|
1469
|
+
*
|
|
1359
1470
|
* Output only. The timestamp of when the `File` was last updated.
|
|
1360
1471
|
*/
|
|
1361
1472
|
updateTime?: string | null;
|
|
1362
1473
|
/**
|
|
1363
1474
|
* Sha256Hash
|
|
1475
|
+
*
|
|
1364
1476
|
* Output only. SHA-256 hash of the uploaded bytes. The hash value is encoded in base64 format.
|
|
1365
1477
|
*/
|
|
1366
1478
|
sha256Hash?: string | null;
|
|
1367
1479
|
/**
|
|
1368
1480
|
* Uri
|
|
1481
|
+
*
|
|
1369
1482
|
* Output only. The URI of the `File`.
|
|
1370
1483
|
*/
|
|
1371
1484
|
uri?: string | null;
|
|
1372
1485
|
/**
|
|
1373
1486
|
* Downloaduri
|
|
1487
|
+
*
|
|
1374
1488
|
* Output only. The URI of the `File`, only set for downloadable (generated) files.
|
|
1375
1489
|
*/
|
|
1376
1490
|
downloadUri?: string | null;
|
|
@@ -1384,6 +1498,7 @@ export type File = {
|
|
|
1384
1498
|
source?: FileSource | null;
|
|
1385
1499
|
/**
|
|
1386
1500
|
* Videometadata
|
|
1501
|
+
*
|
|
1387
1502
|
* Output only. Metadata for a video.
|
|
1388
1503
|
*/
|
|
1389
1504
|
videoMetadata?: {
|
|
@@ -1396,27 +1511,32 @@ export type File = {
|
|
|
1396
1511
|
};
|
|
1397
1512
|
/**
|
|
1398
1513
|
* FileData
|
|
1514
|
+
*
|
|
1399
1515
|
* URI based data.
|
|
1400
1516
|
*/
|
|
1401
1517
|
export type FileData = {
|
|
1402
1518
|
/**
|
|
1403
1519
|
* Displayname
|
|
1520
|
+
*
|
|
1404
1521
|
* Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. It is not currently used in the Gemini GenerateContent calls.
|
|
1405
1522
|
*/
|
|
1406
1523
|
displayName?: string | null;
|
|
1407
1524
|
/**
|
|
1408
1525
|
* Fileuri
|
|
1526
|
+
*
|
|
1409
1527
|
* Required. URI.
|
|
1410
1528
|
*/
|
|
1411
1529
|
fileUri?: string | null;
|
|
1412
1530
|
/**
|
|
1413
1531
|
* Mimetype
|
|
1532
|
+
*
|
|
1414
1533
|
* Required. The IANA standard MIME type of the source data.
|
|
1415
1534
|
*/
|
|
1416
1535
|
mimeType?: string | null;
|
|
1417
1536
|
};
|
|
1418
1537
|
/**
|
|
1419
1538
|
* FileSource
|
|
1539
|
+
*
|
|
1420
1540
|
* Source of the File.
|
|
1421
1541
|
*/
|
|
1422
1542
|
export declare const FileSource: {
|
|
@@ -1426,11 +1546,13 @@ export declare const FileSource: {
|
|
|
1426
1546
|
};
|
|
1427
1547
|
/**
|
|
1428
1548
|
* FileSource
|
|
1549
|
+
*
|
|
1429
1550
|
* Source of the File.
|
|
1430
1551
|
*/
|
|
1431
|
-
export type FileSource =
|
|
1552
|
+
export type FileSource = typeof FileSource[keyof typeof FileSource];
|
|
1432
1553
|
/**
|
|
1433
1554
|
* FileState
|
|
1555
|
+
*
|
|
1434
1556
|
* State for the lifecycle of a File.
|
|
1435
1557
|
*/
|
|
1436
1558
|
export declare const FileState: {
|
|
@@ -1441,16 +1563,19 @@ export declare const FileState: {
|
|
|
1441
1563
|
};
|
|
1442
1564
|
/**
|
|
1443
1565
|
* FileState
|
|
1566
|
+
*
|
|
1444
1567
|
* State for the lifecycle of a File.
|
|
1445
1568
|
*/
|
|
1446
|
-
export type FileState =
|
|
1569
|
+
export type FileState = typeof FileState[keyof typeof FileState];
|
|
1447
1570
|
/**
|
|
1448
1571
|
* FileStatus
|
|
1572
|
+
*
|
|
1449
1573
|
* Status of a File that uses a common error model.
|
|
1450
1574
|
*/
|
|
1451
1575
|
export type FileStatus = {
|
|
1452
1576
|
/**
|
|
1453
1577
|
* Details
|
|
1578
|
+
*
|
|
1454
1579
|
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1455
1580
|
*/
|
|
1456
1581
|
details?: Array<{
|
|
@@ -1458,17 +1583,20 @@ export type FileStatus = {
|
|
|
1458
1583
|
}> | null;
|
|
1459
1584
|
/**
|
|
1460
1585
|
* Message
|
|
1586
|
+
*
|
|
1461
1587
|
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1462
1588
|
*/
|
|
1463
1589
|
message?: string | null;
|
|
1464
1590
|
/**
|
|
1465
1591
|
* Code
|
|
1592
|
+
*
|
|
1466
1593
|
* The status code. 0 for OK, 1 for CANCELLED
|
|
1467
1594
|
*/
|
|
1468
1595
|
code?: number | null;
|
|
1469
1596
|
};
|
|
1470
1597
|
/**
|
|
1471
1598
|
* FinishReason
|
|
1599
|
+
*
|
|
1472
1600
|
* Output only. The reason why the model stopped generating tokens.
|
|
1473
1601
|
*
|
|
1474
1602
|
* If empty, the model has not stopped generating the tokens.
|
|
@@ -1490,24 +1618,28 @@ export declare const FinishReason: {
|
|
|
1490
1618
|
};
|
|
1491
1619
|
/**
|
|
1492
1620
|
* FinishReason
|
|
1621
|
+
*
|
|
1493
1622
|
* Output only. The reason why the model stopped generating tokens.
|
|
1494
1623
|
*
|
|
1495
1624
|
* If empty, the model has not stopped generating the tokens.
|
|
1496
1625
|
*/
|
|
1497
|
-
export type FinishReason =
|
|
1626
|
+
export type FinishReason = typeof FinishReason[keyof typeof FinishReason];
|
|
1498
1627
|
/**
|
|
1499
1628
|
* FunctionCall
|
|
1629
|
+
*
|
|
1500
1630
|
* A function call.
|
|
1501
1631
|
*/
|
|
1502
1632
|
export type FunctionCall = {
|
|
1503
1633
|
/**
|
|
1504
1634
|
* Id
|
|
1635
|
+
*
|
|
1505
1636
|
* The unique id of the function call. If populated, the client to execute the
|
|
1506
1637
|
* `function_call` and return the response with the matching `id`.
|
|
1507
1638
|
*/
|
|
1508
1639
|
id?: string | null;
|
|
1509
1640
|
/**
|
|
1510
1641
|
* Args
|
|
1642
|
+
*
|
|
1511
1643
|
* Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
|
|
1512
1644
|
*/
|
|
1513
1645
|
args?: {
|
|
@@ -1515,12 +1647,14 @@ export type FunctionCall = {
|
|
|
1515
1647
|
} | null;
|
|
1516
1648
|
/**
|
|
1517
1649
|
* Name
|
|
1650
|
+
*
|
|
1518
1651
|
* Required. The name of the function to call. Matches [FunctionDeclaration.name].
|
|
1519
1652
|
*/
|
|
1520
1653
|
name?: string | null;
|
|
1521
1654
|
};
|
|
1522
1655
|
/**
|
|
1523
1656
|
* FunctionCallingConfig
|
|
1657
|
+
*
|
|
1524
1658
|
* Function calling config.
|
|
1525
1659
|
*/
|
|
1526
1660
|
export type FunctionCallingConfig = {
|
|
@@ -1530,12 +1664,14 @@ export type FunctionCallingConfig = {
|
|
|
1530
1664
|
mode?: FunctionCallingConfigMode | null;
|
|
1531
1665
|
/**
|
|
1532
1666
|
* Allowedfunctionnames
|
|
1667
|
+
*
|
|
1533
1668
|
* Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
|
|
1534
1669
|
*/
|
|
1535
1670
|
allowedFunctionNames?: Array<string> | null;
|
|
1536
1671
|
};
|
|
1537
1672
|
/**
|
|
1538
1673
|
* FunctionCallingConfigMode
|
|
1674
|
+
*
|
|
1539
1675
|
* Config for the function calling config mode.
|
|
1540
1676
|
*/
|
|
1541
1677
|
export declare const FunctionCallingConfigMode: {
|
|
@@ -1546,11 +1682,13 @@ export declare const FunctionCallingConfigMode: {
|
|
|
1546
1682
|
};
|
|
1547
1683
|
/**
|
|
1548
1684
|
* FunctionCallingConfigMode
|
|
1685
|
+
*
|
|
1549
1686
|
* Config for the function calling config mode.
|
|
1550
1687
|
*/
|
|
1551
|
-
export type FunctionCallingConfigMode =
|
|
1688
|
+
export type FunctionCallingConfigMode = typeof FunctionCallingConfigMode[keyof typeof FunctionCallingConfigMode];
|
|
1552
1689
|
/**
|
|
1553
1690
|
* FunctionDeclaration
|
|
1691
|
+
*
|
|
1554
1692
|
* Defines a function that the model can generate JSON inputs for.
|
|
1555
1693
|
*
|
|
1556
1694
|
* The inputs are based on `OpenAPI 3.0 specifications
|
|
@@ -1563,11 +1701,13 @@ export type FunctionDeclarationInput = {
|
|
|
1563
1701
|
behavior?: Behavior | null;
|
|
1564
1702
|
/**
|
|
1565
1703
|
* Description
|
|
1704
|
+
*
|
|
1566
1705
|
* Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
|
|
1567
1706
|
*/
|
|
1568
1707
|
description?: string | null;
|
|
1569
1708
|
/**
|
|
1570
1709
|
* Name
|
|
1710
|
+
*
|
|
1571
1711
|
* Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64.
|
|
1572
1712
|
*/
|
|
1573
1713
|
name?: string | null;
|
|
@@ -1577,6 +1717,7 @@ export type FunctionDeclarationInput = {
|
|
|
1577
1717
|
parameters?: SchemaInput | null;
|
|
1578
1718
|
/**
|
|
1579
1719
|
* Parametersjsonschema
|
|
1720
|
+
*
|
|
1580
1721
|
* Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`.
|
|
1581
1722
|
*/
|
|
1582
1723
|
parametersJsonSchema?: unknown | null;
|
|
@@ -1586,12 +1727,14 @@ export type FunctionDeclarationInput = {
|
|
|
1586
1727
|
response?: SchemaInput | null;
|
|
1587
1728
|
/**
|
|
1588
1729
|
* Responsejsonschema
|
|
1730
|
+
*
|
|
1589
1731
|
* Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
|
|
1590
1732
|
*/
|
|
1591
1733
|
responseJsonSchema?: unknown | null;
|
|
1592
1734
|
};
|
|
1593
1735
|
/**
|
|
1594
1736
|
* FunctionDeclaration
|
|
1737
|
+
*
|
|
1595
1738
|
* Defines a function that the model can generate JSON inputs for.
|
|
1596
1739
|
*
|
|
1597
1740
|
* The inputs are based on `OpenAPI 3.0 specifications
|
|
@@ -1604,11 +1747,13 @@ export type FunctionDeclarationOutput = {
|
|
|
1604
1747
|
behavior?: Behavior | null;
|
|
1605
1748
|
/**
|
|
1606
1749
|
* Description
|
|
1750
|
+
*
|
|
1607
1751
|
* Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
|
|
1608
1752
|
*/
|
|
1609
1753
|
description?: string | null;
|
|
1610
1754
|
/**
|
|
1611
1755
|
* Name
|
|
1756
|
+
*
|
|
1612
1757
|
* Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64.
|
|
1613
1758
|
*/
|
|
1614
1759
|
name?: string | null;
|
|
@@ -1618,6 +1763,7 @@ export type FunctionDeclarationOutput = {
|
|
|
1618
1763
|
parameters?: SchemaOutput | null;
|
|
1619
1764
|
/**
|
|
1620
1765
|
* Parametersjsonschema
|
|
1766
|
+
*
|
|
1621
1767
|
* Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`.
|
|
1622
1768
|
*/
|
|
1623
1769
|
parametersJsonSchema?: unknown | null;
|
|
@@ -1627,17 +1773,20 @@ export type FunctionDeclarationOutput = {
|
|
|
1627
1773
|
response?: SchemaOutput | null;
|
|
1628
1774
|
/**
|
|
1629
1775
|
* Responsejsonschema
|
|
1776
|
+
*
|
|
1630
1777
|
* Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
|
|
1631
1778
|
*/
|
|
1632
1779
|
responseJsonSchema?: unknown | null;
|
|
1633
1780
|
};
|
|
1634
1781
|
/**
|
|
1635
1782
|
* FunctionResponse
|
|
1783
|
+
*
|
|
1636
1784
|
* A function response.
|
|
1637
1785
|
*/
|
|
1638
1786
|
export type FunctionResponse = {
|
|
1639
1787
|
/**
|
|
1640
1788
|
* Willcontinue
|
|
1789
|
+
*
|
|
1641
1790
|
* Signals that function call continues, and more responses will be returned, turning the function call into a generator. Is only applicable to NON_BLOCKING function calls (see FunctionDeclaration.behavior for details), ignored otherwise. If false, the default, future responses will not be considered. Is only applicable to NON_BLOCKING function calls, is ignored otherwise. If set to false, future responses will not be considered. It is allowed to return empty `response` with `will_continue=False` to signal that the function call is finished.
|
|
1642
1791
|
*/
|
|
1643
1792
|
willContinue?: boolean | null;
|
|
@@ -1647,16 +1796,19 @@ export type FunctionResponse = {
|
|
|
1647
1796
|
scheduling?: FunctionResponseScheduling | null;
|
|
1648
1797
|
/**
|
|
1649
1798
|
* Id
|
|
1799
|
+
*
|
|
1650
1800
|
* Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`.
|
|
1651
1801
|
*/
|
|
1652
1802
|
id?: string | null;
|
|
1653
1803
|
/**
|
|
1654
1804
|
* Name
|
|
1805
|
+
*
|
|
1655
1806
|
* Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
|
|
1656
1807
|
*/
|
|
1657
1808
|
name?: string | null;
|
|
1658
1809
|
/**
|
|
1659
1810
|
* Response
|
|
1811
|
+
*
|
|
1660
1812
|
* Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
|
|
1661
1813
|
*/
|
|
1662
1814
|
response?: {
|
|
@@ -1665,6 +1817,7 @@ export type FunctionResponse = {
|
|
|
1665
1817
|
};
|
|
1666
1818
|
/**
|
|
1667
1819
|
* FunctionResponseScheduling
|
|
1820
|
+
*
|
|
1668
1821
|
* Specifies how the response should be scheduled in the conversation.
|
|
1669
1822
|
*/
|
|
1670
1823
|
export declare const FunctionResponseScheduling: {
|
|
@@ -1675,11 +1828,13 @@ export declare const FunctionResponseScheduling: {
|
|
|
1675
1828
|
};
|
|
1676
1829
|
/**
|
|
1677
1830
|
* FunctionResponseScheduling
|
|
1831
|
+
*
|
|
1678
1832
|
* Specifies how the response should be scheduled in the conversation.
|
|
1679
1833
|
*/
|
|
1680
|
-
export type FunctionResponseScheduling =
|
|
1834
|
+
export type FunctionResponseScheduling = typeof FunctionResponseScheduling[keyof typeof FunctionResponseScheduling];
|
|
1681
1835
|
/**
|
|
1682
1836
|
* GenerateContentConfig
|
|
1837
|
+
*
|
|
1683
1838
|
* Optional model configuration parameters.
|
|
1684
1839
|
*
|
|
1685
1840
|
* For more information, see `Content generation parameters
|
|
@@ -1692,6 +1847,7 @@ export type GenerateContentConfigInput = {
|
|
|
1692
1847
|
httpOptions?: HttpOptions | null;
|
|
1693
1848
|
/**
|
|
1694
1849
|
* Systeminstruction
|
|
1850
|
+
*
|
|
1695
1851
|
* Instructions for the model to steer it toward better performance.
|
|
1696
1852
|
* For example, "Answer as concisely as possible" or "Don't use technical
|
|
1697
1853
|
* terms in your response".
|
|
@@ -1700,6 +1856,7 @@ export type GenerateContentConfigInput = {
|
|
|
1700
1856
|
systemInstruction?: ContentInput | Array<File | PartInput | string> | File | PartInput | string | null;
|
|
1701
1857
|
/**
|
|
1702
1858
|
* Temperature
|
|
1859
|
+
*
|
|
1703
1860
|
* Value that controls the degree of randomness in token selection.
|
|
1704
1861
|
* Lower temperatures are good for prompts that require a less open-ended or
|
|
1705
1862
|
* creative response, while higher temperatures can lead to more diverse or
|
|
@@ -1709,6 +1866,7 @@ export type GenerateContentConfigInput = {
|
|
|
1709
1866
|
temperature?: number | null;
|
|
1710
1867
|
/**
|
|
1711
1868
|
* Topp
|
|
1869
|
+
*
|
|
1712
1870
|
* Tokens are selected from the most to least probable until the sum
|
|
1713
1871
|
* of their probabilities equals this value. Use a lower value for less
|
|
1714
1872
|
* random responses and a higher value for more random responses.
|
|
@@ -1717,6 +1875,7 @@ export type GenerateContentConfigInput = {
|
|
|
1717
1875
|
topP?: number | null;
|
|
1718
1876
|
/**
|
|
1719
1877
|
* Topk
|
|
1878
|
+
*
|
|
1720
1879
|
* For each token selection step, the ``top_k`` tokens with the
|
|
1721
1880
|
* highest probabilities are sampled. Then tokens are further filtered based
|
|
1722
1881
|
* on ``top_p`` with the final token selected using temperature sampling. Use
|
|
@@ -1727,18 +1886,21 @@ export type GenerateContentConfigInput = {
|
|
|
1727
1886
|
topK?: number | null;
|
|
1728
1887
|
/**
|
|
1729
1888
|
* Candidatecount
|
|
1889
|
+
*
|
|
1730
1890
|
* Number of response variations to return.
|
|
1731
1891
|
*
|
|
1732
1892
|
*/
|
|
1733
1893
|
candidateCount?: number | null;
|
|
1734
1894
|
/**
|
|
1735
1895
|
* Maxoutputtokens
|
|
1896
|
+
*
|
|
1736
1897
|
* Maximum number of tokens that can be generated in the response.
|
|
1737
1898
|
*
|
|
1738
1899
|
*/
|
|
1739
1900
|
maxOutputTokens?: number | null;
|
|
1740
1901
|
/**
|
|
1741
1902
|
* Stopsequences
|
|
1903
|
+
*
|
|
1742
1904
|
* List of strings that tells the model to stop generating text if one
|
|
1743
1905
|
* of the strings is encountered in the response.
|
|
1744
1906
|
*
|
|
@@ -1746,6 +1908,7 @@ export type GenerateContentConfigInput = {
|
|
|
1746
1908
|
stopSequences?: Array<string> | null;
|
|
1747
1909
|
/**
|
|
1748
1910
|
* Responselogprobs
|
|
1911
|
+
*
|
|
1749
1912
|
* Whether to return the log probabilities of the tokens that were
|
|
1750
1913
|
* chosen by the model at each step.
|
|
1751
1914
|
*
|
|
@@ -1753,6 +1916,7 @@ export type GenerateContentConfigInput = {
|
|
|
1753
1916
|
responseLogprobs?: boolean | null;
|
|
1754
1917
|
/**
|
|
1755
1918
|
* Logprobs
|
|
1919
|
+
*
|
|
1756
1920
|
* Number of top candidate tokens to return the log probabilities for
|
|
1757
1921
|
* at each generation step.
|
|
1758
1922
|
*
|
|
@@ -1760,6 +1924,7 @@ export type GenerateContentConfigInput = {
|
|
|
1760
1924
|
logprobs?: number | null;
|
|
1761
1925
|
/**
|
|
1762
1926
|
* Presencepenalty
|
|
1927
|
+
*
|
|
1763
1928
|
* Positive values penalize tokens that already appear in the
|
|
1764
1929
|
* generated text, increasing the probability of generating more diverse
|
|
1765
1930
|
* content.
|
|
@@ -1768,6 +1933,7 @@ export type GenerateContentConfigInput = {
|
|
|
1768
1933
|
presencePenalty?: number | null;
|
|
1769
1934
|
/**
|
|
1770
1935
|
* Frequencypenalty
|
|
1936
|
+
*
|
|
1771
1937
|
* Positive values penalize tokens that repeatedly appear in the
|
|
1772
1938
|
* generated text, increasing the probability of generating more diverse
|
|
1773
1939
|
* content.
|
|
@@ -1776,6 +1942,7 @@ export type GenerateContentConfigInput = {
|
|
|
1776
1942
|
frequencyPenalty?: number | null;
|
|
1777
1943
|
/**
|
|
1778
1944
|
* Seed
|
|
1945
|
+
*
|
|
1779
1946
|
* When ``seed`` is fixed to a specific number, the model makes a best
|
|
1780
1947
|
* effort to provide the same response for repeated requests. By default, a
|
|
1781
1948
|
* random number is used.
|
|
@@ -1784,6 +1951,7 @@ export type GenerateContentConfigInput = {
|
|
|
1784
1951
|
seed?: number | null;
|
|
1785
1952
|
/**
|
|
1786
1953
|
* Responsemimetype
|
|
1954
|
+
*
|
|
1787
1955
|
* Output response mimetype of the generated candidate text.
|
|
1788
1956
|
* Supported mimetype:
|
|
1789
1957
|
* - `text/plain`: (default) Text output.
|
|
@@ -1796,6 +1964,7 @@ export type GenerateContentConfigInput = {
|
|
|
1796
1964
|
responseMimeType?: string | null;
|
|
1797
1965
|
/**
|
|
1798
1966
|
* Responseschema
|
|
1967
|
+
*
|
|
1799
1968
|
* The `Schema` object allows the definition of input and output data types.
|
|
1800
1969
|
* These types can be objects, but also primitives and arrays.
|
|
1801
1970
|
* Represents a select subset of an [OpenAPI 3.0 schema
|
|
@@ -1809,6 +1978,7 @@ export type GenerateContentConfigInput = {
|
|
|
1809
1978
|
} | SchemaInput | null;
|
|
1810
1979
|
/**
|
|
1811
1980
|
* Responsejsonschema
|
|
1981
|
+
*
|
|
1812
1982
|
* Optional. Output schema of the generated response.
|
|
1813
1983
|
* This is an alternative to `response_schema` that accepts [JSON
|
|
1814
1984
|
* Schema](https://json-schema.org/). If set, `response_schema` must be
|
|
@@ -1838,6 +2008,7 @@ export type GenerateContentConfigInput = {
|
|
|
1838
2008
|
modelSelectionConfig?: ModelSelectionConfig | null;
|
|
1839
2009
|
/**
|
|
1840
2010
|
* Safetysettings
|
|
2011
|
+
*
|
|
1841
2012
|
* Safety settings in the request to block unsafe content in the
|
|
1842
2013
|
* response.
|
|
1843
2014
|
*
|
|
@@ -1845,6 +2016,7 @@ export type GenerateContentConfigInput = {
|
|
|
1845
2016
|
safetySettings?: Array<SafetySetting> | null;
|
|
1846
2017
|
/**
|
|
1847
2018
|
* Tools
|
|
2019
|
+
*
|
|
1848
2020
|
* Code that enables the system to interact with external systems to
|
|
1849
2021
|
* perform an action outside of the knowledge and scope of the model.
|
|
1850
2022
|
*
|
|
@@ -1857,6 +2029,7 @@ export type GenerateContentConfigInput = {
|
|
|
1857
2029
|
toolConfig?: ToolConfigInput | null;
|
|
1858
2030
|
/**
|
|
1859
2031
|
* Labels
|
|
2032
|
+
*
|
|
1860
2033
|
* Labels with user-defined metadata to break down billed charges.
|
|
1861
2034
|
*/
|
|
1862
2035
|
labels?: {
|
|
@@ -1864,6 +2037,7 @@ export type GenerateContentConfigInput = {
|
|
|
1864
2037
|
} | null;
|
|
1865
2038
|
/**
|
|
1866
2039
|
* Cachedcontent
|
|
2040
|
+
*
|
|
1867
2041
|
* Resource name of a context cache that can be used in subsequent
|
|
1868
2042
|
* requests.
|
|
1869
2043
|
*
|
|
@@ -1871,6 +2045,7 @@ export type GenerateContentConfigInput = {
|
|
|
1871
2045
|
cachedContent?: string | null;
|
|
1872
2046
|
/**
|
|
1873
2047
|
* Responsemodalities
|
|
2048
|
+
*
|
|
1874
2049
|
* The requested modalities of the response. Represents the set of
|
|
1875
2050
|
* modalities that the model can return.
|
|
1876
2051
|
*
|
|
@@ -1883,12 +2058,14 @@ export type GenerateContentConfigInput = {
|
|
|
1883
2058
|
mediaResolution?: MediaResolution | null;
|
|
1884
2059
|
/**
|
|
1885
2060
|
* Speechconfig
|
|
2061
|
+
*
|
|
1886
2062
|
* The speech generation configuration.
|
|
1887
2063
|
*
|
|
1888
2064
|
*/
|
|
1889
2065
|
speechConfig?: SpeechConfigInput | string | null;
|
|
1890
2066
|
/**
|
|
1891
2067
|
* Audiotimestamp
|
|
2068
|
+
*
|
|
1892
2069
|
* If enabled, audio timestamp will be included in the request to the
|
|
1893
2070
|
* model.
|
|
1894
2071
|
*
|
|
@@ -1907,6 +2084,7 @@ export type GenerateContentConfigInput = {
|
|
|
1907
2084
|
};
|
|
1908
2085
|
/**
|
|
1909
2086
|
* GenerateContentConfig
|
|
2087
|
+
*
|
|
1910
2088
|
* Optional model configuration parameters.
|
|
1911
2089
|
*
|
|
1912
2090
|
* For more information, see `Content generation parameters
|
|
@@ -1919,6 +2097,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1919
2097
|
httpOptions?: HttpOptions | null;
|
|
1920
2098
|
/**
|
|
1921
2099
|
* Systeminstruction
|
|
2100
|
+
*
|
|
1922
2101
|
* Instructions for the model to steer it toward better performance.
|
|
1923
2102
|
* For example, "Answer as concisely as possible" or "Don't use technical
|
|
1924
2103
|
* terms in your response".
|
|
@@ -1927,6 +2106,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1927
2106
|
systemInstruction?: ContentOutput | Array<File | PartOutput | string> | File | PartOutput | string | null;
|
|
1928
2107
|
/**
|
|
1929
2108
|
* Temperature
|
|
2109
|
+
*
|
|
1930
2110
|
* Value that controls the degree of randomness in token selection.
|
|
1931
2111
|
* Lower temperatures are good for prompts that require a less open-ended or
|
|
1932
2112
|
* creative response, while higher temperatures can lead to more diverse or
|
|
@@ -1936,6 +2116,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1936
2116
|
temperature?: number | null;
|
|
1937
2117
|
/**
|
|
1938
2118
|
* Topp
|
|
2119
|
+
*
|
|
1939
2120
|
* Tokens are selected from the most to least probable until the sum
|
|
1940
2121
|
* of their probabilities equals this value. Use a lower value for less
|
|
1941
2122
|
* random responses and a higher value for more random responses.
|
|
@@ -1944,6 +2125,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1944
2125
|
topP?: number | null;
|
|
1945
2126
|
/**
|
|
1946
2127
|
* Topk
|
|
2128
|
+
*
|
|
1947
2129
|
* For each token selection step, the ``top_k`` tokens with the
|
|
1948
2130
|
* highest probabilities are sampled. Then tokens are further filtered based
|
|
1949
2131
|
* on ``top_p`` with the final token selected using temperature sampling. Use
|
|
@@ -1954,18 +2136,21 @@ export type GenerateContentConfigOutput = {
|
|
|
1954
2136
|
topK?: number | null;
|
|
1955
2137
|
/**
|
|
1956
2138
|
* Candidatecount
|
|
2139
|
+
*
|
|
1957
2140
|
* Number of response variations to return.
|
|
1958
2141
|
*
|
|
1959
2142
|
*/
|
|
1960
2143
|
candidateCount?: number | null;
|
|
1961
2144
|
/**
|
|
1962
2145
|
* Maxoutputtokens
|
|
2146
|
+
*
|
|
1963
2147
|
* Maximum number of tokens that can be generated in the response.
|
|
1964
2148
|
*
|
|
1965
2149
|
*/
|
|
1966
2150
|
maxOutputTokens?: number | null;
|
|
1967
2151
|
/**
|
|
1968
2152
|
* Stopsequences
|
|
2153
|
+
*
|
|
1969
2154
|
* List of strings that tells the model to stop generating text if one
|
|
1970
2155
|
* of the strings is encountered in the response.
|
|
1971
2156
|
*
|
|
@@ -1973,6 +2158,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1973
2158
|
stopSequences?: Array<string> | null;
|
|
1974
2159
|
/**
|
|
1975
2160
|
* Responselogprobs
|
|
2161
|
+
*
|
|
1976
2162
|
* Whether to return the log probabilities of the tokens that were
|
|
1977
2163
|
* chosen by the model at each step.
|
|
1978
2164
|
*
|
|
@@ -1980,6 +2166,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1980
2166
|
responseLogprobs?: boolean | null;
|
|
1981
2167
|
/**
|
|
1982
2168
|
* Logprobs
|
|
2169
|
+
*
|
|
1983
2170
|
* Number of top candidate tokens to return the log probabilities for
|
|
1984
2171
|
* at each generation step.
|
|
1985
2172
|
*
|
|
@@ -1987,6 +2174,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1987
2174
|
logprobs?: number | null;
|
|
1988
2175
|
/**
|
|
1989
2176
|
* Presencepenalty
|
|
2177
|
+
*
|
|
1990
2178
|
* Positive values penalize tokens that already appear in the
|
|
1991
2179
|
* generated text, increasing the probability of generating more diverse
|
|
1992
2180
|
* content.
|
|
@@ -1995,6 +2183,7 @@ export type GenerateContentConfigOutput = {
|
|
|
1995
2183
|
presencePenalty?: number | null;
|
|
1996
2184
|
/**
|
|
1997
2185
|
* Frequencypenalty
|
|
2186
|
+
*
|
|
1998
2187
|
* Positive values penalize tokens that repeatedly appear in the
|
|
1999
2188
|
* generated text, increasing the probability of generating more diverse
|
|
2000
2189
|
* content.
|
|
@@ -2003,6 +2192,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2003
2192
|
frequencyPenalty?: number | null;
|
|
2004
2193
|
/**
|
|
2005
2194
|
* Seed
|
|
2195
|
+
*
|
|
2006
2196
|
* When ``seed`` is fixed to a specific number, the model makes a best
|
|
2007
2197
|
* effort to provide the same response for repeated requests. By default, a
|
|
2008
2198
|
* random number is used.
|
|
@@ -2011,6 +2201,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2011
2201
|
seed?: number | null;
|
|
2012
2202
|
/**
|
|
2013
2203
|
* Responsemimetype
|
|
2204
|
+
*
|
|
2014
2205
|
* Output response mimetype of the generated candidate text.
|
|
2015
2206
|
* Supported mimetype:
|
|
2016
2207
|
* - `text/plain`: (default) Text output.
|
|
@@ -2023,6 +2214,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2023
2214
|
responseMimeType?: string | null;
|
|
2024
2215
|
/**
|
|
2025
2216
|
* Responseschema
|
|
2217
|
+
*
|
|
2026
2218
|
* The `Schema` object allows the definition of input and output data types.
|
|
2027
2219
|
* These types can be objects, but also primitives and arrays.
|
|
2028
2220
|
* Represents a select subset of an [OpenAPI 3.0 schema
|
|
@@ -2036,6 +2228,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2036
2228
|
} | SchemaOutput | null;
|
|
2037
2229
|
/**
|
|
2038
2230
|
* Responsejsonschema
|
|
2231
|
+
*
|
|
2039
2232
|
* Optional. Output schema of the generated response.
|
|
2040
2233
|
* This is an alternative to `response_schema` that accepts [JSON
|
|
2041
2234
|
* Schema](https://json-schema.org/). If set, `response_schema` must be
|
|
@@ -2065,6 +2258,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2065
2258
|
modelSelectionConfig?: ModelSelectionConfig | null;
|
|
2066
2259
|
/**
|
|
2067
2260
|
* Safetysettings
|
|
2261
|
+
*
|
|
2068
2262
|
* Safety settings in the request to block unsafe content in the
|
|
2069
2263
|
* response.
|
|
2070
2264
|
*
|
|
@@ -2072,6 +2266,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2072
2266
|
safetySettings?: Array<SafetySetting> | null;
|
|
2073
2267
|
/**
|
|
2074
2268
|
* Tools
|
|
2269
|
+
*
|
|
2075
2270
|
* Code that enables the system to interact with external systems to
|
|
2076
2271
|
* perform an action outside of the knowledge and scope of the model.
|
|
2077
2272
|
*
|
|
@@ -2084,6 +2279,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2084
2279
|
toolConfig?: ToolConfigOutput | null;
|
|
2085
2280
|
/**
|
|
2086
2281
|
* Labels
|
|
2282
|
+
*
|
|
2087
2283
|
* Labels with user-defined metadata to break down billed charges.
|
|
2088
2284
|
*/
|
|
2089
2285
|
labels?: {
|
|
@@ -2091,6 +2287,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2091
2287
|
} | null;
|
|
2092
2288
|
/**
|
|
2093
2289
|
* Cachedcontent
|
|
2290
|
+
*
|
|
2094
2291
|
* Resource name of a context cache that can be used in subsequent
|
|
2095
2292
|
* requests.
|
|
2096
2293
|
*
|
|
@@ -2098,6 +2295,7 @@ export type GenerateContentConfigOutput = {
|
|
|
2098
2295
|
cachedContent?: string | null;
|
|
2099
2296
|
/**
|
|
2100
2297
|
* Responsemodalities
|
|
2298
|
+
*
|
|
2101
2299
|
* The requested modalities of the response. Represents the set of
|
|
2102
2300
|
* modalities that the model can return.
|
|
2103
2301
|
*
|
|
@@ -2110,12 +2308,14 @@ export type GenerateContentConfigOutput = {
|
|
|
2110
2308
|
mediaResolution?: MediaResolution | null;
|
|
2111
2309
|
/**
|
|
2112
2310
|
* Speechconfig
|
|
2311
|
+
*
|
|
2113
2312
|
* The speech generation configuration.
|
|
2114
2313
|
*
|
|
2115
2314
|
*/
|
|
2116
2315
|
speechConfig?: SpeechConfigOutput | string | null;
|
|
2117
2316
|
/**
|
|
2118
2317
|
* Audiotimestamp
|
|
2318
|
+
*
|
|
2119
2319
|
* If enabled, audio timestamp will be included in the request to the
|
|
2120
2320
|
* model.
|
|
2121
2321
|
*
|
|
@@ -2134,56 +2334,67 @@ export type GenerateContentConfigOutput = {
|
|
|
2134
2334
|
};
|
|
2135
2335
|
/**
|
|
2136
2336
|
* GenerateContentResponseUsageMetadata
|
|
2337
|
+
*
|
|
2137
2338
|
* Usage metadata about response(s).
|
|
2138
2339
|
*/
|
|
2139
2340
|
export type GenerateContentResponseUsageMetadataInput = {
|
|
2140
2341
|
/**
|
|
2141
2342
|
* Cachetokensdetails
|
|
2343
|
+
*
|
|
2142
2344
|
* Output only. List of modalities of the cached content in the request input.
|
|
2143
2345
|
*/
|
|
2144
2346
|
cacheTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2145
2347
|
/**
|
|
2146
2348
|
* Cachedcontenttokencount
|
|
2349
|
+
*
|
|
2147
2350
|
* Output only. Number of tokens in the cached part in the input (the cached content).
|
|
2148
2351
|
*/
|
|
2149
2352
|
cachedContentTokenCount?: number | null;
|
|
2150
2353
|
/**
|
|
2151
2354
|
* Candidatestokencount
|
|
2355
|
+
*
|
|
2152
2356
|
* Number of tokens in the response(s).
|
|
2153
2357
|
*/
|
|
2154
2358
|
candidatesTokenCount?: number | null;
|
|
2155
2359
|
/**
|
|
2156
2360
|
* Candidatestokensdetails
|
|
2361
|
+
*
|
|
2157
2362
|
* Output only. List of modalities that were returned in the response.
|
|
2158
2363
|
*/
|
|
2159
2364
|
candidatesTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2160
2365
|
/**
|
|
2161
2366
|
* Prompttokencount
|
|
2367
|
+
*
|
|
2162
2368
|
* Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
|
|
2163
2369
|
*/
|
|
2164
2370
|
promptTokenCount?: number | null;
|
|
2165
2371
|
/**
|
|
2166
2372
|
* Prompttokensdetails
|
|
2373
|
+
*
|
|
2167
2374
|
* Output only. List of modalities that were processed in the request input.
|
|
2168
2375
|
*/
|
|
2169
2376
|
promptTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2170
2377
|
/**
|
|
2171
2378
|
* Thoughtstokencount
|
|
2379
|
+
*
|
|
2172
2380
|
* Output only. Number of tokens present in thoughts output.
|
|
2173
2381
|
*/
|
|
2174
2382
|
thoughtsTokenCount?: number | null;
|
|
2175
2383
|
/**
|
|
2176
2384
|
* Tooluseprompttokencount
|
|
2385
|
+
*
|
|
2177
2386
|
* Output only. Number of tokens present in tool-use prompt(s).
|
|
2178
2387
|
*/
|
|
2179
2388
|
toolUsePromptTokenCount?: number | null;
|
|
2180
2389
|
/**
|
|
2181
2390
|
* Tooluseprompttokensdetails
|
|
2391
|
+
*
|
|
2182
2392
|
* Output only. List of modalities that were processed for tool-use request inputs.
|
|
2183
2393
|
*/
|
|
2184
2394
|
toolUsePromptTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2185
2395
|
/**
|
|
2186
2396
|
* Totaltokencount
|
|
2397
|
+
*
|
|
2187
2398
|
* Total token count for prompt, response candidates, and tool-use prompts (if present).
|
|
2188
2399
|
*/
|
|
2189
2400
|
totalTokenCount?: number | null;
|
|
@@ -2194,56 +2405,67 @@ export type GenerateContentResponseUsageMetadataInput = {
|
|
|
2194
2405
|
};
|
|
2195
2406
|
/**
|
|
2196
2407
|
* GenerateContentResponseUsageMetadata
|
|
2408
|
+
*
|
|
2197
2409
|
* Usage metadata about response(s).
|
|
2198
2410
|
*/
|
|
2199
2411
|
export type GenerateContentResponseUsageMetadataOutput = {
|
|
2200
2412
|
/**
|
|
2201
2413
|
* Cachetokensdetails
|
|
2414
|
+
*
|
|
2202
2415
|
* Output only. List of modalities of the cached content in the request input.
|
|
2203
2416
|
*/
|
|
2204
2417
|
cacheTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2205
2418
|
/**
|
|
2206
2419
|
* Cachedcontenttokencount
|
|
2420
|
+
*
|
|
2207
2421
|
* Output only. Number of tokens in the cached part in the input (the cached content).
|
|
2208
2422
|
*/
|
|
2209
2423
|
cachedContentTokenCount?: number | null;
|
|
2210
2424
|
/**
|
|
2211
2425
|
* Candidatestokencount
|
|
2426
|
+
*
|
|
2212
2427
|
* Number of tokens in the response(s).
|
|
2213
2428
|
*/
|
|
2214
2429
|
candidatesTokenCount?: number | null;
|
|
2215
2430
|
/**
|
|
2216
2431
|
* Candidatestokensdetails
|
|
2432
|
+
*
|
|
2217
2433
|
* Output only. List of modalities that were returned in the response.
|
|
2218
2434
|
*/
|
|
2219
2435
|
candidatesTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2220
2436
|
/**
|
|
2221
2437
|
* Prompttokencount
|
|
2438
|
+
*
|
|
2222
2439
|
* Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
|
|
2223
2440
|
*/
|
|
2224
2441
|
promptTokenCount?: number | null;
|
|
2225
2442
|
/**
|
|
2226
2443
|
* Prompttokensdetails
|
|
2444
|
+
*
|
|
2227
2445
|
* Output only. List of modalities that were processed in the request input.
|
|
2228
2446
|
*/
|
|
2229
2447
|
promptTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2230
2448
|
/**
|
|
2231
2449
|
* Thoughtstokencount
|
|
2450
|
+
*
|
|
2232
2451
|
* Output only. Number of tokens present in thoughts output.
|
|
2233
2452
|
*/
|
|
2234
2453
|
thoughtsTokenCount?: number | null;
|
|
2235
2454
|
/**
|
|
2236
2455
|
* Tooluseprompttokencount
|
|
2456
|
+
*
|
|
2237
2457
|
* Output only. Number of tokens present in tool-use prompt(s).
|
|
2238
2458
|
*/
|
|
2239
2459
|
toolUsePromptTokenCount?: number | null;
|
|
2240
2460
|
/**
|
|
2241
2461
|
* Tooluseprompttokensdetails
|
|
2462
|
+
*
|
|
2242
2463
|
* Output only. List of modalities that were processed for tool-use request inputs.
|
|
2243
2464
|
*/
|
|
2244
2465
|
toolUsePromptTokensDetails?: Array<ModalityTokenCount> | null;
|
|
2245
2466
|
/**
|
|
2246
2467
|
* Totaltokencount
|
|
2468
|
+
*
|
|
2247
2469
|
* Total token count for prompt, response candidates, and tool-use prompts (if present).
|
|
2248
2470
|
*/
|
|
2249
2471
|
totalTokenCount?: number | null;
|
|
@@ -2254,6 +2476,7 @@ export type GenerateContentResponseUsageMetadataOutput = {
|
|
|
2254
2476
|
};
|
|
2255
2477
|
/**
|
|
2256
2478
|
* GenerationConfigRoutingConfig
|
|
2479
|
+
*
|
|
2257
2480
|
* The configuration for routing the request to a specific model.
|
|
2258
2481
|
*/
|
|
2259
2482
|
export type GenerationConfigRoutingConfig = {
|
|
@@ -2268,28 +2491,33 @@ export type GenerationConfigRoutingConfig = {
|
|
|
2268
2491
|
};
|
|
2269
2492
|
/**
|
|
2270
2493
|
* GenerationConfigRoutingConfigAutoRoutingMode
|
|
2494
|
+
*
|
|
2271
2495
|
* When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.
|
|
2272
2496
|
*/
|
|
2273
2497
|
export type GenerationConfigRoutingConfigAutoRoutingMode = {
|
|
2274
2498
|
/**
|
|
2275
2499
|
* Modelroutingpreference
|
|
2500
|
+
*
|
|
2276
2501
|
* The model routing preference.
|
|
2277
2502
|
*/
|
|
2278
|
-
modelRoutingPreference?:
|
|
2503
|
+
modelRoutingPreference?: 'UNKNOWN' | 'PRIORITIZE_QUALITY' | 'BALANCED' | 'PRIORITIZE_COST' | null;
|
|
2279
2504
|
};
|
|
2280
2505
|
/**
|
|
2281
2506
|
* GenerationConfigRoutingConfigManualRoutingMode
|
|
2507
|
+
*
|
|
2282
2508
|
* When manual routing is set, the specified model will be used directly.
|
|
2283
2509
|
*/
|
|
2284
2510
|
export type GenerationConfigRoutingConfigManualRoutingMode = {
|
|
2285
2511
|
/**
|
|
2286
2512
|
* Modelname
|
|
2513
|
+
*
|
|
2287
2514
|
* The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
|
|
2288
2515
|
*/
|
|
2289
2516
|
modelName?: string | null;
|
|
2290
2517
|
};
|
|
2291
2518
|
/**
|
|
2292
2519
|
* GoogleMaps
|
|
2520
|
+
*
|
|
2293
2521
|
* Tool to support Google Maps in Model.
|
|
2294
2522
|
*/
|
|
2295
2523
|
export type GoogleMapsInput = {
|
|
@@ -2300,6 +2528,7 @@ export type GoogleMapsInput = {
|
|
|
2300
2528
|
};
|
|
2301
2529
|
/**
|
|
2302
2530
|
* GoogleMaps
|
|
2531
|
+
*
|
|
2303
2532
|
* Tool to support Google Maps in Model.
|
|
2304
2533
|
*/
|
|
2305
2534
|
export type GoogleMapsOutput = {
|
|
@@ -2310,6 +2539,7 @@ export type GoogleMapsOutput = {
|
|
|
2310
2539
|
};
|
|
2311
2540
|
/**
|
|
2312
2541
|
* GoogleSearch
|
|
2542
|
+
*
|
|
2313
2543
|
* Tool to support Google Search in Model. Powered by Google.
|
|
2314
2544
|
*/
|
|
2315
2545
|
export type GoogleSearchInput = {
|
|
@@ -2322,6 +2552,7 @@ export type GoogleSearchInput = {
|
|
|
2322
2552
|
};
|
|
2323
2553
|
/**
|
|
2324
2554
|
* GoogleSearch
|
|
2555
|
+
*
|
|
2325
2556
|
* Tool to support Google Search in Model. Powered by Google.
|
|
2326
2557
|
*/
|
|
2327
2558
|
export type GoogleSearchOutput = {
|
|
@@ -2334,6 +2565,7 @@ export type GoogleSearchOutput = {
|
|
|
2334
2565
|
};
|
|
2335
2566
|
/**
|
|
2336
2567
|
* GoogleSearchRetrieval
|
|
2568
|
+
*
|
|
2337
2569
|
* Tool to retrieve public web data for grounding, powered by Google.
|
|
2338
2570
|
*/
|
|
2339
2571
|
export type GoogleSearchRetrievalInput = {
|
|
@@ -2344,6 +2576,7 @@ export type GoogleSearchRetrievalInput = {
|
|
|
2344
2576
|
};
|
|
2345
2577
|
/**
|
|
2346
2578
|
* GoogleSearchRetrieval
|
|
2579
|
+
*
|
|
2347
2580
|
* Tool to retrieve public web data for grounding, powered by Google.
|
|
2348
2581
|
*/
|
|
2349
2582
|
export type GoogleSearchRetrievalOutput = {
|
|
@@ -2354,6 +2587,7 @@ export type GoogleSearchRetrievalOutput = {
|
|
|
2354
2587
|
};
|
|
2355
2588
|
/**
|
|
2356
2589
|
* GroundingChunk
|
|
2590
|
+
*
|
|
2357
2591
|
* Grounding chunk.
|
|
2358
2592
|
*/
|
|
2359
2593
|
export type GroundingChunkInput = {
|
|
@@ -2368,6 +2602,7 @@ export type GroundingChunkInput = {
|
|
|
2368
2602
|
};
|
|
2369
2603
|
/**
|
|
2370
2604
|
* GroundingChunk
|
|
2605
|
+
*
|
|
2371
2606
|
* Grounding chunk.
|
|
2372
2607
|
*/
|
|
2373
2608
|
export type GroundingChunkOutput = {
|
|
@@ -2382,6 +2617,7 @@ export type GroundingChunkOutput = {
|
|
|
2382
2617
|
};
|
|
2383
2618
|
/**
|
|
2384
2619
|
* GroundingChunkRetrievedContext
|
|
2620
|
+
*
|
|
2385
2621
|
* Chunk from context retrieved by the retrieval tools.
|
|
2386
2622
|
*/
|
|
2387
2623
|
export type GroundingChunkRetrievedContextInput = {
|
|
@@ -2391,22 +2627,26 @@ export type GroundingChunkRetrievedContextInput = {
|
|
|
2391
2627
|
ragChunk?: RagChunk | null;
|
|
2392
2628
|
/**
|
|
2393
2629
|
* Text
|
|
2630
|
+
*
|
|
2394
2631
|
* Text of the attribution.
|
|
2395
2632
|
*/
|
|
2396
2633
|
text?: string | null;
|
|
2397
2634
|
/**
|
|
2398
2635
|
* Title
|
|
2636
|
+
*
|
|
2399
2637
|
* Title of the attribution.
|
|
2400
2638
|
*/
|
|
2401
2639
|
title?: string | null;
|
|
2402
2640
|
/**
|
|
2403
2641
|
* Uri
|
|
2642
|
+
*
|
|
2404
2643
|
* URI reference of the attribution.
|
|
2405
2644
|
*/
|
|
2406
2645
|
uri?: string | null;
|
|
2407
2646
|
};
|
|
2408
2647
|
/**
|
|
2409
2648
|
* GroundingChunkRetrievedContext
|
|
2649
|
+
*
|
|
2410
2650
|
* Chunk from context retrieved by the retrieval tools.
|
|
2411
2651
|
*/
|
|
2412
2652
|
export type GroundingChunkRetrievedContextOutput = {
|
|
@@ -2416,53 +2656,63 @@ export type GroundingChunkRetrievedContextOutput = {
|
|
|
2416
2656
|
ragChunk?: RagChunk | null;
|
|
2417
2657
|
/**
|
|
2418
2658
|
* Text
|
|
2659
|
+
*
|
|
2419
2660
|
* Text of the attribution.
|
|
2420
2661
|
*/
|
|
2421
2662
|
text?: string | null;
|
|
2422
2663
|
/**
|
|
2423
2664
|
* Title
|
|
2665
|
+
*
|
|
2424
2666
|
* Title of the attribution.
|
|
2425
2667
|
*/
|
|
2426
2668
|
title?: string | null;
|
|
2427
2669
|
/**
|
|
2428
2670
|
* Uri
|
|
2671
|
+
*
|
|
2429
2672
|
* URI reference of the attribution.
|
|
2430
2673
|
*/
|
|
2431
2674
|
uri?: string | null;
|
|
2432
2675
|
};
|
|
2433
2676
|
/**
|
|
2434
2677
|
* GroundingChunkWeb
|
|
2678
|
+
*
|
|
2435
2679
|
* Chunk from the web.
|
|
2436
2680
|
*/
|
|
2437
2681
|
export type GroundingChunkWeb = {
|
|
2438
2682
|
/**
|
|
2439
2683
|
* Domain
|
|
2684
|
+
*
|
|
2440
2685
|
* Domain of the (original) URI.
|
|
2441
2686
|
*/
|
|
2442
2687
|
domain?: string | null;
|
|
2443
2688
|
/**
|
|
2444
2689
|
* Title
|
|
2690
|
+
*
|
|
2445
2691
|
* Title of the chunk.
|
|
2446
2692
|
*/
|
|
2447
2693
|
title?: string | null;
|
|
2448
2694
|
/**
|
|
2449
2695
|
* Uri
|
|
2696
|
+
*
|
|
2450
2697
|
* URI reference of the chunk.
|
|
2451
2698
|
*/
|
|
2452
2699
|
uri?: string | null;
|
|
2453
2700
|
};
|
|
2454
2701
|
/**
|
|
2455
2702
|
* GroundingMetadata
|
|
2703
|
+
*
|
|
2456
2704
|
* Metadata returned to client when grounding is enabled.
|
|
2457
2705
|
*/
|
|
2458
2706
|
export type GroundingMetadataInput = {
|
|
2459
2707
|
/**
|
|
2460
2708
|
* Groundingchunks
|
|
2709
|
+
*
|
|
2461
2710
|
* List of supporting references retrieved from specified grounding source.
|
|
2462
2711
|
*/
|
|
2463
2712
|
groundingChunks?: Array<GroundingChunkInput> | null;
|
|
2464
2713
|
/**
|
|
2465
2714
|
* Groundingsupports
|
|
2715
|
+
*
|
|
2466
2716
|
* Optional. List of grounding support.
|
|
2467
2717
|
*/
|
|
2468
2718
|
groundingSupports?: Array<GroundingSupport> | null;
|
|
@@ -2472,6 +2722,7 @@ export type GroundingMetadataInput = {
|
|
|
2472
2722
|
retrievalMetadata?: RetrievalMetadata | null;
|
|
2473
2723
|
/**
|
|
2474
2724
|
* Retrievalqueries
|
|
2725
|
+
*
|
|
2475
2726
|
* Optional. Queries executed by the retrieval tools.
|
|
2476
2727
|
*/
|
|
2477
2728
|
retrievalQueries?: Array<string> | null;
|
|
@@ -2481,22 +2732,26 @@ export type GroundingMetadataInput = {
|
|
|
2481
2732
|
searchEntryPoint?: SearchEntryPoint | null;
|
|
2482
2733
|
/**
|
|
2483
2734
|
* Websearchqueries
|
|
2735
|
+
*
|
|
2484
2736
|
* Optional. Web search queries for the following-up web search.
|
|
2485
2737
|
*/
|
|
2486
2738
|
webSearchQueries?: Array<string> | null;
|
|
2487
2739
|
};
|
|
2488
2740
|
/**
|
|
2489
2741
|
* GroundingMetadata
|
|
2742
|
+
*
|
|
2490
2743
|
* Metadata returned to client when grounding is enabled.
|
|
2491
2744
|
*/
|
|
2492
2745
|
export type GroundingMetadataOutput = {
|
|
2493
2746
|
/**
|
|
2494
2747
|
* Groundingchunks
|
|
2748
|
+
*
|
|
2495
2749
|
* List of supporting references retrieved from specified grounding source.
|
|
2496
2750
|
*/
|
|
2497
2751
|
groundingChunks?: Array<GroundingChunkOutput> | null;
|
|
2498
2752
|
/**
|
|
2499
2753
|
* Groundingsupports
|
|
2754
|
+
*
|
|
2500
2755
|
* Optional. List of grounding support.
|
|
2501
2756
|
*/
|
|
2502
2757
|
groundingSupports?: Array<GroundingSupport> | null;
|
|
@@ -2506,6 +2761,7 @@ export type GroundingMetadataOutput = {
|
|
|
2506
2761
|
retrievalMetadata?: RetrievalMetadata | null;
|
|
2507
2762
|
/**
|
|
2508
2763
|
* Retrievalqueries
|
|
2764
|
+
*
|
|
2509
2765
|
* Optional. Queries executed by the retrieval tools.
|
|
2510
2766
|
*/
|
|
2511
2767
|
retrievalQueries?: Array<string> | null;
|
|
@@ -2515,22 +2771,26 @@ export type GroundingMetadataOutput = {
|
|
|
2515
2771
|
searchEntryPoint?: SearchEntryPoint | null;
|
|
2516
2772
|
/**
|
|
2517
2773
|
* Websearchqueries
|
|
2774
|
+
*
|
|
2518
2775
|
* Optional. Web search queries for the following-up web search.
|
|
2519
2776
|
*/
|
|
2520
2777
|
webSearchQueries?: Array<string> | null;
|
|
2521
2778
|
};
|
|
2522
2779
|
/**
|
|
2523
2780
|
* GroundingSupport
|
|
2781
|
+
*
|
|
2524
2782
|
* Grounding support.
|
|
2525
2783
|
*/
|
|
2526
2784
|
export type GroundingSupport = {
|
|
2527
2785
|
/**
|
|
2528
2786
|
* Confidencescores
|
|
2787
|
+
*
|
|
2529
2788
|
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
|
|
2530
2789
|
*/
|
|
2531
2790
|
confidenceScores?: Array<number> | null;
|
|
2532
2791
|
/**
|
|
2533
2792
|
* Groundingchunkindices
|
|
2793
|
+
*
|
|
2534
2794
|
* A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
|
|
2535
2795
|
*/
|
|
2536
2796
|
groundingChunkIndices?: Array<number> | null;
|
|
@@ -2566,12 +2826,12 @@ export type HttpBearer = {
|
|
|
2566
2826
|
/**
|
|
2567
2827
|
* Scheme
|
|
2568
2828
|
*/
|
|
2569
|
-
scheme?:
|
|
2829
|
+
scheme?: 'bearer';
|
|
2570
2830
|
/**
|
|
2571
2831
|
* Bearerformat
|
|
2572
2832
|
*/
|
|
2573
2833
|
bearerFormat?: string | null;
|
|
2574
|
-
[key: string]: unknown | SecuritySchemeType | string | null |
|
|
2834
|
+
[key: string]: unknown | SecuritySchemeType | string | null | 'bearer' | string | null | undefined;
|
|
2575
2835
|
};
|
|
2576
2836
|
/**
|
|
2577
2837
|
* HTTPValidationError
|
|
@@ -2584,6 +2844,7 @@ export type HttpValidationError = {
|
|
|
2584
2844
|
};
|
|
2585
2845
|
/**
|
|
2586
2846
|
* HarmBlockMethod
|
|
2847
|
+
*
|
|
2587
2848
|
* Optional.
|
|
2588
2849
|
*
|
|
2589
2850
|
* Specify if the threshold is used for probability or severity score. If not
|
|
@@ -2596,14 +2857,16 @@ export declare const HarmBlockMethod: {
|
|
|
2596
2857
|
};
|
|
2597
2858
|
/**
|
|
2598
2859
|
* HarmBlockMethod
|
|
2860
|
+
*
|
|
2599
2861
|
* Optional.
|
|
2600
2862
|
*
|
|
2601
2863
|
* Specify if the threshold is used for probability or severity score. If not
|
|
2602
2864
|
* specified, the threshold is used for probability score.
|
|
2603
2865
|
*/
|
|
2604
|
-
export type HarmBlockMethod =
|
|
2866
|
+
export type HarmBlockMethod = typeof HarmBlockMethod[keyof typeof HarmBlockMethod];
|
|
2605
2867
|
/**
|
|
2606
2868
|
* HarmBlockThreshold
|
|
2869
|
+
*
|
|
2607
2870
|
* Required. The harm block threshold.
|
|
2608
2871
|
*/
|
|
2609
2872
|
export declare const HarmBlockThreshold: {
|
|
@@ -2616,11 +2879,13 @@ export declare const HarmBlockThreshold: {
|
|
|
2616
2879
|
};
|
|
2617
2880
|
/**
|
|
2618
2881
|
* HarmBlockThreshold
|
|
2882
|
+
*
|
|
2619
2883
|
* Required. The harm block threshold.
|
|
2620
2884
|
*/
|
|
2621
|
-
export type HarmBlockThreshold =
|
|
2885
|
+
export type HarmBlockThreshold = typeof HarmBlockThreshold[keyof typeof HarmBlockThreshold];
|
|
2622
2886
|
/**
|
|
2623
2887
|
* HarmCategory
|
|
2888
|
+
*
|
|
2624
2889
|
* Required. Harm category.
|
|
2625
2890
|
*/
|
|
2626
2891
|
export declare const HarmCategory: {
|
|
@@ -2633,11 +2898,13 @@ export declare const HarmCategory: {
|
|
|
2633
2898
|
};
|
|
2634
2899
|
/**
|
|
2635
2900
|
* HarmCategory
|
|
2901
|
+
*
|
|
2636
2902
|
* Required. Harm category.
|
|
2637
2903
|
*/
|
|
2638
|
-
export type HarmCategory =
|
|
2904
|
+
export type HarmCategory = typeof HarmCategory[keyof typeof HarmCategory];
|
|
2639
2905
|
/**
|
|
2640
2906
|
* HttpAuth
|
|
2907
|
+
*
|
|
2641
2908
|
* The credentials and metadata for HTTP authentication.
|
|
2642
2909
|
*/
|
|
2643
2910
|
export type HttpAuth = {
|
|
@@ -2650,6 +2917,7 @@ export type HttpAuth = {
|
|
|
2650
2917
|
};
|
|
2651
2918
|
/**
|
|
2652
2919
|
* HttpCredentials
|
|
2920
|
+
*
|
|
2653
2921
|
* Represents the secret token value for HTTP authentication, like user name, password, oauth token, etc.
|
|
2654
2922
|
*/
|
|
2655
2923
|
export type HttpCredentials = {
|
|
@@ -2669,21 +2937,25 @@ export type HttpCredentials = {
|
|
|
2669
2937
|
};
|
|
2670
2938
|
/**
|
|
2671
2939
|
* HttpOptions
|
|
2940
|
+
*
|
|
2672
2941
|
* HTTP options to be used in each of the requests.
|
|
2673
2942
|
*/
|
|
2674
2943
|
export type HttpOptions = {
|
|
2675
2944
|
/**
|
|
2676
2945
|
* Baseurl
|
|
2946
|
+
*
|
|
2677
2947
|
* The base URL for the AI platform service endpoint.
|
|
2678
2948
|
*/
|
|
2679
2949
|
baseUrl?: string | null;
|
|
2680
2950
|
/**
|
|
2681
2951
|
* Apiversion
|
|
2952
|
+
*
|
|
2682
2953
|
* Specifies the version of the API to use.
|
|
2683
2954
|
*/
|
|
2684
2955
|
apiVersion?: string | null;
|
|
2685
2956
|
/**
|
|
2686
2957
|
* Headers
|
|
2958
|
+
*
|
|
2687
2959
|
* Additional HTTP headers to be sent with the request.
|
|
2688
2960
|
*/
|
|
2689
2961
|
headers?: {
|
|
@@ -2691,11 +2963,13 @@ export type HttpOptions = {
|
|
|
2691
2963
|
} | null;
|
|
2692
2964
|
/**
|
|
2693
2965
|
* Timeout
|
|
2966
|
+
*
|
|
2694
2967
|
* Timeout for the request in milliseconds.
|
|
2695
2968
|
*/
|
|
2696
2969
|
timeout?: number | null;
|
|
2697
2970
|
/**
|
|
2698
2971
|
* Clientargs
|
|
2972
|
+
*
|
|
2699
2973
|
* Args passed to the HTTP client.
|
|
2700
2974
|
*/
|
|
2701
2975
|
clientArgs?: {
|
|
@@ -2703,6 +2977,7 @@ export type HttpOptions = {
|
|
|
2703
2977
|
} | null;
|
|
2704
2978
|
/**
|
|
2705
2979
|
* Asyncclientargs
|
|
2980
|
+
*
|
|
2706
2981
|
* Args passed to the async HTTP client.
|
|
2707
2982
|
*/
|
|
2708
2983
|
asyncClientArgs?: {
|
|
@@ -2710,6 +2985,7 @@ export type HttpOptions = {
|
|
|
2710
2985
|
} | null;
|
|
2711
2986
|
/**
|
|
2712
2987
|
* Extrabody
|
|
2988
|
+
*
|
|
2713
2989
|
* Extra parameters to add to the request body.
|
|
2714
2990
|
*/
|
|
2715
2991
|
extraBody?: {
|
|
@@ -2722,37 +2998,44 @@ export type HttpOptions = {
|
|
|
2722
2998
|
};
|
|
2723
2999
|
/**
|
|
2724
3000
|
* HttpRetryOptions
|
|
3001
|
+
*
|
|
2725
3002
|
* HTTP retry options to be used in each of the requests.
|
|
2726
3003
|
*/
|
|
2727
3004
|
export type HttpRetryOptions = {
|
|
2728
3005
|
/**
|
|
2729
3006
|
* Attempts
|
|
3007
|
+
*
|
|
2730
3008
|
* Maximum number of attempts, including the original request.
|
|
2731
3009
|
* If 0 or 1, it means no retries.
|
|
2732
3010
|
*/
|
|
2733
3011
|
attempts?: number | null;
|
|
2734
3012
|
/**
|
|
2735
3013
|
* Initialdelay
|
|
3014
|
+
*
|
|
2736
3015
|
* Initial delay before the first retry, in fractions of a second.
|
|
2737
3016
|
*/
|
|
2738
3017
|
initialDelay?: number | null;
|
|
2739
3018
|
/**
|
|
2740
3019
|
* Maxdelay
|
|
3020
|
+
*
|
|
2741
3021
|
* Maximum delay between retries, in fractions of a second.
|
|
2742
3022
|
*/
|
|
2743
3023
|
maxDelay?: number | null;
|
|
2744
3024
|
/**
|
|
2745
3025
|
* Expbase
|
|
3026
|
+
*
|
|
2746
3027
|
* Multiplier by which the delay increases after each attempt.
|
|
2747
3028
|
*/
|
|
2748
3029
|
expBase?: number | null;
|
|
2749
3030
|
/**
|
|
2750
3031
|
* Jitter
|
|
3032
|
+
*
|
|
2751
3033
|
* Randomness factor for the delay.
|
|
2752
3034
|
*/
|
|
2753
3035
|
jitter?: number | null;
|
|
2754
3036
|
/**
|
|
2755
3037
|
* Httpstatuscodes
|
|
3038
|
+
*
|
|
2756
3039
|
* List of HTTP status codes that should trigger a retry.
|
|
2757
3040
|
* If not specified, a default set of retryable codes may be used.
|
|
2758
3041
|
*/
|
|
@@ -2760,6 +3043,7 @@ export type HttpRetryOptions = {
|
|
|
2760
3043
|
};
|
|
2761
3044
|
/**
|
|
2762
3045
|
* IntermediateData
|
|
3046
|
+
*
|
|
2763
3047
|
* Container for intermediate data that an agent would generate as it responds with a final answer.
|
|
2764
3048
|
*/
|
|
2765
3049
|
export type IntermediateDataInput = {
|
|
@@ -2774,10 +3058,14 @@ export type IntermediateDataInput = {
|
|
|
2774
3058
|
/**
|
|
2775
3059
|
* Intermediateresponses
|
|
2776
3060
|
*/
|
|
2777
|
-
intermediateResponses?: Array<[
|
|
3061
|
+
intermediateResponses?: Array<[
|
|
3062
|
+
string,
|
|
3063
|
+
Array<PartInput>
|
|
3064
|
+
]>;
|
|
2778
3065
|
};
|
|
2779
3066
|
/**
|
|
2780
3067
|
* IntermediateData
|
|
3068
|
+
*
|
|
2781
3069
|
* Container for intermediate data that an agent would generate as it responds with a final answer.
|
|
2782
3070
|
*/
|
|
2783
3071
|
export type IntermediateDataOutput = {
|
|
@@ -2792,10 +3080,14 @@ export type IntermediateDataOutput = {
|
|
|
2792
3080
|
/**
|
|
2793
3081
|
* Intermediateresponses
|
|
2794
3082
|
*/
|
|
2795
|
-
intermediateResponses?: Array<[
|
|
3083
|
+
intermediateResponses?: Array<[
|
|
3084
|
+
string,
|
|
3085
|
+
Array<PartOutput>
|
|
3086
|
+
]>;
|
|
2796
3087
|
};
|
|
2797
3088
|
/**
|
|
2798
3089
|
* Interval
|
|
3090
|
+
*
|
|
2799
3091
|
* Represents a time interval, encoded as a start time (inclusive) and an end time (exclusive).
|
|
2800
3092
|
*
|
|
2801
3093
|
* The start time must be less than or equal to the end time.
|
|
@@ -2806,17 +3098,20 @@ export type IntermediateDataOutput = {
|
|
|
2806
3098
|
export type IntervalInput = {
|
|
2807
3099
|
/**
|
|
2808
3100
|
* Starttime
|
|
3101
|
+
*
|
|
2809
3102
|
* The start time of the interval.
|
|
2810
3103
|
*/
|
|
2811
3104
|
startTime?: string | null;
|
|
2812
3105
|
/**
|
|
2813
3106
|
* Endtime
|
|
3107
|
+
*
|
|
2814
3108
|
* The end time of the interval.
|
|
2815
3109
|
*/
|
|
2816
3110
|
endTime?: string | null;
|
|
2817
3111
|
};
|
|
2818
3112
|
/**
|
|
2819
3113
|
* Invocation
|
|
3114
|
+
*
|
|
2820
3115
|
* Represents a single invocation.
|
|
2821
3116
|
*/
|
|
2822
3117
|
export type InvocationInput = {
|
|
@@ -2842,6 +3137,7 @@ export type InvocationInput = {
|
|
|
2842
3137
|
};
|
|
2843
3138
|
/**
|
|
2844
3139
|
* Invocation
|
|
3140
|
+
*
|
|
2845
3141
|
* Represents a single invocation.
|
|
2846
3142
|
*/
|
|
2847
3143
|
export type InvocationOutput = {
|
|
@@ -2867,6 +3163,7 @@ export type InvocationOutput = {
|
|
|
2867
3163
|
};
|
|
2868
3164
|
/**
|
|
2869
3165
|
* InvocationEvent
|
|
3166
|
+
*
|
|
2870
3167
|
* An immutable record representing a specific point in the agent's invocation.
|
|
2871
3168
|
*
|
|
2872
3169
|
* It captures agent's replies, requests to use tools (function calls), and tool
|
|
@@ -2884,6 +3181,7 @@ export type InvocationEventInput = {
|
|
|
2884
3181
|
};
|
|
2885
3182
|
/**
|
|
2886
3183
|
* InvocationEvent
|
|
3184
|
+
*
|
|
2887
3185
|
* An immutable record representing a specific point in the agent's invocation.
|
|
2888
3186
|
*
|
|
2889
3187
|
* It captures agent's replies, requests to use tools (function calls), and tool
|
|
@@ -2901,6 +3199,7 @@ export type InvocationEventOutput = {
|
|
|
2901
3199
|
};
|
|
2902
3200
|
/**
|
|
2903
3201
|
* InvocationEvents
|
|
3202
|
+
*
|
|
2904
3203
|
* A container for events that occur during the course of an invocation.
|
|
2905
3204
|
*/
|
|
2906
3205
|
export type InvocationEventsInput = {
|
|
@@ -2911,6 +3210,7 @@ export type InvocationEventsInput = {
|
|
|
2911
3210
|
};
|
|
2912
3211
|
/**
|
|
2913
3212
|
* InvocationEvents
|
|
3213
|
+
*
|
|
2914
3214
|
* A container for events that occur during the course of an invocation.
|
|
2915
3215
|
*/
|
|
2916
3216
|
export type InvocationEventsOutput = {
|
|
@@ -2946,11 +3246,13 @@ export type Item = {
|
|
|
2946
3246
|
};
|
|
2947
3247
|
/**
|
|
2948
3248
|
* JudgeModelOptions
|
|
3249
|
+
*
|
|
2949
3250
|
* Options for an eval metric's judge model.
|
|
2950
3251
|
*/
|
|
2951
3252
|
export type JudgeModelOptionsInput = {
|
|
2952
3253
|
/**
|
|
2953
3254
|
* Judgemodel
|
|
3255
|
+
*
|
|
2954
3256
|
* The judge model to use for evaluation. It can be a model name.
|
|
2955
3257
|
*/
|
|
2956
3258
|
judgeModel?: string;
|
|
@@ -2960,17 +3262,20 @@ export type JudgeModelOptionsInput = {
|
|
|
2960
3262
|
judgeModelConfig?: GenerateContentConfigInput | null;
|
|
2961
3263
|
/**
|
|
2962
3264
|
* Numsamples
|
|
3265
|
+
*
|
|
2963
3266
|
* The number of times to sample the model for each invocation evaluation. Given that models tend to have certain degree of unreliability to them, we repeatedly sample them with the same data. These repeated invocation are them aggregated using some strategy. From experimentation, we have found 5 to be a good default.
|
|
2964
3267
|
*/
|
|
2965
3268
|
numSamples?: number;
|
|
2966
3269
|
};
|
|
2967
3270
|
/**
|
|
2968
3271
|
* JudgeModelOptions
|
|
3272
|
+
*
|
|
2969
3273
|
* Options for an eval metric's judge model.
|
|
2970
3274
|
*/
|
|
2971
3275
|
export type JudgeModelOptionsOutput = {
|
|
2972
3276
|
/**
|
|
2973
3277
|
* Judgemodel
|
|
3278
|
+
*
|
|
2974
3279
|
* The judge model to use for evaluation. It can be a model name.
|
|
2975
3280
|
*/
|
|
2976
3281
|
judgeModel?: string;
|
|
@@ -2980,12 +3285,14 @@ export type JudgeModelOptionsOutput = {
|
|
|
2980
3285
|
judgeModelConfig?: GenerateContentConfigOutput | null;
|
|
2981
3286
|
/**
|
|
2982
3287
|
* Numsamples
|
|
3288
|
+
*
|
|
2983
3289
|
* The number of times to sample the model for each invocation evaluation. Given that models tend to have certain degree of unreliability to them, we repeatedly sample them with the same data. These repeated invocation are them aggregated using some strategy. From experimentation, we have found 5 to be a good default.
|
|
2984
3290
|
*/
|
|
2985
3291
|
numSamples?: number;
|
|
2986
3292
|
};
|
|
2987
3293
|
/**
|
|
2988
3294
|
* Language
|
|
3295
|
+
*
|
|
2989
3296
|
* Required. Programming language of the `code`.
|
|
2990
3297
|
*/
|
|
2991
3298
|
export declare const Language: {
|
|
@@ -2994,11 +3301,13 @@ export declare const Language: {
|
|
|
2994
3301
|
};
|
|
2995
3302
|
/**
|
|
2996
3303
|
* Language
|
|
3304
|
+
*
|
|
2997
3305
|
* Required. Programming language of the `code`.
|
|
2998
3306
|
*/
|
|
2999
|
-
export type Language =
|
|
3307
|
+
export type Language = typeof Language[keyof typeof Language];
|
|
3000
3308
|
/**
|
|
3001
3309
|
* LatLng
|
|
3310
|
+
*
|
|
3002
3311
|
* An object that represents a latitude/longitude pair.
|
|
3003
3312
|
*
|
|
3004
3313
|
* This is expressed as a pair of doubles to represent degrees latitude and
|
|
@@ -3009,11 +3318,13 @@ export type Language = (typeof Language)[keyof typeof Language];
|
|
|
3009
3318
|
export type LatLng = {
|
|
3010
3319
|
/**
|
|
3011
3320
|
* Latitude
|
|
3321
|
+
*
|
|
3012
3322
|
* The latitude in degrees. It must be in the range [-90.0, +90.0].
|
|
3013
3323
|
*/
|
|
3014
3324
|
latitude?: number | null;
|
|
3015
3325
|
/**
|
|
3016
3326
|
* Longitude
|
|
3327
|
+
*
|
|
3017
3328
|
* The longitude in degrees. It must be in the range [-180.0, +180.0]
|
|
3018
3329
|
*/
|
|
3019
3330
|
longitude?: number | null;
|
|
@@ -3047,6 +3358,7 @@ export type ListMetricsInfoResponse = {
|
|
|
3047
3358
|
};
|
|
3048
3359
|
/**
|
|
3049
3360
|
* LiveServerSessionResumptionUpdate
|
|
3361
|
+
*
|
|
3050
3362
|
* Update of the session resumption state.
|
|
3051
3363
|
*
|
|
3052
3364
|
* Only sent if `session_resumption` was set in the connection config.
|
|
@@ -3054,16 +3366,19 @@ export type ListMetricsInfoResponse = {
|
|
|
3054
3366
|
export type LiveServerSessionResumptionUpdate = {
|
|
3055
3367
|
/**
|
|
3056
3368
|
* Newhandle
|
|
3369
|
+
*
|
|
3057
3370
|
* New handle that represents state that can be resumed. Empty if `resumable`=false.
|
|
3058
3371
|
*/
|
|
3059
3372
|
newHandle?: string | null;
|
|
3060
3373
|
/**
|
|
3061
3374
|
* Resumable
|
|
3375
|
+
*
|
|
3062
3376
|
* True if session can be resumed at this point. It might be not possible to resume session at some points. In that case we send update empty new_handle and resumable=false. Example of such case could be model executing function calls or just generating. Resuming session (using previous session token) in such state will result in some data loss.
|
|
3063
3377
|
*/
|
|
3064
3378
|
resumable?: boolean | null;
|
|
3065
3379
|
/**
|
|
3066
3380
|
* Lastconsumedclientmessageindex
|
|
3381
|
+
*
|
|
3067
3382
|
* Index of last message sent by client that is included in state represented by this SessionResumptionToken. Only sent when `SessionResumptionConfig.transparent` is set.
|
|
3068
3383
|
*
|
|
3069
3384
|
* Presence of this index allows users to transparently reconnect and avoid issue of losing some part of realtime audio input/video. If client wishes to temporarily disconnect (for example as result of receiving GoAway) they can do it without losing state by buffering messages sent since last `SessionResmumptionTokenUpdate`. This field will enable them to limit buffering (avoid keeping all requests in RAM).
|
|
@@ -3074,70 +3389,83 @@ export type LiveServerSessionResumptionUpdate = {
|
|
|
3074
3389
|
};
|
|
3075
3390
|
/**
|
|
3076
3391
|
* LogprobsResult
|
|
3392
|
+
*
|
|
3077
3393
|
* Logprobs Result
|
|
3078
3394
|
*/
|
|
3079
3395
|
export type LogprobsResultInput = {
|
|
3080
3396
|
/**
|
|
3081
3397
|
* Chosencandidates
|
|
3398
|
+
*
|
|
3082
3399
|
* Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
|
|
3083
3400
|
*/
|
|
3084
3401
|
chosenCandidates?: Array<LogprobsResultCandidate> | null;
|
|
3085
3402
|
/**
|
|
3086
3403
|
* Topcandidates
|
|
3404
|
+
*
|
|
3087
3405
|
* Length = total number of decoding steps.
|
|
3088
3406
|
*/
|
|
3089
3407
|
topCandidates?: Array<LogprobsResultTopCandidates> | null;
|
|
3090
3408
|
};
|
|
3091
3409
|
/**
|
|
3092
3410
|
* LogprobsResult
|
|
3411
|
+
*
|
|
3093
3412
|
* Logprobs Result
|
|
3094
3413
|
*/
|
|
3095
3414
|
export type LogprobsResultOutput = {
|
|
3096
3415
|
/**
|
|
3097
3416
|
* Chosencandidates
|
|
3417
|
+
*
|
|
3098
3418
|
* Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
|
|
3099
3419
|
*/
|
|
3100
3420
|
chosenCandidates?: Array<LogprobsResultCandidate> | null;
|
|
3101
3421
|
/**
|
|
3102
3422
|
* Topcandidates
|
|
3423
|
+
*
|
|
3103
3424
|
* Length = total number of decoding steps.
|
|
3104
3425
|
*/
|
|
3105
3426
|
topCandidates?: Array<LogprobsResultTopCandidates> | null;
|
|
3106
3427
|
};
|
|
3107
3428
|
/**
|
|
3108
3429
|
* LogprobsResultCandidate
|
|
3430
|
+
*
|
|
3109
3431
|
* Candidate for the logprobs token and score.
|
|
3110
3432
|
*/
|
|
3111
3433
|
export type LogprobsResultCandidate = {
|
|
3112
3434
|
/**
|
|
3113
3435
|
* Logprobability
|
|
3436
|
+
*
|
|
3114
3437
|
* The candidate's log probability.
|
|
3115
3438
|
*/
|
|
3116
3439
|
logProbability?: number | null;
|
|
3117
3440
|
/**
|
|
3118
3441
|
* Token
|
|
3442
|
+
*
|
|
3119
3443
|
* The candidate's token string value.
|
|
3120
3444
|
*/
|
|
3121
3445
|
token?: string | null;
|
|
3122
3446
|
/**
|
|
3123
3447
|
* Tokenid
|
|
3448
|
+
*
|
|
3124
3449
|
* The candidate's token id value.
|
|
3125
3450
|
*/
|
|
3126
3451
|
tokenId?: number | null;
|
|
3127
3452
|
};
|
|
3128
3453
|
/**
|
|
3129
3454
|
* LogprobsResultTopCandidates
|
|
3455
|
+
*
|
|
3130
3456
|
* Candidates with top log probabilities at each decoding step.
|
|
3131
3457
|
*/
|
|
3132
3458
|
export type LogprobsResultTopCandidates = {
|
|
3133
3459
|
/**
|
|
3134
3460
|
* Candidates
|
|
3461
|
+
*
|
|
3135
3462
|
* Sorted by log probability in descending order.
|
|
3136
3463
|
*/
|
|
3137
3464
|
candidates?: Array<LogprobsResultCandidate> | null;
|
|
3138
3465
|
};
|
|
3139
3466
|
/**
|
|
3140
3467
|
* MediaModality
|
|
3468
|
+
*
|
|
3141
3469
|
* Server content modalities.
|
|
3142
3470
|
*/
|
|
3143
3471
|
export declare const MediaModality: {
|
|
@@ -3150,11 +3478,13 @@ export declare const MediaModality: {
|
|
|
3150
3478
|
};
|
|
3151
3479
|
/**
|
|
3152
3480
|
* MediaModality
|
|
3481
|
+
*
|
|
3153
3482
|
* Server content modalities.
|
|
3154
3483
|
*/
|
|
3155
|
-
export type MediaModality =
|
|
3484
|
+
export type MediaModality = typeof MediaModality[keyof typeof MediaModality];
|
|
3156
3485
|
/**
|
|
3157
3486
|
* MediaResolution
|
|
3487
|
+
*
|
|
3158
3488
|
* The media resolution to use.
|
|
3159
3489
|
*/
|
|
3160
3490
|
export declare const MediaResolution: {
|
|
@@ -3165,21 +3495,25 @@ export declare const MediaResolution: {
|
|
|
3165
3495
|
};
|
|
3166
3496
|
/**
|
|
3167
3497
|
* MediaResolution
|
|
3498
|
+
*
|
|
3168
3499
|
* The media resolution to use.
|
|
3169
3500
|
*/
|
|
3170
|
-
export type MediaResolution =
|
|
3501
|
+
export type MediaResolution = typeof MediaResolution[keyof typeof MediaResolution];
|
|
3171
3502
|
/**
|
|
3172
3503
|
* MetricInfo
|
|
3504
|
+
*
|
|
3173
3505
|
* Information about the metric that are used for Evals.
|
|
3174
3506
|
*/
|
|
3175
3507
|
export type MetricInfo = {
|
|
3176
3508
|
/**
|
|
3177
3509
|
* Metricname
|
|
3510
|
+
*
|
|
3178
3511
|
* The name of the metric.
|
|
3179
3512
|
*/
|
|
3180
3513
|
metricName: string;
|
|
3181
3514
|
/**
|
|
3182
3515
|
* Description
|
|
3516
|
+
*
|
|
3183
3517
|
* A 2 to 3 line description of the metric.
|
|
3184
3518
|
*/
|
|
3185
3519
|
description?: string;
|
|
@@ -3190,6 +3524,7 @@ export type MetricInfo = {
|
|
|
3190
3524
|
};
|
|
3191
3525
|
/**
|
|
3192
3526
|
* MetricValueInfo
|
|
3527
|
+
*
|
|
3193
3528
|
* Information about the type of metric value.
|
|
3194
3529
|
*/
|
|
3195
3530
|
export type MetricValueInfo = {
|
|
@@ -3200,6 +3535,7 @@ export type MetricValueInfo = {
|
|
|
3200
3535
|
};
|
|
3201
3536
|
/**
|
|
3202
3537
|
* ModalityTokenCount
|
|
3538
|
+
*
|
|
3203
3539
|
* Represents token counting info for a single modality.
|
|
3204
3540
|
*/
|
|
3205
3541
|
export type ModalityTokenCount = {
|
|
@@ -3209,12 +3545,14 @@ export type ModalityTokenCount = {
|
|
|
3209
3545
|
modality?: MediaModality | null;
|
|
3210
3546
|
/**
|
|
3211
3547
|
* Tokencount
|
|
3548
|
+
*
|
|
3212
3549
|
* Number of tokens.
|
|
3213
3550
|
*/
|
|
3214
3551
|
tokenCount?: number | null;
|
|
3215
3552
|
};
|
|
3216
3553
|
/**
|
|
3217
3554
|
* ModelSelectionConfig
|
|
3555
|
+
*
|
|
3218
3556
|
* Config for model selection.
|
|
3219
3557
|
*/
|
|
3220
3558
|
export type ModelSelectionConfig = {
|
|
@@ -3225,22 +3563,26 @@ export type ModelSelectionConfig = {
|
|
|
3225
3563
|
};
|
|
3226
3564
|
/**
|
|
3227
3565
|
* MultiSpeakerVoiceConfig
|
|
3566
|
+
*
|
|
3228
3567
|
* The configuration for the multi-speaker setup.
|
|
3229
3568
|
*/
|
|
3230
3569
|
export type MultiSpeakerVoiceConfigInput = {
|
|
3231
3570
|
/**
|
|
3232
3571
|
* Speakervoiceconfigs
|
|
3572
|
+
*
|
|
3233
3573
|
* The configuration for the speaker to use.
|
|
3234
3574
|
*/
|
|
3235
3575
|
speakerVoiceConfigs?: Array<SpeakerVoiceConfigInput> | null;
|
|
3236
3576
|
};
|
|
3237
3577
|
/**
|
|
3238
3578
|
* MultiSpeakerVoiceConfig
|
|
3579
|
+
*
|
|
3239
3580
|
* The configuration for the multi-speaker setup.
|
|
3240
3581
|
*/
|
|
3241
3582
|
export type MultiSpeakerVoiceConfigOutput = {
|
|
3242
3583
|
/**
|
|
3243
3584
|
* Speakervoiceconfigs
|
|
3585
|
+
*
|
|
3244
3586
|
* The configuration for the speaker to use.
|
|
3245
3587
|
*/
|
|
3246
3588
|
speakerVoiceConfigs?: Array<SpeakerVoiceConfigOutput> | null;
|
|
@@ -3271,6 +3613,7 @@ export type OAuth2Output = {
|
|
|
3271
3613
|
};
|
|
3272
3614
|
/**
|
|
3273
3615
|
* OAuth2Auth
|
|
3616
|
+
*
|
|
3274
3617
|
* Represents credential value and its metadata for a OAuth2 credential.
|
|
3275
3618
|
*/
|
|
3276
3619
|
export type OAuth2Auth = {
|
|
@@ -3482,6 +3825,7 @@ export type OpenIdConnectWithConfig = {
|
|
|
3482
3825
|
};
|
|
3483
3826
|
/**
|
|
3484
3827
|
* Outcome
|
|
3828
|
+
*
|
|
3485
3829
|
* Required. Outcome of the code execution.
|
|
3486
3830
|
*/
|
|
3487
3831
|
export declare const Outcome: {
|
|
@@ -3492,11 +3836,13 @@ export declare const Outcome: {
|
|
|
3492
3836
|
};
|
|
3493
3837
|
/**
|
|
3494
3838
|
* Outcome
|
|
3839
|
+
*
|
|
3495
3840
|
* Required. Outcome of the code execution.
|
|
3496
3841
|
*/
|
|
3497
|
-
export type Outcome =
|
|
3842
|
+
export type Outcome = typeof Outcome[keyof typeof Outcome];
|
|
3498
3843
|
/**
|
|
3499
3844
|
* Part
|
|
3845
|
+
*
|
|
3500
3846
|
* A datatype containing media content.
|
|
3501
3847
|
*
|
|
3502
3848
|
* Exactly one field within a Part should be set, representing the specific type
|
|
@@ -3510,6 +3856,7 @@ export type PartInput = {
|
|
|
3510
3856
|
videoMetadata?: VideoMetadata | null;
|
|
3511
3857
|
/**
|
|
3512
3858
|
* Thought
|
|
3859
|
+
*
|
|
3513
3860
|
* Indicates if the part is thought from the model.
|
|
3514
3861
|
*/
|
|
3515
3862
|
thought?: boolean | null;
|
|
@@ -3523,6 +3870,7 @@ export type PartInput = {
|
|
|
3523
3870
|
fileData?: FileData | null;
|
|
3524
3871
|
/**
|
|
3525
3872
|
* Thoughtsignature
|
|
3873
|
+
*
|
|
3526
3874
|
* An opaque signature for the thought so it can be reused in subsequent requests.
|
|
3527
3875
|
*/
|
|
3528
3876
|
thoughtSignature?: string | null;
|
|
@@ -3544,12 +3892,14 @@ export type PartInput = {
|
|
|
3544
3892
|
functionResponse?: FunctionResponse | null;
|
|
3545
3893
|
/**
|
|
3546
3894
|
* Text
|
|
3895
|
+
*
|
|
3547
3896
|
* Optional. Text part (can be code).
|
|
3548
3897
|
*/
|
|
3549
3898
|
text?: string | null;
|
|
3550
3899
|
};
|
|
3551
3900
|
/**
|
|
3552
3901
|
* Part
|
|
3902
|
+
*
|
|
3553
3903
|
* A datatype containing media content.
|
|
3554
3904
|
*
|
|
3555
3905
|
* Exactly one field within a Part should be set, representing the specific type
|
|
@@ -3563,6 +3913,7 @@ export type PartOutput = {
|
|
|
3563
3913
|
videoMetadata?: VideoMetadata | null;
|
|
3564
3914
|
/**
|
|
3565
3915
|
* Thought
|
|
3916
|
+
*
|
|
3566
3917
|
* Indicates if the part is thought from the model.
|
|
3567
3918
|
*/
|
|
3568
3919
|
thought?: boolean | null;
|
|
@@ -3576,6 +3927,7 @@ export type PartOutput = {
|
|
|
3576
3927
|
fileData?: FileData | null;
|
|
3577
3928
|
/**
|
|
3578
3929
|
* Thoughtsignature
|
|
3930
|
+
*
|
|
3579
3931
|
* An opaque signature for the thought so it can be reused in subsequent requests.
|
|
3580
3932
|
*/
|
|
3581
3933
|
thoughtSignature?: string | null;
|
|
@@ -3597,23 +3949,27 @@ export type PartOutput = {
|
|
|
3597
3949
|
functionResponse?: FunctionResponse | null;
|
|
3598
3950
|
/**
|
|
3599
3951
|
* Text
|
|
3952
|
+
*
|
|
3600
3953
|
* Optional. Text part (can be code).
|
|
3601
3954
|
*/
|
|
3602
3955
|
text?: string | null;
|
|
3603
3956
|
};
|
|
3604
3957
|
/**
|
|
3605
3958
|
* PrebuiltVoiceConfig
|
|
3959
|
+
*
|
|
3606
3960
|
* The configuration for the prebuilt speaker to use.
|
|
3607
3961
|
*/
|
|
3608
3962
|
export type PrebuiltVoiceConfig = {
|
|
3609
3963
|
/**
|
|
3610
3964
|
* Voicename
|
|
3965
|
+
*
|
|
3611
3966
|
* The name of the prebuilt voice to use.
|
|
3612
3967
|
*/
|
|
3613
3968
|
voiceName?: string | null;
|
|
3614
3969
|
};
|
|
3615
3970
|
/**
|
|
3616
3971
|
* RagChunk
|
|
3972
|
+
*
|
|
3617
3973
|
* A RagChunk includes the content of a chunk of a RagFile, and associated metadata.
|
|
3618
3974
|
*/
|
|
3619
3975
|
export type RagChunk = {
|
|
@@ -3623,28 +3979,33 @@ export type RagChunk = {
|
|
|
3623
3979
|
pageSpan?: RagChunkPageSpan | null;
|
|
3624
3980
|
/**
|
|
3625
3981
|
* Text
|
|
3982
|
+
*
|
|
3626
3983
|
* The content of the chunk.
|
|
3627
3984
|
*/
|
|
3628
3985
|
text?: string | null;
|
|
3629
3986
|
};
|
|
3630
3987
|
/**
|
|
3631
3988
|
* RagChunkPageSpan
|
|
3989
|
+
*
|
|
3632
3990
|
* Represents where the chunk starts and ends in the document.
|
|
3633
3991
|
*/
|
|
3634
3992
|
export type RagChunkPageSpan = {
|
|
3635
3993
|
/**
|
|
3636
3994
|
* Firstpage
|
|
3995
|
+
*
|
|
3637
3996
|
* Page where chunk starts in the document. Inclusive. 1-indexed.
|
|
3638
3997
|
*/
|
|
3639
3998
|
firstPage?: number | null;
|
|
3640
3999
|
/**
|
|
3641
4000
|
* Lastpage
|
|
4001
|
+
*
|
|
3642
4002
|
* Page where chunk ends in the document. Inclusive. 1-indexed.
|
|
3643
4003
|
*/
|
|
3644
4004
|
lastPage?: number | null;
|
|
3645
4005
|
};
|
|
3646
4006
|
/**
|
|
3647
4007
|
* RagRetrievalConfig
|
|
4008
|
+
*
|
|
3648
4009
|
* Specifies the context retrieval config.
|
|
3649
4010
|
*/
|
|
3650
4011
|
export type RagRetrievalConfigInput = {
|
|
@@ -3662,12 +4023,14 @@ export type RagRetrievalConfigInput = {
|
|
|
3662
4023
|
ranking?: RagRetrievalConfigRanking | null;
|
|
3663
4024
|
/**
|
|
3664
4025
|
* Topk
|
|
4026
|
+
*
|
|
3665
4027
|
* Optional. The number of contexts to retrieve.
|
|
3666
4028
|
*/
|
|
3667
4029
|
topK?: number | null;
|
|
3668
4030
|
};
|
|
3669
4031
|
/**
|
|
3670
4032
|
* RagRetrievalConfig
|
|
4033
|
+
*
|
|
3671
4034
|
* Specifies the context retrieval config.
|
|
3672
4035
|
*/
|
|
3673
4036
|
export type RagRetrievalConfigOutput = {
|
|
@@ -3685,44 +4048,52 @@ export type RagRetrievalConfigOutput = {
|
|
|
3685
4048
|
ranking?: RagRetrievalConfigRanking | null;
|
|
3686
4049
|
/**
|
|
3687
4050
|
* Topk
|
|
4051
|
+
*
|
|
3688
4052
|
* Optional. The number of contexts to retrieve.
|
|
3689
4053
|
*/
|
|
3690
4054
|
topK?: number | null;
|
|
3691
4055
|
};
|
|
3692
4056
|
/**
|
|
3693
4057
|
* RagRetrievalConfigFilter
|
|
4058
|
+
*
|
|
3694
4059
|
* Config for filters.
|
|
3695
4060
|
*/
|
|
3696
4061
|
export type RagRetrievalConfigFilter = {
|
|
3697
4062
|
/**
|
|
3698
4063
|
* Metadatafilter
|
|
4064
|
+
*
|
|
3699
4065
|
* Optional. String for metadata filtering.
|
|
3700
4066
|
*/
|
|
3701
4067
|
metadataFilter?: string | null;
|
|
3702
4068
|
/**
|
|
3703
4069
|
* Vectordistancethreshold
|
|
4070
|
+
*
|
|
3704
4071
|
* Optional. Only returns contexts with vector distance smaller than the threshold.
|
|
3705
4072
|
*/
|
|
3706
4073
|
vectorDistanceThreshold?: number | null;
|
|
3707
4074
|
/**
|
|
3708
4075
|
* Vectorsimilaritythreshold
|
|
4076
|
+
*
|
|
3709
4077
|
* Optional. Only returns contexts with vector similarity larger than the threshold.
|
|
3710
4078
|
*/
|
|
3711
4079
|
vectorSimilarityThreshold?: number | null;
|
|
3712
4080
|
};
|
|
3713
4081
|
/**
|
|
3714
4082
|
* RagRetrievalConfigHybridSearch
|
|
4083
|
+
*
|
|
3715
4084
|
* Config for Hybrid Search.
|
|
3716
4085
|
*/
|
|
3717
4086
|
export type RagRetrievalConfigHybridSearch = {
|
|
3718
4087
|
/**
|
|
3719
4088
|
* Alpha
|
|
4089
|
+
*
|
|
3720
4090
|
* Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally.
|
|
3721
4091
|
*/
|
|
3722
4092
|
alpha?: number | null;
|
|
3723
4093
|
};
|
|
3724
4094
|
/**
|
|
3725
4095
|
* RagRetrievalConfigRanking
|
|
4096
|
+
*
|
|
3726
4097
|
* Config for ranking and reranking.
|
|
3727
4098
|
*/
|
|
3728
4099
|
export type RagRetrievalConfigRanking = {
|
|
@@ -3737,33 +4108,39 @@ export type RagRetrievalConfigRanking = {
|
|
|
3737
4108
|
};
|
|
3738
4109
|
/**
|
|
3739
4110
|
* RagRetrievalConfigRankingLlmRanker
|
|
4111
|
+
*
|
|
3740
4112
|
* Config for LlmRanker.
|
|
3741
4113
|
*/
|
|
3742
4114
|
export type RagRetrievalConfigRankingLlmRanker = {
|
|
3743
4115
|
/**
|
|
3744
4116
|
* Modelname
|
|
4117
|
+
*
|
|
3745
4118
|
* Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
|
|
3746
4119
|
*/
|
|
3747
4120
|
modelName?: string | null;
|
|
3748
4121
|
};
|
|
3749
4122
|
/**
|
|
3750
4123
|
* RagRetrievalConfigRankingRankService
|
|
4124
|
+
*
|
|
3751
4125
|
* Config for Rank Service.
|
|
3752
4126
|
*/
|
|
3753
4127
|
export type RagRetrievalConfigRankingRankService = {
|
|
3754
4128
|
/**
|
|
3755
4129
|
* Modelname
|
|
4130
|
+
*
|
|
3756
4131
|
* Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
|
|
3757
4132
|
*/
|
|
3758
4133
|
modelName?: string | null;
|
|
3759
4134
|
};
|
|
3760
4135
|
/**
|
|
3761
4136
|
* Retrieval
|
|
4137
|
+
*
|
|
3762
4138
|
* Defines a retrieval tool that model can call to access external knowledge.
|
|
3763
4139
|
*/
|
|
3764
4140
|
export type RetrievalInput = {
|
|
3765
4141
|
/**
|
|
3766
4142
|
* Disableattribution
|
|
4143
|
+
*
|
|
3767
4144
|
* Optional. Deprecated. This option is no longer supported.
|
|
3768
4145
|
*/
|
|
3769
4146
|
disableAttribution?: boolean | null;
|
|
@@ -3778,11 +4155,13 @@ export type RetrievalInput = {
|
|
|
3778
4155
|
};
|
|
3779
4156
|
/**
|
|
3780
4157
|
* Retrieval
|
|
4158
|
+
*
|
|
3781
4159
|
* Defines a retrieval tool that model can call to access external knowledge.
|
|
3782
4160
|
*/
|
|
3783
4161
|
export type RetrievalOutput = {
|
|
3784
4162
|
/**
|
|
3785
4163
|
* Disableattribution
|
|
4164
|
+
*
|
|
3786
4165
|
* Optional. Deprecated. This option is no longer supported.
|
|
3787
4166
|
*/
|
|
3788
4167
|
disableAttribution?: boolean | null;
|
|
@@ -3797,6 +4176,7 @@ export type RetrievalOutput = {
|
|
|
3797
4176
|
};
|
|
3798
4177
|
/**
|
|
3799
4178
|
* RetrievalConfig
|
|
4179
|
+
*
|
|
3800
4180
|
* Retrieval config.
|
|
3801
4181
|
*/
|
|
3802
4182
|
export type RetrievalConfig = {
|
|
@@ -3806,28 +4186,33 @@ export type RetrievalConfig = {
|
|
|
3806
4186
|
latLng?: LatLng | null;
|
|
3807
4187
|
/**
|
|
3808
4188
|
* Languagecode
|
|
4189
|
+
*
|
|
3809
4190
|
* The language code of the user.
|
|
3810
4191
|
*/
|
|
3811
4192
|
languageCode?: string | null;
|
|
3812
4193
|
};
|
|
3813
4194
|
/**
|
|
3814
4195
|
* RetrievalMetadata
|
|
4196
|
+
*
|
|
3815
4197
|
* Metadata related to retrieval in the grounding flow.
|
|
3816
4198
|
*/
|
|
3817
4199
|
export type RetrievalMetadata = {
|
|
3818
4200
|
/**
|
|
3819
4201
|
* Googlesearchdynamicretrievalscore
|
|
4202
|
+
*
|
|
3820
4203
|
* Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
|
|
3821
4204
|
*/
|
|
3822
4205
|
googleSearchDynamicRetrievalScore?: number | null;
|
|
3823
4206
|
};
|
|
3824
4207
|
/**
|
|
3825
4208
|
* Rubric
|
|
4209
|
+
*
|
|
3826
4210
|
* This class represents a single Rubric.
|
|
3827
4211
|
*/
|
|
3828
4212
|
export type Rubric = {
|
|
3829
4213
|
/**
|
|
3830
4214
|
* Rubricid
|
|
4215
|
+
*
|
|
3831
4216
|
* Unique identifier for the rubric.
|
|
3832
4217
|
*/
|
|
3833
4218
|
rubricId: string;
|
|
@@ -3837,11 +4222,13 @@ export type Rubric = {
|
|
|
3837
4222
|
rubricContent: RubricContent;
|
|
3838
4223
|
/**
|
|
3839
4224
|
* Description
|
|
4225
|
+
*
|
|
3840
4226
|
* A description of the rubric that provide details on how the results of the rubric assessment be interpreted.
|
|
3841
4227
|
*/
|
|
3842
4228
|
description?: string | null;
|
|
3843
4229
|
/**
|
|
3844
4230
|
* Type
|
|
4231
|
+
*
|
|
3845
4232
|
* Optional. A type designator for the rubric, which can
|
|
3846
4233
|
* inform how it's evaluated or interpreted by systems or users.
|
|
3847
4234
|
*
|
|
@@ -3855,32 +4242,38 @@ export type Rubric = {
|
|
|
3855
4242
|
};
|
|
3856
4243
|
/**
|
|
3857
4244
|
* RubricContent
|
|
4245
|
+
*
|
|
3858
4246
|
* The content of a rubric.
|
|
3859
4247
|
*/
|
|
3860
4248
|
export type RubricContent = {
|
|
3861
4249
|
/**
|
|
3862
4250
|
* Textproperty
|
|
4251
|
+
*
|
|
3863
4252
|
* The property being evaluated. Example: "The agent's response is grammatically correct."
|
|
3864
4253
|
*/
|
|
3865
4254
|
textProperty: string | null;
|
|
3866
4255
|
};
|
|
3867
4256
|
/**
|
|
3868
4257
|
* RubricScore
|
|
4258
|
+
*
|
|
3869
4259
|
* The score obtained after applying the rubric to the Agent's response.
|
|
3870
4260
|
*/
|
|
3871
4261
|
export type RubricScore = {
|
|
3872
4262
|
/**
|
|
3873
4263
|
* Rubricid
|
|
4264
|
+
*
|
|
3874
4265
|
* The id of the rubric that was assessed.
|
|
3875
4266
|
*/
|
|
3876
4267
|
rubricId: string;
|
|
3877
4268
|
/**
|
|
3878
4269
|
* Rationale
|
|
4270
|
+
*
|
|
3879
4271
|
* Reasoning/rationale for the score.
|
|
3880
4272
|
*/
|
|
3881
4273
|
rationale?: string | null;
|
|
3882
4274
|
/**
|
|
3883
4275
|
* Score
|
|
4276
|
+
*
|
|
3884
4277
|
* Score obtained after assessing the rubric. Optional, as assessment might not have happened.
|
|
3885
4278
|
*/
|
|
3886
4279
|
score?: number | null;
|
|
@@ -3919,12 +4312,15 @@ export type RunAgentRequest = {
|
|
|
3919
4312
|
export type RunEvalRequest = {
|
|
3920
4313
|
/**
|
|
3921
4314
|
* Evalids
|
|
4315
|
+
*
|
|
3922
4316
|
* This field is deprecated, use eval_case_ids instead.
|
|
4317
|
+
*
|
|
3923
4318
|
* @deprecated
|
|
3924
4319
|
*/
|
|
3925
4320
|
evalIds?: Array<string>;
|
|
3926
4321
|
/**
|
|
3927
4322
|
* Evalcaseids
|
|
4323
|
+
*
|
|
3928
4324
|
* List of eval case ids to evaluate. if empty, then all eval cases in the eval set are run.
|
|
3929
4325
|
*/
|
|
3930
4326
|
evalCaseIds?: Array<string>;
|
|
@@ -3961,10 +4357,15 @@ export type RunEvalResult = {
|
|
|
3961
4357
|
finalEvalStatus: EvalStatus;
|
|
3962
4358
|
/**
|
|
3963
4359
|
* Evalmetricresults
|
|
4360
|
+
*
|
|
3964
4361
|
* This field is deprecated, use overall_eval_metric_results instead.
|
|
4362
|
+
*
|
|
3965
4363
|
* @deprecated
|
|
3966
4364
|
*/
|
|
3967
|
-
evalMetricResults?: Array<[
|
|
4365
|
+
evalMetricResults?: Array<[
|
|
4366
|
+
EvalMetricOutput,
|
|
4367
|
+
EvalMetricResult
|
|
4368
|
+
]>;
|
|
3968
4369
|
/**
|
|
3969
4370
|
* Overallevalmetricresults
|
|
3970
4371
|
*/
|
|
@@ -3984,6 +4385,7 @@ export type RunEvalResult = {
|
|
|
3984
4385
|
};
|
|
3985
4386
|
/**
|
|
3986
4387
|
* SafetySetting
|
|
4388
|
+
*
|
|
3987
4389
|
* Safety settings.
|
|
3988
4390
|
*/
|
|
3989
4391
|
export type SafetySetting = {
|
|
@@ -4003,27 +4405,32 @@ export type SafetySetting = {
|
|
|
4003
4405
|
};
|
|
4004
4406
|
/**
|
|
4005
4407
|
* SandboxStatusInfo
|
|
4408
|
+
*
|
|
4006
4409
|
* 沙盒状态信息
|
|
4007
4410
|
*/
|
|
4008
4411
|
export type SandboxStatusInfo = {
|
|
4009
4412
|
/**
|
|
4010
4413
|
* Sandboxid
|
|
4414
|
+
*
|
|
4011
4415
|
* 沙盒唯一标识符
|
|
4012
4416
|
*/
|
|
4013
4417
|
sandboxId: string;
|
|
4014
4418
|
/**
|
|
4015
4419
|
* Status
|
|
4420
|
+
*
|
|
4016
4421
|
* 沙盒状态
|
|
4017
4422
|
*/
|
|
4018
4423
|
status: string;
|
|
4019
4424
|
/**
|
|
4020
4425
|
* Error
|
|
4426
|
+
*
|
|
4021
4427
|
* 错误信息
|
|
4022
4428
|
*/
|
|
4023
4429
|
error?: string | null;
|
|
4024
4430
|
};
|
|
4025
4431
|
/**
|
|
4026
4432
|
* Schema
|
|
4433
|
+
*
|
|
4027
4434
|
* Schema is used to define the format of input/output data.
|
|
4028
4435
|
*
|
|
4029
4436
|
* Represents a select subset of an [OpenAPI 3.0 schema
|
|
@@ -4033,11 +4440,13 @@ export type SandboxStatusInfo = {
|
|
|
4033
4440
|
export type SchemaInput = {
|
|
4034
4441
|
/**
|
|
4035
4442
|
* Additionalproperties
|
|
4443
|
+
*
|
|
4036
4444
|
* Optional. Can either be a boolean or an object; controls the presence of additional properties.
|
|
4037
4445
|
*/
|
|
4038
4446
|
additionalProperties?: unknown | null;
|
|
4039
4447
|
/**
|
|
4040
4448
|
* Defs
|
|
4449
|
+
*
|
|
4041
4450
|
* Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.
|
|
4042
4451
|
*/
|
|
4043
4452
|
defs?: {
|
|
@@ -4045,36 +4454,43 @@ export type SchemaInput = {
|
|
|
4045
4454
|
} | null;
|
|
4046
4455
|
/**
|
|
4047
4456
|
* Ref
|
|
4457
|
+
*
|
|
4048
4458
|
* Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
|
|
4049
4459
|
*/
|
|
4050
4460
|
ref?: string | null;
|
|
4051
4461
|
/**
|
|
4052
4462
|
* Anyof
|
|
4463
|
+
*
|
|
4053
4464
|
* Optional. The value should be validated against any (one or more) of the subschemas in the list.
|
|
4054
4465
|
*/
|
|
4055
4466
|
anyOf?: Array<SchemaInput> | null;
|
|
4056
4467
|
/**
|
|
4057
4468
|
* Default
|
|
4469
|
+
*
|
|
4058
4470
|
* Optional. Default value of the data.
|
|
4059
4471
|
*/
|
|
4060
4472
|
default?: unknown | null;
|
|
4061
4473
|
/**
|
|
4062
4474
|
* Description
|
|
4475
|
+
*
|
|
4063
4476
|
* Optional. The description of the data.
|
|
4064
4477
|
*/
|
|
4065
4478
|
description?: string | null;
|
|
4066
4479
|
/**
|
|
4067
4480
|
* Enum
|
|
4481
|
+
*
|
|
4068
4482
|
* Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]}
|
|
4069
4483
|
*/
|
|
4070
4484
|
enum?: Array<string> | null;
|
|
4071
4485
|
/**
|
|
4072
4486
|
* Example
|
|
4487
|
+
*
|
|
4073
4488
|
* Optional. Example of the object. Will only populated when the object is the root.
|
|
4074
4489
|
*/
|
|
4075
4490
|
example?: unknown | null;
|
|
4076
4491
|
/**
|
|
4077
4492
|
* Format
|
|
4493
|
+
*
|
|
4078
4494
|
* Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc
|
|
4079
4495
|
*/
|
|
4080
4496
|
format?: string | null;
|
|
@@ -4084,56 +4500,67 @@ export type SchemaInput = {
|
|
|
4084
4500
|
items?: SchemaInput | null;
|
|
4085
4501
|
/**
|
|
4086
4502
|
* Maxitems
|
|
4503
|
+
*
|
|
4087
4504
|
* Optional. Maximum number of the elements for Type.ARRAY.
|
|
4088
4505
|
*/
|
|
4089
4506
|
maxItems?: number | null;
|
|
4090
4507
|
/**
|
|
4091
4508
|
* Maxlength
|
|
4509
|
+
*
|
|
4092
4510
|
* Optional. Maximum length of the Type.STRING
|
|
4093
4511
|
*/
|
|
4094
4512
|
maxLength?: number | null;
|
|
4095
4513
|
/**
|
|
4096
4514
|
* Maxproperties
|
|
4515
|
+
*
|
|
4097
4516
|
* Optional. Maximum number of the properties for Type.OBJECT.
|
|
4098
4517
|
*/
|
|
4099
4518
|
maxProperties?: number | null;
|
|
4100
4519
|
/**
|
|
4101
4520
|
* Maximum
|
|
4521
|
+
*
|
|
4102
4522
|
* Optional. Maximum value of the Type.INTEGER and Type.NUMBER
|
|
4103
4523
|
*/
|
|
4104
4524
|
maximum?: number | null;
|
|
4105
4525
|
/**
|
|
4106
4526
|
* Minitems
|
|
4527
|
+
*
|
|
4107
4528
|
* Optional. Minimum number of the elements for Type.ARRAY.
|
|
4108
4529
|
*/
|
|
4109
4530
|
minItems?: number | null;
|
|
4110
4531
|
/**
|
|
4111
4532
|
* Minlength
|
|
4533
|
+
*
|
|
4112
4534
|
* Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
|
|
4113
4535
|
*/
|
|
4114
4536
|
minLength?: number | null;
|
|
4115
4537
|
/**
|
|
4116
4538
|
* Minproperties
|
|
4539
|
+
*
|
|
4117
4540
|
* Optional. Minimum number of the properties for Type.OBJECT.
|
|
4118
4541
|
*/
|
|
4119
4542
|
minProperties?: number | null;
|
|
4120
4543
|
/**
|
|
4121
4544
|
* Minimum
|
|
4545
|
+
*
|
|
4122
4546
|
* Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER
|
|
4123
4547
|
*/
|
|
4124
4548
|
minimum?: number | null;
|
|
4125
4549
|
/**
|
|
4126
4550
|
* Nullable
|
|
4551
|
+
*
|
|
4127
4552
|
* Optional. Indicates if the value may be null.
|
|
4128
4553
|
*/
|
|
4129
4554
|
nullable?: boolean | null;
|
|
4130
4555
|
/**
|
|
4131
4556
|
* Pattern
|
|
4557
|
+
*
|
|
4132
4558
|
* Optional. Pattern of the Type.STRING to restrict a string to a regular expression.
|
|
4133
4559
|
*/
|
|
4134
4560
|
pattern?: string | null;
|
|
4135
4561
|
/**
|
|
4136
4562
|
* Properties
|
|
4563
|
+
*
|
|
4137
4564
|
* Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
|
|
4138
4565
|
*/
|
|
4139
4566
|
properties?: {
|
|
@@ -4141,16 +4568,19 @@ export type SchemaInput = {
|
|
|
4141
4568
|
} | null;
|
|
4142
4569
|
/**
|
|
4143
4570
|
* Propertyordering
|
|
4571
|
+
*
|
|
4144
4572
|
* Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties.
|
|
4145
4573
|
*/
|
|
4146
4574
|
propertyOrdering?: Array<string> | null;
|
|
4147
4575
|
/**
|
|
4148
4576
|
* Required
|
|
4577
|
+
*
|
|
4149
4578
|
* Optional. Required properties of Type.OBJECT.
|
|
4150
4579
|
*/
|
|
4151
4580
|
required?: Array<string> | null;
|
|
4152
4581
|
/**
|
|
4153
4582
|
* Title
|
|
4583
|
+
*
|
|
4154
4584
|
* Optional. The title of the Schema.
|
|
4155
4585
|
*/
|
|
4156
4586
|
title?: string | null;
|
|
@@ -4161,6 +4591,7 @@ export type SchemaInput = {
|
|
|
4161
4591
|
};
|
|
4162
4592
|
/**
|
|
4163
4593
|
* Schema
|
|
4594
|
+
*
|
|
4164
4595
|
* Schema is used to define the format of input/output data.
|
|
4165
4596
|
*
|
|
4166
4597
|
* Represents a select subset of an [OpenAPI 3.0 schema
|
|
@@ -4170,11 +4601,13 @@ export type SchemaInput = {
|
|
|
4170
4601
|
export type SchemaOutput = {
|
|
4171
4602
|
/**
|
|
4172
4603
|
* Additionalproperties
|
|
4604
|
+
*
|
|
4173
4605
|
* Optional. Can either be a boolean or an object; controls the presence of additional properties.
|
|
4174
4606
|
*/
|
|
4175
4607
|
additionalProperties?: unknown | null;
|
|
4176
4608
|
/**
|
|
4177
4609
|
* Defs
|
|
4610
|
+
*
|
|
4178
4611
|
* Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.
|
|
4179
4612
|
*/
|
|
4180
4613
|
defs?: {
|
|
@@ -4182,36 +4615,43 @@ export type SchemaOutput = {
|
|
|
4182
4615
|
} | null;
|
|
4183
4616
|
/**
|
|
4184
4617
|
* Ref
|
|
4618
|
+
*
|
|
4185
4619
|
* Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring
|
|
4186
4620
|
*/
|
|
4187
4621
|
ref?: string | null;
|
|
4188
4622
|
/**
|
|
4189
4623
|
* Anyof
|
|
4624
|
+
*
|
|
4190
4625
|
* Optional. The value should be validated against any (one or more) of the subschemas in the list.
|
|
4191
4626
|
*/
|
|
4192
4627
|
anyOf?: Array<SchemaOutput> | null;
|
|
4193
4628
|
/**
|
|
4194
4629
|
* Default
|
|
4630
|
+
*
|
|
4195
4631
|
* Optional. Default value of the data.
|
|
4196
4632
|
*/
|
|
4197
4633
|
default?: unknown | null;
|
|
4198
4634
|
/**
|
|
4199
4635
|
* Description
|
|
4636
|
+
*
|
|
4200
4637
|
* Optional. The description of the data.
|
|
4201
4638
|
*/
|
|
4202
4639
|
description?: string | null;
|
|
4203
4640
|
/**
|
|
4204
4641
|
* Enum
|
|
4642
|
+
*
|
|
4205
4643
|
* Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]}
|
|
4206
4644
|
*/
|
|
4207
4645
|
enum?: Array<string> | null;
|
|
4208
4646
|
/**
|
|
4209
4647
|
* Example
|
|
4648
|
+
*
|
|
4210
4649
|
* Optional. Example of the object. Will only populated when the object is the root.
|
|
4211
4650
|
*/
|
|
4212
4651
|
example?: unknown | null;
|
|
4213
4652
|
/**
|
|
4214
4653
|
* Format
|
|
4654
|
+
*
|
|
4215
4655
|
* Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc
|
|
4216
4656
|
*/
|
|
4217
4657
|
format?: string | null;
|
|
@@ -4221,56 +4661,67 @@ export type SchemaOutput = {
|
|
|
4221
4661
|
items?: SchemaOutput | null;
|
|
4222
4662
|
/**
|
|
4223
4663
|
* Maxitems
|
|
4664
|
+
*
|
|
4224
4665
|
* Optional. Maximum number of the elements for Type.ARRAY.
|
|
4225
4666
|
*/
|
|
4226
4667
|
maxItems?: number | null;
|
|
4227
4668
|
/**
|
|
4228
4669
|
* Maxlength
|
|
4670
|
+
*
|
|
4229
4671
|
* Optional. Maximum length of the Type.STRING
|
|
4230
4672
|
*/
|
|
4231
4673
|
maxLength?: number | null;
|
|
4232
4674
|
/**
|
|
4233
4675
|
* Maxproperties
|
|
4676
|
+
*
|
|
4234
4677
|
* Optional. Maximum number of the properties for Type.OBJECT.
|
|
4235
4678
|
*/
|
|
4236
4679
|
maxProperties?: number | null;
|
|
4237
4680
|
/**
|
|
4238
4681
|
* Maximum
|
|
4682
|
+
*
|
|
4239
4683
|
* Optional. Maximum value of the Type.INTEGER and Type.NUMBER
|
|
4240
4684
|
*/
|
|
4241
4685
|
maximum?: number | null;
|
|
4242
4686
|
/**
|
|
4243
4687
|
* Minitems
|
|
4688
|
+
*
|
|
4244
4689
|
* Optional. Minimum number of the elements for Type.ARRAY.
|
|
4245
4690
|
*/
|
|
4246
4691
|
minItems?: number | null;
|
|
4247
4692
|
/**
|
|
4248
4693
|
* Minlength
|
|
4694
|
+
*
|
|
4249
4695
|
* Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
|
|
4250
4696
|
*/
|
|
4251
4697
|
minLength?: number | null;
|
|
4252
4698
|
/**
|
|
4253
4699
|
* Minproperties
|
|
4700
|
+
*
|
|
4254
4701
|
* Optional. Minimum number of the properties for Type.OBJECT.
|
|
4255
4702
|
*/
|
|
4256
4703
|
minProperties?: number | null;
|
|
4257
4704
|
/**
|
|
4258
4705
|
* Minimum
|
|
4706
|
+
*
|
|
4259
4707
|
* Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER
|
|
4260
4708
|
*/
|
|
4261
4709
|
minimum?: number | null;
|
|
4262
4710
|
/**
|
|
4263
4711
|
* Nullable
|
|
4712
|
+
*
|
|
4264
4713
|
* Optional. Indicates if the value may be null.
|
|
4265
4714
|
*/
|
|
4266
4715
|
nullable?: boolean | null;
|
|
4267
4716
|
/**
|
|
4268
4717
|
* Pattern
|
|
4718
|
+
*
|
|
4269
4719
|
* Optional. Pattern of the Type.STRING to restrict a string to a regular expression.
|
|
4270
4720
|
*/
|
|
4271
4721
|
pattern?: string | null;
|
|
4272
4722
|
/**
|
|
4273
4723
|
* Properties
|
|
4724
|
+
*
|
|
4274
4725
|
* Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
|
|
4275
4726
|
*/
|
|
4276
4727
|
properties?: {
|
|
@@ -4278,16 +4729,19 @@ export type SchemaOutput = {
|
|
|
4278
4729
|
} | null;
|
|
4279
4730
|
/**
|
|
4280
4731
|
* Propertyordering
|
|
4732
|
+
*
|
|
4281
4733
|
* Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties.
|
|
4282
4734
|
*/
|
|
4283
4735
|
propertyOrdering?: Array<string> | null;
|
|
4284
4736
|
/**
|
|
4285
4737
|
* Required
|
|
4738
|
+
*
|
|
4286
4739
|
* Optional. Required properties of Type.OBJECT.
|
|
4287
4740
|
*/
|
|
4288
4741
|
required?: Array<string> | null;
|
|
4289
4742
|
/**
|
|
4290
4743
|
* Title
|
|
4744
|
+
*
|
|
4291
4745
|
* Optional. The title of the Schema.
|
|
4292
4746
|
*/
|
|
4293
4747
|
title?: string | null;
|
|
@@ -4298,16 +4752,19 @@ export type SchemaOutput = {
|
|
|
4298
4752
|
};
|
|
4299
4753
|
/**
|
|
4300
4754
|
* SearchEntryPoint
|
|
4755
|
+
*
|
|
4301
4756
|
* Google search entry point.
|
|
4302
4757
|
*/
|
|
4303
4758
|
export type SearchEntryPoint = {
|
|
4304
4759
|
/**
|
|
4305
4760
|
* Renderedcontent
|
|
4761
|
+
*
|
|
4306
4762
|
* Optional. Web content snippet that can be embedded in a web page or an app webview.
|
|
4307
4763
|
*/
|
|
4308
4764
|
renderedContent?: string | null;
|
|
4309
4765
|
/**
|
|
4310
4766
|
* Sdkblob
|
|
4767
|
+
*
|
|
4311
4768
|
* Optional. Base64 encoded JSON representing array of tuple.
|
|
4312
4769
|
*/
|
|
4313
4770
|
sdkBlob?: string | null;
|
|
@@ -4324,35 +4781,41 @@ export declare const SecuritySchemeType: {
|
|
|
4324
4781
|
/**
|
|
4325
4782
|
* SecuritySchemeType
|
|
4326
4783
|
*/
|
|
4327
|
-
export type SecuritySchemeType =
|
|
4784
|
+
export type SecuritySchemeType = typeof SecuritySchemeType[keyof typeof SecuritySchemeType];
|
|
4328
4785
|
/**
|
|
4329
4786
|
* Segment
|
|
4787
|
+
*
|
|
4330
4788
|
* Segment of the content.
|
|
4331
4789
|
*/
|
|
4332
4790
|
export type Segment = {
|
|
4333
4791
|
/**
|
|
4334
4792
|
* Endindex
|
|
4793
|
+
*
|
|
4335
4794
|
* Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
|
|
4336
4795
|
*/
|
|
4337
4796
|
endIndex?: number | null;
|
|
4338
4797
|
/**
|
|
4339
4798
|
* Partindex
|
|
4799
|
+
*
|
|
4340
4800
|
* Output only. The index of a Part object within its parent Content object.
|
|
4341
4801
|
*/
|
|
4342
4802
|
partIndex?: number | null;
|
|
4343
4803
|
/**
|
|
4344
4804
|
* Startindex
|
|
4805
|
+
*
|
|
4345
4806
|
* Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
|
|
4346
4807
|
*/
|
|
4347
4808
|
startIndex?: number | null;
|
|
4348
4809
|
/**
|
|
4349
4810
|
* Text
|
|
4811
|
+
*
|
|
4350
4812
|
* Output only. The text corresponding to the segment from the response.
|
|
4351
4813
|
*/
|
|
4352
4814
|
text?: string | null;
|
|
4353
4815
|
};
|
|
4354
4816
|
/**
|
|
4355
4817
|
* ServiceAccount
|
|
4818
|
+
*
|
|
4356
4819
|
* Represents Google Service Account configuration.
|
|
4357
4820
|
*/
|
|
4358
4821
|
export type ServiceAccount = {
|
|
@@ -4369,6 +4832,7 @@ export type ServiceAccount = {
|
|
|
4369
4832
|
};
|
|
4370
4833
|
/**
|
|
4371
4834
|
* ServiceAccountCredential
|
|
4835
|
+
*
|
|
4372
4836
|
* Represents Google Service Account configuration.
|
|
4373
4837
|
*
|
|
4374
4838
|
* Attributes:
|
|
@@ -4454,6 +4918,7 @@ export type ServiceAccountCredential = {
|
|
|
4454
4918
|
};
|
|
4455
4919
|
/**
|
|
4456
4920
|
* Session
|
|
4921
|
+
*
|
|
4457
4922
|
* Represents a series of interactions between a user and agents.
|
|
4458
4923
|
*/
|
|
4459
4924
|
export type Session = {
|
|
@@ -4486,6 +4951,7 @@ export type Session = {
|
|
|
4486
4951
|
};
|
|
4487
4952
|
/**
|
|
4488
4953
|
* SessionInput
|
|
4954
|
+
*
|
|
4489
4955
|
* Values that help initialize a Session.
|
|
4490
4956
|
*/
|
|
4491
4957
|
export type SessionInput = {
|
|
@@ -4506,11 +4972,13 @@ export type SessionInput = {
|
|
|
4506
4972
|
};
|
|
4507
4973
|
/**
|
|
4508
4974
|
* SpeakerVoiceConfig
|
|
4975
|
+
*
|
|
4509
4976
|
* The configuration for the speaker to use.
|
|
4510
4977
|
*/
|
|
4511
4978
|
export type SpeakerVoiceConfigInput = {
|
|
4512
4979
|
/**
|
|
4513
4980
|
* Speaker
|
|
4981
|
+
*
|
|
4514
4982
|
* The name of the speaker to use. Should be the same as in the
|
|
4515
4983
|
* prompt.
|
|
4516
4984
|
*/
|
|
@@ -4522,11 +4990,13 @@ export type SpeakerVoiceConfigInput = {
|
|
|
4522
4990
|
};
|
|
4523
4991
|
/**
|
|
4524
4992
|
* SpeakerVoiceConfig
|
|
4993
|
+
*
|
|
4525
4994
|
* The configuration for the speaker to use.
|
|
4526
4995
|
*/
|
|
4527
4996
|
export type SpeakerVoiceConfigOutput = {
|
|
4528
4997
|
/**
|
|
4529
4998
|
* Speaker
|
|
4999
|
+
*
|
|
4530
5000
|
* The name of the speaker to use. Should be the same as in the
|
|
4531
5001
|
* prompt.
|
|
4532
5002
|
*/
|
|
@@ -4538,6 +5008,7 @@ export type SpeakerVoiceConfigOutput = {
|
|
|
4538
5008
|
};
|
|
4539
5009
|
/**
|
|
4540
5010
|
* SpeechConfig
|
|
5011
|
+
*
|
|
4541
5012
|
* The speech generation configuration.
|
|
4542
5013
|
*/
|
|
4543
5014
|
export type SpeechConfigInput = {
|
|
@@ -4554,6 +5025,7 @@ export type SpeechConfigInput = {
|
|
|
4554
5025
|
multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfigInput | null;
|
|
4555
5026
|
/**
|
|
4556
5027
|
* Languagecode
|
|
5028
|
+
*
|
|
4557
5029
|
* Language code (ISO 639. e.g. en-US) for the speech synthesization.
|
|
4558
5030
|
* Only available for Live API.
|
|
4559
5031
|
*
|
|
@@ -4562,6 +5034,7 @@ export type SpeechConfigInput = {
|
|
|
4562
5034
|
};
|
|
4563
5035
|
/**
|
|
4564
5036
|
* SpeechConfig
|
|
5037
|
+
*
|
|
4565
5038
|
* The speech generation configuration.
|
|
4566
5039
|
*/
|
|
4567
5040
|
export type SpeechConfigOutput = {
|
|
@@ -4578,6 +5051,7 @@ export type SpeechConfigOutput = {
|
|
|
4578
5051
|
multiSpeakerVoiceConfig?: MultiSpeakerVoiceConfigOutput | null;
|
|
4579
5052
|
/**
|
|
4580
5053
|
* Languagecode
|
|
5054
|
+
*
|
|
4581
5055
|
* Language code (ISO 639. e.g. en-US) for the speech synthesization.
|
|
4582
5056
|
* Only available for Live API.
|
|
4583
5057
|
*
|
|
@@ -4586,49 +5060,58 @@ export type SpeechConfigOutput = {
|
|
|
4586
5060
|
};
|
|
4587
5061
|
/**
|
|
4588
5062
|
* StartNapcatRequest
|
|
5063
|
+
*
|
|
4589
5064
|
* 启动Napcat沙盒请求模型
|
|
4590
5065
|
*/
|
|
4591
5066
|
export type StartNapcatRequest = {
|
|
4592
5067
|
/**
|
|
4593
5068
|
* Sandbox Type
|
|
5069
|
+
*
|
|
4594
5070
|
* 沙盒类型
|
|
4595
5071
|
*/
|
|
4596
5072
|
sandbox_type: string;
|
|
4597
5073
|
/**
|
|
4598
5074
|
* Sandboxid
|
|
5075
|
+
*
|
|
4599
5076
|
* 沙盒唯一标识符
|
|
4600
5077
|
*/
|
|
4601
5078
|
sandboxId: string;
|
|
4602
5079
|
};
|
|
4603
5080
|
/**
|
|
4604
5081
|
* StartNapcatResponse
|
|
5082
|
+
*
|
|
4605
5083
|
* 启动Napcat沙盒响应模型
|
|
4606
5084
|
*/
|
|
4607
5085
|
export type StartNapcatResponse = {
|
|
4608
5086
|
/**
|
|
4609
5087
|
* Sandboxid
|
|
5088
|
+
*
|
|
4610
5089
|
* 沙盒唯一标识符
|
|
4611
5090
|
*/
|
|
4612
5091
|
sandboxId: string;
|
|
4613
5092
|
/**
|
|
4614
5093
|
* Error
|
|
5094
|
+
*
|
|
4615
5095
|
* 错误信息,成功时为None
|
|
4616
5096
|
*/
|
|
4617
5097
|
error?: string | null;
|
|
4618
5098
|
};
|
|
4619
5099
|
/**
|
|
4620
5100
|
* ThinkingConfig
|
|
5101
|
+
*
|
|
4621
5102
|
* The thinking features configuration.
|
|
4622
5103
|
*/
|
|
4623
5104
|
export type ThinkingConfig = {
|
|
4624
5105
|
/**
|
|
4625
5106
|
* Includethoughts
|
|
5107
|
+
*
|
|
4626
5108
|
* Indicates whether to include thoughts in the response. If true, thoughts are returned only if the model supports thought and thoughts are available.
|
|
4627
5109
|
*
|
|
4628
5110
|
*/
|
|
4629
5111
|
includeThoughts?: boolean | null;
|
|
4630
5112
|
/**
|
|
4631
5113
|
* Thinkingbudget
|
|
5114
|
+
*
|
|
4632
5115
|
* Indicates the thinking budget in tokens. 0 is DISABLED. -1 is AUTOMATIC. The default values and allowed ranges are model dependent.
|
|
4633
5116
|
*
|
|
4634
5117
|
*/
|
|
@@ -4636,6 +5119,7 @@ export type ThinkingConfig = {
|
|
|
4636
5119
|
};
|
|
4637
5120
|
/**
|
|
4638
5121
|
* ToolAnnotations
|
|
5122
|
+
*
|
|
4639
5123
|
* Additional properties describing a Tool to clients.
|
|
4640
5124
|
*
|
|
4641
5125
|
* NOTE: all properties in ToolAnnotations are **hints**.
|
|
@@ -4670,6 +5154,7 @@ export type ToolAnnotations = {
|
|
|
4670
5154
|
};
|
|
4671
5155
|
/**
|
|
4672
5156
|
* ToolCodeExecution
|
|
5157
|
+
*
|
|
4673
5158
|
* Tool that executes code generated by the model, and automatically returns the result to the model.
|
|
4674
5159
|
*
|
|
4675
5160
|
* See also [ExecutableCode]and [CodeExecutionResult] which are input and output
|
|
@@ -4680,6 +5165,7 @@ export type ToolCodeExecution = {
|
|
|
4680
5165
|
};
|
|
4681
5166
|
/**
|
|
4682
5167
|
* ToolConfig
|
|
5168
|
+
*
|
|
4683
5169
|
* Tool config.
|
|
4684
5170
|
*
|
|
4685
5171
|
* This config is shared for all tools provided in the request.
|
|
@@ -4696,6 +5182,7 @@ export type ToolConfigInput = {
|
|
|
4696
5182
|
};
|
|
4697
5183
|
/**
|
|
4698
5184
|
* ToolConfig
|
|
5185
|
+
*
|
|
4699
5186
|
* Tool config.
|
|
4700
5187
|
*
|
|
4701
5188
|
* This config is shared for all tools provided in the request.
|
|
@@ -4712,6 +5199,7 @@ export type ToolConfigOutput = {
|
|
|
4712
5199
|
};
|
|
4713
5200
|
/**
|
|
4714
5201
|
* ToolConfirmation
|
|
5202
|
+
*
|
|
4715
5203
|
* Represents a tool confirmation configuration.
|
|
4716
5204
|
*/
|
|
4717
5205
|
export type ToolConfirmation = {
|
|
@@ -4730,6 +5218,7 @@ export type ToolConfirmation = {
|
|
|
4730
5218
|
};
|
|
4731
5219
|
/**
|
|
4732
5220
|
* TrafficType
|
|
5221
|
+
*
|
|
4733
5222
|
* Output only.
|
|
4734
5223
|
*
|
|
4735
5224
|
* Traffic type. This shows whether a request consumes Pay-As-You-Go or
|
|
@@ -4742,25 +5231,29 @@ export declare const TrafficType: {
|
|
|
4742
5231
|
};
|
|
4743
5232
|
/**
|
|
4744
5233
|
* TrafficType
|
|
5234
|
+
*
|
|
4745
5235
|
* Output only.
|
|
4746
5236
|
*
|
|
4747
5237
|
* Traffic type. This shows whether a request consumes Pay-As-You-Go or
|
|
4748
5238
|
* Provisioned Throughput quota.
|
|
4749
5239
|
*/
|
|
4750
|
-
export type TrafficType =
|
|
5240
|
+
export type TrafficType = typeof TrafficType[keyof typeof TrafficType];
|
|
4751
5241
|
/**
|
|
4752
5242
|
* Transcription
|
|
5243
|
+
*
|
|
4753
5244
|
* Audio transcription in Server Conent.
|
|
4754
5245
|
*/
|
|
4755
5246
|
export type Transcription = {
|
|
4756
5247
|
/**
|
|
4757
5248
|
* Text
|
|
5249
|
+
*
|
|
4758
5250
|
* Transcription text.
|
|
4759
5251
|
*
|
|
4760
5252
|
*/
|
|
4761
5253
|
text?: string | null;
|
|
4762
5254
|
/**
|
|
4763
5255
|
* Finished
|
|
5256
|
+
*
|
|
4764
5257
|
* The bool indicates the end of the transcription.
|
|
4765
5258
|
*
|
|
4766
5259
|
*/
|
|
@@ -4768,6 +5261,7 @@ export type Transcription = {
|
|
|
4768
5261
|
};
|
|
4769
5262
|
/**
|
|
4770
5263
|
* Type
|
|
5264
|
+
*
|
|
4771
5265
|
* Optional. The type of the data.
|
|
4772
5266
|
*/
|
|
4773
5267
|
export declare const Type: {
|
|
@@ -4782,11 +5276,13 @@ export declare const Type: {
|
|
|
4782
5276
|
};
|
|
4783
5277
|
/**
|
|
4784
5278
|
* Type
|
|
5279
|
+
*
|
|
4785
5280
|
* Optional. The type of the data.
|
|
4786
5281
|
*/
|
|
4787
|
-
export type Type =
|
|
5282
|
+
export type Type = typeof Type[keyof typeof Type];
|
|
4788
5283
|
/**
|
|
4789
5284
|
* UrlContext
|
|
5285
|
+
*
|
|
4790
5286
|
* Tool to support URL context retrieval.
|
|
4791
5287
|
*/
|
|
4792
5288
|
export type UrlContext = {
|
|
@@ -4811,6 +5307,7 @@ export type ValidationError = {
|
|
|
4811
5307
|
};
|
|
4812
5308
|
/**
|
|
4813
5309
|
* VertexAISearch
|
|
5310
|
+
*
|
|
4814
5311
|
* Retrieve from Vertex AI Search datastore or engine for grounding.
|
|
4815
5312
|
*
|
|
4816
5313
|
* datastore and engine are mutually exclusive. See
|
|
@@ -4819,32 +5316,38 @@ export type ValidationError = {
|
|
|
4819
5316
|
export type VertexAiSearch = {
|
|
4820
5317
|
/**
|
|
4821
5318
|
* Datastorespecs
|
|
5319
|
+
*
|
|
4822
5320
|
* Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.
|
|
4823
5321
|
*/
|
|
4824
5322
|
dataStoreSpecs?: Array<VertexAiSearchDataStoreSpec> | null;
|
|
4825
5323
|
/**
|
|
4826
5324
|
* Datastore
|
|
5325
|
+
*
|
|
4827
5326
|
* Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
|
|
4828
5327
|
*/
|
|
4829
5328
|
datastore?: string | null;
|
|
4830
5329
|
/**
|
|
4831
5330
|
* Engine
|
|
5331
|
+
*
|
|
4832
5332
|
* Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
4833
5333
|
*/
|
|
4834
5334
|
engine?: string | null;
|
|
4835
5335
|
/**
|
|
4836
5336
|
* Filter
|
|
5337
|
+
*
|
|
4837
5338
|
* Optional. Filter strings to be passed to the search API.
|
|
4838
5339
|
*/
|
|
4839
5340
|
filter?: string | null;
|
|
4840
5341
|
/**
|
|
4841
5342
|
* Maxresults
|
|
5343
|
+
*
|
|
4842
5344
|
* Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.
|
|
4843
5345
|
*/
|
|
4844
5346
|
maxResults?: number | null;
|
|
4845
5347
|
};
|
|
4846
5348
|
/**
|
|
4847
5349
|
* VertexAISearchDataStoreSpec
|
|
5350
|
+
*
|
|
4848
5351
|
* Define data stores within engine to filter on in a search call and configurations for those data stores.
|
|
4849
5352
|
*
|
|
4850
5353
|
* For more information, see
|
|
@@ -4853,27 +5356,32 @@ export type VertexAiSearch = {
|
|
|
4853
5356
|
export type VertexAiSearchDataStoreSpec = {
|
|
4854
5357
|
/**
|
|
4855
5358
|
* Datastore
|
|
5359
|
+
*
|
|
4856
5360
|
* Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
|
|
4857
5361
|
*/
|
|
4858
5362
|
dataStore?: string | null;
|
|
4859
5363
|
/**
|
|
4860
5364
|
* Filter
|
|
5365
|
+
*
|
|
4861
5366
|
* Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
|
4862
5367
|
*/
|
|
4863
5368
|
filter?: string | null;
|
|
4864
5369
|
};
|
|
4865
5370
|
/**
|
|
4866
5371
|
* VertexRagStore
|
|
5372
|
+
*
|
|
4867
5373
|
* Retrieve from Vertex RAG Store for grounding.
|
|
4868
5374
|
*/
|
|
4869
5375
|
export type VertexRagStoreInput = {
|
|
4870
5376
|
/**
|
|
4871
5377
|
* Ragcorpora
|
|
5378
|
+
*
|
|
4872
5379
|
* Optional. Deprecated. Please use rag_resources instead.
|
|
4873
5380
|
*/
|
|
4874
5381
|
ragCorpora?: Array<string> | null;
|
|
4875
5382
|
/**
|
|
4876
5383
|
* Ragresources
|
|
5384
|
+
*
|
|
4877
5385
|
* Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
|
|
4878
5386
|
*/
|
|
4879
5387
|
ragResources?: Array<VertexRagStoreRagResource> | null;
|
|
@@ -4883,32 +5391,38 @@ export type VertexRagStoreInput = {
|
|
|
4883
5391
|
ragRetrievalConfig?: RagRetrievalConfigInput | null;
|
|
4884
5392
|
/**
|
|
4885
5393
|
* Similaritytopk
|
|
5394
|
+
*
|
|
4886
5395
|
* Optional. Number of top k results to return from the selected corpora.
|
|
4887
5396
|
*/
|
|
4888
5397
|
similarityTopK?: number | null;
|
|
4889
5398
|
/**
|
|
4890
5399
|
* Storecontext
|
|
5400
|
+
*
|
|
4891
5401
|
* Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions.
|
|
4892
5402
|
*/
|
|
4893
5403
|
storeContext?: boolean | null;
|
|
4894
5404
|
/**
|
|
4895
5405
|
* Vectordistancethreshold
|
|
5406
|
+
*
|
|
4896
5407
|
* Optional. Only return results with vector distance smaller than the threshold.
|
|
4897
5408
|
*/
|
|
4898
5409
|
vectorDistanceThreshold?: number | null;
|
|
4899
5410
|
};
|
|
4900
5411
|
/**
|
|
4901
5412
|
* VertexRagStore
|
|
5413
|
+
*
|
|
4902
5414
|
* Retrieve from Vertex RAG Store for grounding.
|
|
4903
5415
|
*/
|
|
4904
5416
|
export type VertexRagStoreOutput = {
|
|
4905
5417
|
/**
|
|
4906
5418
|
* Ragcorpora
|
|
5419
|
+
*
|
|
4907
5420
|
* Optional. Deprecated. Please use rag_resources instead.
|
|
4908
5421
|
*/
|
|
4909
5422
|
ragCorpora?: Array<string> | null;
|
|
4910
5423
|
/**
|
|
4911
5424
|
* Ragresources
|
|
5425
|
+
*
|
|
4912
5426
|
* Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
|
|
4913
5427
|
*/
|
|
4914
5428
|
ragResources?: Array<VertexRagStoreRagResource> | null;
|
|
@@ -4918,60 +5432,71 @@ export type VertexRagStoreOutput = {
|
|
|
4918
5432
|
ragRetrievalConfig?: RagRetrievalConfigOutput | null;
|
|
4919
5433
|
/**
|
|
4920
5434
|
* Similaritytopk
|
|
5435
|
+
*
|
|
4921
5436
|
* Optional. Number of top k results to return from the selected corpora.
|
|
4922
5437
|
*/
|
|
4923
5438
|
similarityTopK?: number | null;
|
|
4924
5439
|
/**
|
|
4925
5440
|
* Storecontext
|
|
5441
|
+
*
|
|
4926
5442
|
* Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions.
|
|
4927
5443
|
*/
|
|
4928
5444
|
storeContext?: boolean | null;
|
|
4929
5445
|
/**
|
|
4930
5446
|
* Vectordistancethreshold
|
|
5447
|
+
*
|
|
4931
5448
|
* Optional. Only return results with vector distance smaller than the threshold.
|
|
4932
5449
|
*/
|
|
4933
5450
|
vectorDistanceThreshold?: number | null;
|
|
4934
5451
|
};
|
|
4935
5452
|
/**
|
|
4936
5453
|
* VertexRagStoreRagResource
|
|
5454
|
+
*
|
|
4937
5455
|
* The definition of the Rag resource.
|
|
4938
5456
|
*/
|
|
4939
5457
|
export type VertexRagStoreRagResource = {
|
|
4940
5458
|
/**
|
|
4941
5459
|
* Ragcorpus
|
|
5460
|
+
*
|
|
4942
5461
|
* Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
|
|
4943
5462
|
*/
|
|
4944
5463
|
ragCorpus?: string | null;
|
|
4945
5464
|
/**
|
|
4946
5465
|
* Ragfileids
|
|
5466
|
+
*
|
|
4947
5467
|
* Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
|
|
4948
5468
|
*/
|
|
4949
5469
|
ragFileIds?: Array<string> | null;
|
|
4950
5470
|
};
|
|
4951
5471
|
/**
|
|
4952
5472
|
* VideoMetadata
|
|
5473
|
+
*
|
|
4953
5474
|
* Describes how the video in the Part should be used by the model.
|
|
4954
5475
|
*/
|
|
4955
5476
|
export type VideoMetadata = {
|
|
4956
5477
|
/**
|
|
4957
5478
|
* Fps
|
|
5479
|
+
*
|
|
4958
5480
|
* The frame rate of the video sent to the model. If not specified, the
|
|
4959
5481
|
* default value will be 1.0. The fps range is (0.0, 24.0].
|
|
4960
5482
|
*/
|
|
4961
5483
|
fps?: number | null;
|
|
4962
5484
|
/**
|
|
4963
5485
|
* Endoffset
|
|
5486
|
+
*
|
|
4964
5487
|
* Optional. The end offset of the video.
|
|
4965
5488
|
*/
|
|
4966
5489
|
endOffset?: string | null;
|
|
4967
5490
|
/**
|
|
4968
5491
|
* Startoffset
|
|
5492
|
+
*
|
|
4969
5493
|
* Optional. The start offset of the video.
|
|
4970
5494
|
*/
|
|
4971
5495
|
startOffset?: string | null;
|
|
4972
5496
|
};
|
|
4973
5497
|
/**
|
|
4974
5498
|
* VoiceConfig
|
|
5499
|
+
*
|
|
4975
5500
|
* The configuration for the voice to use.
|
|
4976
5501
|
*/
|
|
4977
5502
|
export type VoiceConfig = {
|
|
@@ -4983,6 +5508,7 @@ export type VoiceConfig = {
|
|
|
4983
5508
|
};
|
|
4984
5509
|
/**
|
|
4985
5510
|
* AuthConfig
|
|
5511
|
+
*
|
|
4986
5512
|
* The auth config sent by tool asking client to collect auth credentials and
|
|
4987
5513
|
*
|
|
4988
5514
|
* adk and client will help to fill in the response
|
|
@@ -5002,6 +5528,7 @@ export type GoogleAdkAuthAuthToolAuthConfigInput = {
|
|
|
5002
5528
|
};
|
|
5003
5529
|
/**
|
|
5004
5530
|
* AuthConfig
|
|
5531
|
+
*
|
|
5005
5532
|
* The auth config sent by tool asking client to collect auth credentials and
|
|
5006
5533
|
*
|
|
5007
5534
|
* adk and client will help to fill in the response
|
|
@@ -5021,32 +5548,38 @@ export type GoogleAdkAuthAuthToolAuthConfigOutput = {
|
|
|
5021
5548
|
};
|
|
5022
5549
|
/**
|
|
5023
5550
|
* Interval
|
|
5551
|
+
*
|
|
5024
5552
|
* Represents a range of numeric values, e.g. [0 ,1] or (2,3) or [-1, 6).
|
|
5025
5553
|
*/
|
|
5026
5554
|
export type GoogleAdkEvaluationEvalMetricsInterval = {
|
|
5027
5555
|
/**
|
|
5028
5556
|
* Minvalue
|
|
5557
|
+
*
|
|
5029
5558
|
* The smaller end of the interval.
|
|
5030
5559
|
*/
|
|
5031
5560
|
minValue: number;
|
|
5032
5561
|
/**
|
|
5033
5562
|
* Openatmin
|
|
5563
|
+
*
|
|
5034
5564
|
* The interval is Open on the min end. The default value is False, which means that we assume that the interval is Closed.
|
|
5035
5565
|
*/
|
|
5036
5566
|
openAtMin?: boolean;
|
|
5037
5567
|
/**
|
|
5038
5568
|
* Maxvalue
|
|
5569
|
+
*
|
|
5039
5570
|
* The larger end of the interval.
|
|
5040
5571
|
*/
|
|
5041
5572
|
maxValue: number;
|
|
5042
5573
|
/**
|
|
5043
5574
|
* Openatmax
|
|
5575
|
+
*
|
|
5044
5576
|
* The interval is Open on the max end. The default value is False, which means that we assume that the interval is Closed.
|
|
5045
5577
|
*/
|
|
5046
5578
|
openAtMax?: boolean;
|
|
5047
5579
|
};
|
|
5048
5580
|
/**
|
|
5049
5581
|
* AuthConfig
|
|
5582
|
+
*
|
|
5050
5583
|
* Auth configuration to run the extension.
|
|
5051
5584
|
*/
|
|
5052
5585
|
export type GoogleGenaiTypesAuthConfig = {
|
|
@@ -5077,6 +5610,7 @@ export type GoogleGenaiTypesAuthConfig = {
|
|
|
5077
5610
|
};
|
|
5078
5611
|
/**
|
|
5079
5612
|
* Interval
|
|
5613
|
+
*
|
|
5080
5614
|
* Represents a time interval, encoded as a start time (inclusive) and an end time (exclusive).
|
|
5081
5615
|
*
|
|
5082
5616
|
* The start time must be less than or equal to the end time.
|
|
@@ -5087,22 +5621,26 @@ export type GoogleGenaiTypesAuthConfig = {
|
|
|
5087
5621
|
export type GoogleGenaiTypesInterval = {
|
|
5088
5622
|
/**
|
|
5089
5623
|
* Starttime
|
|
5624
|
+
*
|
|
5090
5625
|
* The start time of the interval.
|
|
5091
5626
|
*/
|
|
5092
5627
|
startTime?: string | null;
|
|
5093
5628
|
/**
|
|
5094
5629
|
* Endtime
|
|
5630
|
+
*
|
|
5095
5631
|
* The end time of the interval.
|
|
5096
5632
|
*/
|
|
5097
5633
|
endTime?: string | null;
|
|
5098
5634
|
};
|
|
5099
5635
|
/**
|
|
5100
5636
|
* Tool
|
|
5637
|
+
*
|
|
5101
5638
|
* Tool details of a tool that the model may use to generate a response.
|
|
5102
5639
|
*/
|
|
5103
5640
|
export type GoogleGenaiTypesToolInput = {
|
|
5104
5641
|
/**
|
|
5105
5642
|
* Functiondeclarations
|
|
5643
|
+
*
|
|
5106
5644
|
* List of function declarations that the tool supports.
|
|
5107
5645
|
*/
|
|
5108
5646
|
functionDeclarations?: Array<FunctionDeclarationInput> | null;
|
|
@@ -5140,11 +5678,13 @@ export type GoogleGenaiTypesToolInput = {
|
|
|
5140
5678
|
};
|
|
5141
5679
|
/**
|
|
5142
5680
|
* Tool
|
|
5681
|
+
*
|
|
5143
5682
|
* Tool details of a tool that the model may use to generate a response.
|
|
5144
5683
|
*/
|
|
5145
5684
|
export type GoogleGenaiTypesToolOutput = {
|
|
5146
5685
|
/**
|
|
5147
5686
|
* Functiondeclarations
|
|
5687
|
+
*
|
|
5148
5688
|
* List of function declarations that the tool supports.
|
|
5149
5689
|
*/
|
|
5150
5690
|
functionDeclarations?: Array<FunctionDeclarationOutput> | null;
|
|
@@ -5182,6 +5722,7 @@ export type GoogleGenaiTypesToolOutput = {
|
|
|
5182
5722
|
};
|
|
5183
5723
|
/**
|
|
5184
5724
|
* Tool
|
|
5725
|
+
*
|
|
5185
5726
|
* Definition for a tool the client can call.
|
|
5186
5727
|
*/
|
|
5187
5728
|
export type McpTypesTool = {
|
|
@@ -5208,11 +5749,12 @@ export type ListAppsData = {
|
|
|
5208
5749
|
body?: never;
|
|
5209
5750
|
path?: never;
|
|
5210
5751
|
query?: never;
|
|
5211
|
-
url:
|
|
5752
|
+
url: '/list-apps';
|
|
5212
5753
|
};
|
|
5213
5754
|
export type ListAppsResponses = {
|
|
5214
5755
|
/**
|
|
5215
5756
|
* Response List Apps
|
|
5757
|
+
*
|
|
5216
5758
|
* Successful Response
|
|
5217
5759
|
*/
|
|
5218
5760
|
200: Array<string>;
|
|
@@ -5227,7 +5769,7 @@ export type DebugGetTraceDictData = {
|
|
|
5227
5769
|
event_id: string;
|
|
5228
5770
|
};
|
|
5229
5771
|
query?: never;
|
|
5230
|
-
url:
|
|
5772
|
+
url: '/debug/trace/{event_id}';
|
|
5231
5773
|
};
|
|
5232
5774
|
export type DebugGetTraceDictErrors = {
|
|
5233
5775
|
/**
|
|
@@ -5239,6 +5781,7 @@ export type DebugGetTraceDictError = DebugGetTraceDictErrors[keyof DebugGetTrace
|
|
|
5239
5781
|
export type DebugGetTraceDictResponses = {
|
|
5240
5782
|
/**
|
|
5241
5783
|
* Response Debug-Get Trace Dict
|
|
5784
|
+
*
|
|
5242
5785
|
* Successful Response
|
|
5243
5786
|
*/
|
|
5244
5787
|
200: unknown;
|
|
@@ -5252,7 +5795,7 @@ export type DebugGetSessionTraceData = {
|
|
|
5252
5795
|
session_id: string;
|
|
5253
5796
|
};
|
|
5254
5797
|
query?: never;
|
|
5255
|
-
url:
|
|
5798
|
+
url: '/debug/trace/session/{session_id}';
|
|
5256
5799
|
};
|
|
5257
5800
|
export type DebugGetSessionTraceErrors = {
|
|
5258
5801
|
/**
|
|
@@ -5264,6 +5807,7 @@ export type DebugGetSessionTraceError = DebugGetSessionTraceErrors[keyof DebugGe
|
|
|
5264
5807
|
export type DebugGetSessionTraceResponses = {
|
|
5265
5808
|
/**
|
|
5266
5809
|
* Response Debug-Get Session Trace
|
|
5810
|
+
*
|
|
5267
5811
|
* Successful Response
|
|
5268
5812
|
*/
|
|
5269
5813
|
200: unknown;
|
|
@@ -5285,7 +5829,7 @@ export type DeleteSessionData = {
|
|
|
5285
5829
|
session_id: string;
|
|
5286
5830
|
};
|
|
5287
5831
|
query?: never;
|
|
5288
|
-
url:
|
|
5832
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}';
|
|
5289
5833
|
};
|
|
5290
5834
|
export type DeleteSessionErrors = {
|
|
5291
5835
|
/**
|
|
@@ -5297,6 +5841,7 @@ export type DeleteSessionError = DeleteSessionErrors[keyof DeleteSessionErrors];
|
|
|
5297
5841
|
export type DeleteSessionResponses = {
|
|
5298
5842
|
/**
|
|
5299
5843
|
* Response Delete Session
|
|
5844
|
+
*
|
|
5300
5845
|
* Successful Response
|
|
5301
5846
|
*/
|
|
5302
5847
|
200: null;
|
|
@@ -5319,7 +5864,7 @@ export type GetSessionData = {
|
|
|
5319
5864
|
session_id: string;
|
|
5320
5865
|
};
|
|
5321
5866
|
query?: never;
|
|
5322
|
-
url:
|
|
5867
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}';
|
|
5323
5868
|
};
|
|
5324
5869
|
export type GetSessionErrors = {
|
|
5325
5870
|
/**
|
|
@@ -5357,7 +5902,7 @@ export type CreateSessionWithIdData = {
|
|
|
5357
5902
|
session_id: string;
|
|
5358
5903
|
};
|
|
5359
5904
|
query?: never;
|
|
5360
|
-
url:
|
|
5905
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}';
|
|
5361
5906
|
};
|
|
5362
5907
|
export type CreateSessionWithIdErrors = {
|
|
5363
5908
|
/**
|
|
@@ -5386,7 +5931,7 @@ export type ListSessionsData = {
|
|
|
5386
5931
|
user_id: string;
|
|
5387
5932
|
};
|
|
5388
5933
|
query?: never;
|
|
5389
|
-
url:
|
|
5934
|
+
url: '/apps/{app_name}/users/{user_id}/sessions';
|
|
5390
5935
|
};
|
|
5391
5936
|
export type ListSessionsErrors = {
|
|
5392
5937
|
/**
|
|
@@ -5398,6 +5943,7 @@ export type ListSessionsError = ListSessionsErrors[keyof ListSessionsErrors];
|
|
|
5398
5943
|
export type ListSessionsResponses = {
|
|
5399
5944
|
/**
|
|
5400
5945
|
* Response List Sessions
|
|
5946
|
+
*
|
|
5401
5947
|
* Successful Response
|
|
5402
5948
|
*/
|
|
5403
5949
|
200: Array<Session>;
|
|
@@ -5419,7 +5965,7 @@ export type CreateSessionData = {
|
|
|
5419
5965
|
user_id: string;
|
|
5420
5966
|
};
|
|
5421
5967
|
query?: never;
|
|
5422
|
-
url:
|
|
5968
|
+
url: '/apps/{app_name}/users/{user_id}/sessions';
|
|
5423
5969
|
};
|
|
5424
5970
|
export type CreateSessionErrors = {
|
|
5425
5971
|
/**
|
|
@@ -5444,7 +5990,7 @@ export type EvaluationListEvalSetsData = {
|
|
|
5444
5990
|
app_name: string;
|
|
5445
5991
|
};
|
|
5446
5992
|
query?: never;
|
|
5447
|
-
url:
|
|
5993
|
+
url: '/apps/{app_name}/eval-sets';
|
|
5448
5994
|
};
|
|
5449
5995
|
export type EvaluationListEvalSetsErrors = {
|
|
5450
5996
|
/**
|
|
@@ -5469,7 +6015,7 @@ export type EvaluationCreateEvalSetData = {
|
|
|
5469
6015
|
app_name: string;
|
|
5470
6016
|
};
|
|
5471
6017
|
query?: never;
|
|
5472
|
-
url:
|
|
6018
|
+
url: '/apps/{app_name}/eval-sets';
|
|
5473
6019
|
};
|
|
5474
6020
|
export type EvaluationCreateEvalSetErrors = {
|
|
5475
6021
|
/**
|
|
@@ -5498,7 +6044,7 @@ export type EvaluationCreateEvalSetLegacyData = {
|
|
|
5498
6044
|
eval_set_id: string;
|
|
5499
6045
|
};
|
|
5500
6046
|
query?: never;
|
|
5501
|
-
url:
|
|
6047
|
+
url: '/apps/{app_name}/eval_sets/{eval_set_id}';
|
|
5502
6048
|
};
|
|
5503
6049
|
export type EvaluationCreateEvalSetLegacyErrors = {
|
|
5504
6050
|
/**
|
|
@@ -5522,7 +6068,7 @@ export type EvaluationListEvalSetsLegacyData = {
|
|
|
5522
6068
|
app_name: string;
|
|
5523
6069
|
};
|
|
5524
6070
|
query?: never;
|
|
5525
|
-
url:
|
|
6071
|
+
url: '/apps/{app_name}/eval_sets';
|
|
5526
6072
|
};
|
|
5527
6073
|
export type EvaluationListEvalSetsLegacyErrors = {
|
|
5528
6074
|
/**
|
|
@@ -5534,6 +6080,7 @@ export type EvaluationListEvalSetsLegacyError = EvaluationListEvalSetsLegacyErro
|
|
|
5534
6080
|
export type EvaluationListEvalSetsLegacyResponses = {
|
|
5535
6081
|
/**
|
|
5536
6082
|
* Response Evaluation-List Eval Sets Legacy
|
|
6083
|
+
*
|
|
5537
6084
|
* Successful Response
|
|
5538
6085
|
*/
|
|
5539
6086
|
200: Array<string>;
|
|
@@ -5552,7 +6099,7 @@ export type EvaluationAddSessionToEvalSetData = {
|
|
|
5552
6099
|
eval_set_id: string;
|
|
5553
6100
|
};
|
|
5554
6101
|
query?: never;
|
|
5555
|
-
url:
|
|
6102
|
+
url: '/apps/{app_name}/eval-sets/{eval_set_id}/add-session';
|
|
5556
6103
|
};
|
|
5557
6104
|
export type EvaluationAddSessionToEvalSetErrors = {
|
|
5558
6105
|
/**
|
|
@@ -5580,7 +6127,7 @@ export type EvaluationListEvalsInEvalSetData = {
|
|
|
5580
6127
|
eval_set_id: string;
|
|
5581
6128
|
};
|
|
5582
6129
|
query?: never;
|
|
5583
|
-
url:
|
|
6130
|
+
url: '/apps/{app_name}/eval_sets/{eval_set_id}/evals';
|
|
5584
6131
|
};
|
|
5585
6132
|
export type EvaluationListEvalsInEvalSetErrors = {
|
|
5586
6133
|
/**
|
|
@@ -5592,6 +6139,7 @@ export type EvaluationListEvalsInEvalSetError = EvaluationListEvalsInEvalSetErro
|
|
|
5592
6139
|
export type EvaluationListEvalsInEvalSetResponses = {
|
|
5593
6140
|
/**
|
|
5594
6141
|
* Response Evaluation-List Evals In Eval Set
|
|
6142
|
+
*
|
|
5595
6143
|
* Successful Response
|
|
5596
6144
|
*/
|
|
5597
6145
|
200: Array<string>;
|
|
@@ -5614,7 +6162,7 @@ export type EvaluationDeleteEvalData = {
|
|
|
5614
6162
|
eval_case_id: string;
|
|
5615
6163
|
};
|
|
5616
6164
|
query?: never;
|
|
5617
|
-
url:
|
|
6165
|
+
url: '/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}';
|
|
5618
6166
|
};
|
|
5619
6167
|
export type EvaluationDeleteEvalErrors = {
|
|
5620
6168
|
/**
|
|
@@ -5626,6 +6174,7 @@ export type EvaluationDeleteEvalError = EvaluationDeleteEvalErrors[keyof Evaluat
|
|
|
5626
6174
|
export type EvaluationDeleteEvalResponses = {
|
|
5627
6175
|
/**
|
|
5628
6176
|
* Response Evaluation-Delete Eval
|
|
6177
|
+
*
|
|
5629
6178
|
* Successful Response
|
|
5630
6179
|
*/
|
|
5631
6180
|
200: null;
|
|
@@ -5648,7 +6197,7 @@ export type EvaluationGetEvalData = {
|
|
|
5648
6197
|
eval_case_id: string;
|
|
5649
6198
|
};
|
|
5650
6199
|
query?: never;
|
|
5651
|
-
url:
|
|
6200
|
+
url: '/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}';
|
|
5652
6201
|
};
|
|
5653
6202
|
export type EvaluationGetEvalErrors = {
|
|
5654
6203
|
/**
|
|
@@ -5681,7 +6230,7 @@ export type EvaluationUpdateEvalData = {
|
|
|
5681
6230
|
eval_case_id: string;
|
|
5682
6231
|
};
|
|
5683
6232
|
query?: never;
|
|
5684
|
-
url:
|
|
6233
|
+
url: '/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}';
|
|
5685
6234
|
};
|
|
5686
6235
|
export type EvaluationUpdateEvalErrors = {
|
|
5687
6236
|
/**
|
|
@@ -5709,7 +6258,7 @@ export type EvaluationRunEvalLegacyData = {
|
|
|
5709
6258
|
eval_set_id: string;
|
|
5710
6259
|
};
|
|
5711
6260
|
query?: never;
|
|
5712
|
-
url:
|
|
6261
|
+
url: '/apps/{app_name}/eval_sets/{eval_set_id}/run_eval';
|
|
5713
6262
|
};
|
|
5714
6263
|
export type EvaluationRunEvalLegacyErrors = {
|
|
5715
6264
|
/**
|
|
@@ -5721,6 +6270,7 @@ export type EvaluationRunEvalLegacyError = EvaluationRunEvalLegacyErrors[keyof E
|
|
|
5721
6270
|
export type EvaluationRunEvalLegacyResponses = {
|
|
5722
6271
|
/**
|
|
5723
6272
|
* Response Evaluation-Run Eval Legacy
|
|
6273
|
+
*
|
|
5724
6274
|
* Successful Response
|
|
5725
6275
|
*/
|
|
5726
6276
|
200: Array<RunEvalResult>;
|
|
@@ -5739,7 +6289,7 @@ export type EvaluationRunEvalData = {
|
|
|
5739
6289
|
eval_set_id: string;
|
|
5740
6290
|
};
|
|
5741
6291
|
query?: never;
|
|
5742
|
-
url:
|
|
6292
|
+
url: '/apps/{app_name}/eval-sets/{eval_set_id}/run';
|
|
5743
6293
|
};
|
|
5744
6294
|
export type EvaluationRunEvalErrors = {
|
|
5745
6295
|
/**
|
|
@@ -5768,7 +6318,7 @@ export type EvaluationGetEvalResultData = {
|
|
|
5768
6318
|
eval_result_id: string;
|
|
5769
6319
|
};
|
|
5770
6320
|
query?: never;
|
|
5771
|
-
url:
|
|
6321
|
+
url: '/apps/{app_name}/eval-results/{eval_result_id}';
|
|
5772
6322
|
};
|
|
5773
6323
|
export type EvaluationGetEvalResultErrors = {
|
|
5774
6324
|
/**
|
|
@@ -5797,7 +6347,7 @@ export type EvaluationGetEvalResultLegacyData = {
|
|
|
5797
6347
|
eval_result_id: string;
|
|
5798
6348
|
};
|
|
5799
6349
|
query?: never;
|
|
5800
|
-
url:
|
|
6350
|
+
url: '/apps/{app_name}/eval_results/{eval_result_id}';
|
|
5801
6351
|
};
|
|
5802
6352
|
export type EvaluationGetEvalResultLegacyErrors = {
|
|
5803
6353
|
/**
|
|
@@ -5822,7 +6372,7 @@ export type EvaluationListEvalResultsData = {
|
|
|
5822
6372
|
app_name: string;
|
|
5823
6373
|
};
|
|
5824
6374
|
query?: never;
|
|
5825
|
-
url:
|
|
6375
|
+
url: '/apps/{app_name}/eval-results';
|
|
5826
6376
|
};
|
|
5827
6377
|
export type EvaluationListEvalResultsErrors = {
|
|
5828
6378
|
/**
|
|
@@ -5847,7 +6397,7 @@ export type EvaluationListEvalResultsLegacyData = {
|
|
|
5847
6397
|
app_name: string;
|
|
5848
6398
|
};
|
|
5849
6399
|
query?: never;
|
|
5850
|
-
url:
|
|
6400
|
+
url: '/apps/{app_name}/eval_results';
|
|
5851
6401
|
};
|
|
5852
6402
|
export type EvaluationListEvalResultsLegacyErrors = {
|
|
5853
6403
|
/**
|
|
@@ -5859,6 +6409,7 @@ export type EvaluationListEvalResultsLegacyError = EvaluationListEvalResultsLega
|
|
|
5859
6409
|
export type EvaluationListEvalResultsLegacyResponses = {
|
|
5860
6410
|
/**
|
|
5861
6411
|
* Response Evaluation-List Eval Results Legacy
|
|
6412
|
+
*
|
|
5862
6413
|
* Successful Response
|
|
5863
6414
|
*/
|
|
5864
6415
|
200: Array<string>;
|
|
@@ -5873,7 +6424,7 @@ export type EvaluationListMetricsInfoData = {
|
|
|
5873
6424
|
app_name: string;
|
|
5874
6425
|
};
|
|
5875
6426
|
query?: never;
|
|
5876
|
-
url:
|
|
6427
|
+
url: '/apps/{app_name}/metrics-info';
|
|
5877
6428
|
};
|
|
5878
6429
|
export type EvaluationListMetricsInfoErrors = {
|
|
5879
6430
|
/**
|
|
@@ -5910,7 +6461,7 @@ export type DeleteArtifactData = {
|
|
|
5910
6461
|
artifact_name: string;
|
|
5911
6462
|
};
|
|
5912
6463
|
query?: never;
|
|
5913
|
-
url:
|
|
6464
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}';
|
|
5914
6465
|
};
|
|
5915
6466
|
export type DeleteArtifactErrors = {
|
|
5916
6467
|
/**
|
|
@@ -5922,6 +6473,7 @@ export type DeleteArtifactError = DeleteArtifactErrors[keyof DeleteArtifactError
|
|
|
5922
6473
|
export type DeleteArtifactResponses = {
|
|
5923
6474
|
/**
|
|
5924
6475
|
* Response Delete Artifact
|
|
6476
|
+
*
|
|
5925
6477
|
* Successful Response
|
|
5926
6478
|
*/
|
|
5927
6479
|
200: null;
|
|
@@ -5953,7 +6505,7 @@ export type LoadArtifactData = {
|
|
|
5953
6505
|
*/
|
|
5954
6506
|
version?: number | null;
|
|
5955
6507
|
};
|
|
5956
|
-
url:
|
|
6508
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}';
|
|
5957
6509
|
};
|
|
5958
6510
|
export type LoadArtifactErrors = {
|
|
5959
6511
|
/**
|
|
@@ -5965,6 +6517,7 @@ export type LoadArtifactError = LoadArtifactErrors[keyof LoadArtifactErrors];
|
|
|
5965
6517
|
export type LoadArtifactResponses = {
|
|
5966
6518
|
/**
|
|
5967
6519
|
* Response Load Artifact
|
|
6520
|
+
*
|
|
5968
6521
|
* Successful Response
|
|
5969
6522
|
*/
|
|
5970
6523
|
200: PartOutput | null;
|
|
@@ -5995,7 +6548,7 @@ export type LoadArtifactVersionData = {
|
|
|
5995
6548
|
version_id: number;
|
|
5996
6549
|
};
|
|
5997
6550
|
query?: never;
|
|
5998
|
-
url:
|
|
6551
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}/versions/{version_id}';
|
|
5999
6552
|
};
|
|
6000
6553
|
export type LoadArtifactVersionErrors = {
|
|
6001
6554
|
/**
|
|
@@ -6007,6 +6560,7 @@ export type LoadArtifactVersionError = LoadArtifactVersionErrors[keyof LoadArtif
|
|
|
6007
6560
|
export type LoadArtifactVersionResponses = {
|
|
6008
6561
|
/**
|
|
6009
6562
|
* Response Load Artifact Version
|
|
6563
|
+
*
|
|
6010
6564
|
* Successful Response
|
|
6011
6565
|
*/
|
|
6012
6566
|
200: PartOutput | null;
|
|
@@ -6029,7 +6583,7 @@ export type ListArtifactNamesData = {
|
|
|
6029
6583
|
session_id: string;
|
|
6030
6584
|
};
|
|
6031
6585
|
query?: never;
|
|
6032
|
-
url:
|
|
6586
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts';
|
|
6033
6587
|
};
|
|
6034
6588
|
export type ListArtifactNamesErrors = {
|
|
6035
6589
|
/**
|
|
@@ -6041,6 +6595,7 @@ export type ListArtifactNamesError = ListArtifactNamesErrors[keyof ListArtifactN
|
|
|
6041
6595
|
export type ListArtifactNamesResponses = {
|
|
6042
6596
|
/**
|
|
6043
6597
|
* Response List Artifact Names
|
|
6598
|
+
*
|
|
6044
6599
|
* Successful Response
|
|
6045
6600
|
*/
|
|
6046
6601
|
200: Array<string>;
|
|
@@ -6067,7 +6622,7 @@ export type ListArtifactVersionsData = {
|
|
|
6067
6622
|
artifact_name: string;
|
|
6068
6623
|
};
|
|
6069
6624
|
query?: never;
|
|
6070
|
-
url:
|
|
6625
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}/versions';
|
|
6071
6626
|
};
|
|
6072
6627
|
export type ListArtifactVersionsErrors = {
|
|
6073
6628
|
/**
|
|
@@ -6079,6 +6634,7 @@ export type ListArtifactVersionsError = ListArtifactVersionsErrors[keyof ListArt
|
|
|
6079
6634
|
export type ListArtifactVersionsResponses = {
|
|
6080
6635
|
/**
|
|
6081
6636
|
* Response List Artifact Versions
|
|
6637
|
+
*
|
|
6082
6638
|
* Successful Response
|
|
6083
6639
|
*/
|
|
6084
6640
|
200: Array<number>;
|
|
@@ -6088,7 +6644,7 @@ export type RunAgentData = {
|
|
|
6088
6644
|
body: RunAgentRequest;
|
|
6089
6645
|
path?: never;
|
|
6090
6646
|
query?: never;
|
|
6091
|
-
url:
|
|
6647
|
+
url: '/run';
|
|
6092
6648
|
};
|
|
6093
6649
|
export type RunAgentErrors = {
|
|
6094
6650
|
/**
|
|
@@ -6100,6 +6656,7 @@ export type RunAgentError = RunAgentErrors[keyof RunAgentErrors];
|
|
|
6100
6656
|
export type RunAgentResponses = {
|
|
6101
6657
|
/**
|
|
6102
6658
|
* Response Run Agent
|
|
6659
|
+
*
|
|
6103
6660
|
* Successful Response
|
|
6104
6661
|
*/
|
|
6105
6662
|
200: Array<EventOutput>;
|
|
@@ -6109,7 +6666,7 @@ export type RunAgentSseData = {
|
|
|
6109
6666
|
body: RunAgentRequest;
|
|
6110
6667
|
path?: never;
|
|
6111
6668
|
query?: never;
|
|
6112
|
-
url:
|
|
6669
|
+
url: '/run_sse';
|
|
6113
6670
|
};
|
|
6114
6671
|
export type RunAgentSseErrors = {
|
|
6115
6672
|
/**
|
|
@@ -6145,7 +6702,7 @@ export type DebugGetEventGraphData = {
|
|
|
6145
6702
|
event_id: string;
|
|
6146
6703
|
};
|
|
6147
6704
|
query?: never;
|
|
6148
|
-
url:
|
|
6705
|
+
url: '/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph';
|
|
6149
6706
|
};
|
|
6150
6707
|
export type DebugGetEventGraphErrors = {
|
|
6151
6708
|
/**
|
|
@@ -6164,7 +6721,7 @@ export type RedirectRootToDevUiData = {
|
|
|
6164
6721
|
body?: never;
|
|
6165
6722
|
path?: never;
|
|
6166
6723
|
query?: never;
|
|
6167
|
-
url:
|
|
6724
|
+
url: '/';
|
|
6168
6725
|
};
|
|
6169
6726
|
export type RedirectRootToDevUiResponses = {
|
|
6170
6727
|
/**
|
|
@@ -6176,7 +6733,7 @@ export type RedirectDevUiAddSlashData = {
|
|
|
6176
6733
|
body?: never;
|
|
6177
6734
|
path?: never;
|
|
6178
6735
|
query?: never;
|
|
6179
|
-
url:
|
|
6736
|
+
url: '/dev-ui';
|
|
6180
6737
|
};
|
|
6181
6738
|
export type RedirectDevUiAddSlashResponses = {
|
|
6182
6739
|
/**
|
|
@@ -6188,7 +6745,7 @@ export type BuilderBuildData = {
|
|
|
6188
6745
|
body: BodyBuilderBuild;
|
|
6189
6746
|
path?: never;
|
|
6190
6747
|
query?: never;
|
|
6191
|
-
url:
|
|
6748
|
+
url: '/builder/save';
|
|
6192
6749
|
};
|
|
6193
6750
|
export type BuilderBuildErrors = {
|
|
6194
6751
|
/**
|
|
@@ -6200,6 +6757,7 @@ export type BuilderBuildError = BuilderBuildErrors[keyof BuilderBuildErrors];
|
|
|
6200
6757
|
export type BuilderBuildResponses = {
|
|
6201
6758
|
/**
|
|
6202
6759
|
* Response Builder Build
|
|
6760
|
+
*
|
|
6203
6761
|
* Successful Response
|
|
6204
6762
|
*/
|
|
6205
6763
|
200: boolean;
|
|
@@ -6219,7 +6777,7 @@ export type GetAgentBuilderData = {
|
|
|
6219
6777
|
*/
|
|
6220
6778
|
file_path?: string | null;
|
|
6221
6779
|
};
|
|
6222
|
-
url:
|
|
6780
|
+
url: '/builder/app/{app_name}';
|
|
6223
6781
|
};
|
|
6224
6782
|
export type GetAgentBuilderErrors = {
|
|
6225
6783
|
/**
|
|
@@ -6239,7 +6797,7 @@ export type ChatAgentGetChatConfigData = {
|
|
|
6239
6797
|
body?: never;
|
|
6240
6798
|
path?: never;
|
|
6241
6799
|
query?: never;
|
|
6242
|
-
url:
|
|
6800
|
+
url: '/api/mtmai/chat/config';
|
|
6243
6801
|
};
|
|
6244
6802
|
export type ChatAgentGetChatConfigResponses = {
|
|
6245
6803
|
/**
|
|
@@ -6252,7 +6810,7 @@ export type ChatAgentUpdateChatConfigData = {
|
|
|
6252
6810
|
body: ChatConfig;
|
|
6253
6811
|
path?: never;
|
|
6254
6812
|
query?: never;
|
|
6255
|
-
url:
|
|
6813
|
+
url: '/api/mtmai/chat/config';
|
|
6256
6814
|
};
|
|
6257
6815
|
export type ChatAgentUpdateChatConfigErrors = {
|
|
6258
6816
|
/**
|
|
@@ -6272,7 +6830,7 @@ export type ChatAgentGetProvidersData = {
|
|
|
6272
6830
|
body?: never;
|
|
6273
6831
|
path?: never;
|
|
6274
6832
|
query?: never;
|
|
6275
|
-
url:
|
|
6833
|
+
url: '/api/mtmai/chat/providers';
|
|
6276
6834
|
};
|
|
6277
6835
|
export type ChatAgentGetProvidersResponses = {
|
|
6278
6836
|
/**
|
|
@@ -6289,7 +6847,7 @@ export type ChatAgentValidateApiKeyData = {
|
|
|
6289
6847
|
};
|
|
6290
6848
|
path?: never;
|
|
6291
6849
|
query?: never;
|
|
6292
|
-
url:
|
|
6850
|
+
url: '/api/mtmai/chat/validate-key';
|
|
6293
6851
|
};
|
|
6294
6852
|
export type ChatAgentValidateApiKeyErrors = {
|
|
6295
6853
|
/**
|
|
@@ -6308,7 +6866,7 @@ export type ChatAgentExportConfigData = {
|
|
|
6308
6866
|
body?: never;
|
|
6309
6867
|
path?: never;
|
|
6310
6868
|
query?: never;
|
|
6311
|
-
url:
|
|
6869
|
+
url: '/api/mtmai/chat/export';
|
|
6312
6870
|
};
|
|
6313
6871
|
export type ChatAgentExportConfigResponses = {
|
|
6314
6872
|
/**
|
|
@@ -6325,7 +6883,7 @@ export type ChatAgentImportConfigData = {
|
|
|
6325
6883
|
};
|
|
6326
6884
|
path?: never;
|
|
6327
6885
|
query?: never;
|
|
6328
|
-
url:
|
|
6886
|
+
url: '/api/mtmai/chat/import';
|
|
6329
6887
|
};
|
|
6330
6888
|
export type ChatAgentImportConfigErrors = {
|
|
6331
6889
|
/**
|
|
@@ -6344,7 +6902,7 @@ export type ChatAgentChatData = {
|
|
|
6344
6902
|
body: ChatRequest;
|
|
6345
6903
|
path?: never;
|
|
6346
6904
|
query?: never;
|
|
6347
|
-
url:
|
|
6905
|
+
url: '/api/mtmai/chat/chat';
|
|
6348
6906
|
};
|
|
6349
6907
|
export type ChatAgentChatErrors = {
|
|
6350
6908
|
/**
|
|
@@ -6373,7 +6931,7 @@ export type ListItemsData = {
|
|
|
6373
6931
|
*/
|
|
6374
6932
|
limit?: number;
|
|
6375
6933
|
};
|
|
6376
|
-
url:
|
|
6934
|
+
url: '/items/';
|
|
6377
6935
|
};
|
|
6378
6936
|
export type ListItemsErrors = {
|
|
6379
6937
|
/**
|
|
@@ -6385,6 +6943,7 @@ export type ListItemsError = ListItemsErrors[keyof ListItemsErrors];
|
|
|
6385
6943
|
export type ListItemsResponses = {
|
|
6386
6944
|
/**
|
|
6387
6945
|
* Response List Items
|
|
6946
|
+
*
|
|
6388
6947
|
* Successful Response
|
|
6389
6948
|
*/
|
|
6390
6949
|
200: Array<Item>;
|
|
@@ -6394,7 +6953,7 @@ export type CreateItemData = {
|
|
|
6394
6953
|
body: Item;
|
|
6395
6954
|
path?: never;
|
|
6396
6955
|
query?: never;
|
|
6397
|
-
url:
|
|
6956
|
+
url: '/items/';
|
|
6398
6957
|
};
|
|
6399
6958
|
export type CreateItemErrors = {
|
|
6400
6959
|
/**
|
|
@@ -6419,7 +6978,7 @@ export type DeleteItemData = {
|
|
|
6419
6978
|
item_id: number;
|
|
6420
6979
|
};
|
|
6421
6980
|
query?: never;
|
|
6422
|
-
url:
|
|
6981
|
+
url: '/items/{item_id}';
|
|
6423
6982
|
};
|
|
6424
6983
|
export type DeleteItemErrors = {
|
|
6425
6984
|
/**
|
|
@@ -6443,7 +7002,7 @@ export type GetItemData = {
|
|
|
6443
7002
|
item_id: number;
|
|
6444
7003
|
};
|
|
6445
7004
|
query?: never;
|
|
6446
|
-
url:
|
|
7005
|
+
url: '/items/{item_id}';
|
|
6447
7006
|
};
|
|
6448
7007
|
export type GetItemErrors = {
|
|
6449
7008
|
/**
|
|
@@ -6468,7 +7027,7 @@ export type UpdateItemData = {
|
|
|
6468
7027
|
item_id: number;
|
|
6469
7028
|
};
|
|
6470
7029
|
query?: never;
|
|
6471
|
-
url:
|
|
7030
|
+
url: '/items/{item_id}';
|
|
6472
7031
|
};
|
|
6473
7032
|
export type UpdateItemErrors = {
|
|
6474
7033
|
/**
|
|
@@ -6490,26 +7049,30 @@ export type SearchItemsData = {
|
|
|
6490
7049
|
query?: {
|
|
6491
7050
|
/**
|
|
6492
7051
|
* Q
|
|
7052
|
+
*
|
|
6493
7053
|
* Search query string
|
|
6494
7054
|
*/
|
|
6495
7055
|
q?: string | null;
|
|
6496
7056
|
/**
|
|
6497
7057
|
* Min Price
|
|
7058
|
+
*
|
|
6498
7059
|
* Minimum price
|
|
6499
7060
|
*/
|
|
6500
7061
|
min_price?: number | null;
|
|
6501
7062
|
/**
|
|
6502
7063
|
* Max Price
|
|
7064
|
+
*
|
|
6503
7065
|
* Maximum price
|
|
6504
7066
|
*/
|
|
6505
7067
|
max_price?: number | null;
|
|
6506
7068
|
/**
|
|
6507
7069
|
* Tags
|
|
7070
|
+
*
|
|
6508
7071
|
* Filter by tags
|
|
6509
7072
|
*/
|
|
6510
7073
|
tags?: Array<string>;
|
|
6511
7074
|
};
|
|
6512
|
-
url:
|
|
7075
|
+
url: '/items/search/';
|
|
6513
7076
|
};
|
|
6514
7077
|
export type SearchItemsErrors = {
|
|
6515
7078
|
/**
|
|
@@ -6521,6 +7084,7 @@ export type SearchItemsError = SearchItemsErrors[keyof SearchItemsErrors];
|
|
|
6521
7084
|
export type SearchItemsResponses = {
|
|
6522
7085
|
/**
|
|
6523
7086
|
* Response Search Items
|
|
7087
|
+
*
|
|
6524
7088
|
* Successful Response
|
|
6525
7089
|
*/
|
|
6526
7090
|
200: Array<Item>;
|
|
@@ -6530,7 +7094,7 @@ export type AgentsAgentrunData = {
|
|
|
6530
7094
|
body: RunAgentRequest;
|
|
6531
7095
|
path?: never;
|
|
6532
7096
|
query?: never;
|
|
6533
|
-
url:
|
|
7097
|
+
url: '/api/mtmai/agents/agent_run';
|
|
6534
7098
|
};
|
|
6535
7099
|
export type AgentsAgentrunErrors = {
|
|
6536
7100
|
/**
|
|
@@ -6549,7 +7113,7 @@ export type SandboxStartNapcatSandboxData = {
|
|
|
6549
7113
|
body: StartNapcatRequest;
|
|
6550
7114
|
path?: never;
|
|
6551
7115
|
query?: never;
|
|
6552
|
-
url:
|
|
7116
|
+
url: '/api/mtmai/sandbox/';
|
|
6553
7117
|
};
|
|
6554
7118
|
export type SandboxStartNapcatSandboxErrors = {
|
|
6555
7119
|
/**
|
|
@@ -6569,7 +7133,7 @@ export type SandboxCheckSandboxStatusData = {
|
|
|
6569
7133
|
body: CheckSandboxStatusRequest;
|
|
6570
7134
|
path?: never;
|
|
6571
7135
|
query?: never;
|
|
6572
|
-
url:
|
|
7136
|
+
url: '/api/mtmai/sandbox/check-status';
|
|
6573
7137
|
};
|
|
6574
7138
|
export type SandboxCheckSandboxStatusErrors = {
|
|
6575
7139
|
/**
|