@orq-ai/node 3.14.39 → 3.14.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/mcp-server.js +698 -1503
- package/bin/mcp-server.js.map +56 -56
- package/docs/sdks/agents/README.md +71 -71
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.js +1 -1
- package/funcs/agentsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/operations/createagent.d.ts +80 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +70 -7
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -563
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +33 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +40 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +36 -3
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +36 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -7
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagent.ts +38 -23
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1 -7
- package/packages/orq-rc/src/models/operations/createprompt.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +21 -15
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +21 -15
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +21 -15
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +14 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +12 -8
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +12 -8
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
- package/packages/orq-rc/src/models/operations/updateagent.ts +35 -23
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updateprompt.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
- package/sdk/agents.d.ts +7 -7
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/operations/createagent.ts +129 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1108
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +62 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +67 -0
- package/src/models/operations/listagenttasks.ts +66 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +9 -9
- package/src/models/operations/listpromptversions.ts +30 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +64 -0
- package/src/models/operations/streamrunagent.ts +66 -0
- package/src/models/operations/updateagent.ts +131 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +10 -10
- package/src/sdk/agents.ts +17 -17
|
@@ -9,183 +9,11 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const Model23 = {
|
|
13
|
-
JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
|
|
14
|
-
} as const;
|
|
15
|
-
export type Model23 = ClosedEnum<typeof Model23>;
|
|
16
|
-
|
|
17
|
-
export const Model22 = {
|
|
18
|
-
JinaJinaClipV2: "jina/jina-clip-v2",
|
|
19
|
-
} as const;
|
|
20
|
-
export type Model22 = ClosedEnum<typeof Model22>;
|
|
21
|
-
|
|
22
|
-
export const Model21 = {
|
|
23
|
-
JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
|
|
24
|
-
} as const;
|
|
25
|
-
export type Model21 = ClosedEnum<typeof Model21>;
|
|
26
|
-
|
|
27
|
-
export const Model20 = {
|
|
28
|
-
JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
|
|
29
|
-
} as const;
|
|
30
|
-
export type Model20 = ClosedEnum<typeof Model20>;
|
|
31
|
-
|
|
32
|
-
export const Model19 = {
|
|
33
|
-
JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
|
|
34
|
-
} as const;
|
|
35
|
-
export type Model19 = ClosedEnum<typeof Model19>;
|
|
36
|
-
|
|
37
|
-
export const Model18 = {
|
|
38
|
-
JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
|
|
39
|
-
} as const;
|
|
40
|
-
export type Model18 = ClosedEnum<typeof Model18>;
|
|
41
|
-
|
|
42
|
-
export const Model17 = {
|
|
43
|
-
JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
|
|
44
|
-
} as const;
|
|
45
|
-
export type Model17 = ClosedEnum<typeof Model17>;
|
|
46
|
-
|
|
47
|
-
export const Model16 = {
|
|
48
|
-
JinaJinaClipV1: "jina/jina-clip-v1",
|
|
49
|
-
} as const;
|
|
50
|
-
export type Model16 = ClosedEnum<typeof Model16>;
|
|
51
|
-
|
|
52
|
-
export const Model15 = {
|
|
53
|
-
MistralMistralEmbed: "mistral/mistral-embed",
|
|
54
|
-
} as const;
|
|
55
|
-
export type Model15 = ClosedEnum<typeof Model15>;
|
|
56
|
-
|
|
57
|
-
export const Model14 = {
|
|
58
|
-
GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
|
|
59
|
-
} as const;
|
|
60
|
-
export type Model14 = ClosedEnum<typeof Model14>;
|
|
61
|
-
|
|
62
|
-
export const Model13 = {
|
|
63
|
-
GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
|
|
64
|
-
} as const;
|
|
65
|
-
export type Model13 = ClosedEnum<typeof Model13>;
|
|
66
|
-
|
|
67
|
-
export const Model12 = {
|
|
68
|
-
GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
|
|
69
|
-
} as const;
|
|
70
|
-
export type Model12 = ClosedEnum<typeof Model12>;
|
|
71
|
-
|
|
72
|
-
export const Model11 = {
|
|
73
|
-
GoogleGeminiEmbedding001: "google/gemini-embedding-001",
|
|
74
|
-
} as const;
|
|
75
|
-
export type Model11 = ClosedEnum<typeof Model11>;
|
|
76
|
-
|
|
77
|
-
export const Model10 = {
|
|
78
|
-
OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
|
|
79
|
-
} as const;
|
|
80
|
-
export type Model10 = ClosedEnum<typeof Model10>;
|
|
81
|
-
|
|
82
|
-
export const Model9 = {
|
|
83
|
-
OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
|
|
84
|
-
} as const;
|
|
85
|
-
export type Model9 = ClosedEnum<typeof Model9>;
|
|
86
|
-
|
|
87
|
-
export const Model8 = {
|
|
88
|
-
OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
|
|
89
|
-
} as const;
|
|
90
|
-
export type Model8 = ClosedEnum<typeof Model8>;
|
|
91
|
-
|
|
92
|
-
export const Model7 = {
|
|
93
|
-
AzureTextEmbedding3Small: "azure/text-embedding-3-small",
|
|
94
|
-
} as const;
|
|
95
|
-
export type Model7 = ClosedEnum<typeof Model7>;
|
|
96
|
-
|
|
97
|
-
export const UpdateMemoryStoreModel6 = {
|
|
98
|
-
AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
|
|
99
|
-
} as const;
|
|
100
|
-
export type UpdateMemoryStoreModel6 = ClosedEnum<
|
|
101
|
-
typeof UpdateMemoryStoreModel6
|
|
102
|
-
>;
|
|
103
|
-
|
|
104
|
-
export const UpdateMemoryStoreModel5 = {
|
|
105
|
-
CohereEmbedV40: "cohere/embed-v4.0",
|
|
106
|
-
} as const;
|
|
107
|
-
export type UpdateMemoryStoreModel5 = ClosedEnum<
|
|
108
|
-
typeof UpdateMemoryStoreModel5
|
|
109
|
-
>;
|
|
110
|
-
|
|
111
|
-
export const UpdateMemoryStoreModel4 = {
|
|
112
|
-
CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
|
|
113
|
-
} as const;
|
|
114
|
-
export type UpdateMemoryStoreModel4 = ClosedEnum<
|
|
115
|
-
typeof UpdateMemoryStoreModel4
|
|
116
|
-
>;
|
|
117
|
-
|
|
118
|
-
export const UpdateMemoryStoreModel3 = {
|
|
119
|
-
CohereEmbedEnglishLightV30: "cohere/embed-english-light-v3.0",
|
|
120
|
-
} as const;
|
|
121
|
-
export type UpdateMemoryStoreModel3 = ClosedEnum<
|
|
122
|
-
typeof UpdateMemoryStoreModel3
|
|
123
|
-
>;
|
|
124
|
-
|
|
125
|
-
export const UpdateMemoryStoreModel2 = {
|
|
126
|
-
CohereEmbedMultilingualLightV30: "cohere/embed-multilingual-light-v3.0",
|
|
127
|
-
} as const;
|
|
128
|
-
export type UpdateMemoryStoreModel2 = ClosedEnum<
|
|
129
|
-
typeof UpdateMemoryStoreModel2
|
|
130
|
-
>;
|
|
131
|
-
|
|
132
|
-
export const UpdateMemoryStoreModel1 = {
|
|
133
|
-
CohereEmbedMultilingualV30: "cohere/embed-multilingual-v3.0",
|
|
134
|
-
} as const;
|
|
135
|
-
export type UpdateMemoryStoreModel1 = ClosedEnum<
|
|
136
|
-
typeof UpdateMemoryStoreModel1
|
|
137
|
-
>;
|
|
138
|
-
|
|
139
|
-
export type UpdateMemoryStoreModel =
|
|
140
|
-
| UpdateMemoryStoreModel1
|
|
141
|
-
| UpdateMemoryStoreModel2
|
|
142
|
-
| UpdateMemoryStoreModel3
|
|
143
|
-
| UpdateMemoryStoreModel4
|
|
144
|
-
| UpdateMemoryStoreModel5
|
|
145
|
-
| UpdateMemoryStoreModel6
|
|
146
|
-
| Model7
|
|
147
|
-
| Model8
|
|
148
|
-
| Model9
|
|
149
|
-
| Model10
|
|
150
|
-
| Model11
|
|
151
|
-
| Model12
|
|
152
|
-
| Model13
|
|
153
|
-
| Model14
|
|
154
|
-
| Model15
|
|
155
|
-
| Model16
|
|
156
|
-
| Model17
|
|
157
|
-
| Model18
|
|
158
|
-
| Model19
|
|
159
|
-
| Model20
|
|
160
|
-
| Model21
|
|
161
|
-
| Model22
|
|
162
|
-
| Model23;
|
|
163
|
-
|
|
164
12
|
export type UpdateMemoryStoreEmbeddingConfig = {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
| UpdateMemoryStoreModel4
|
|
170
|
-
| UpdateMemoryStoreModel5
|
|
171
|
-
| UpdateMemoryStoreModel6
|
|
172
|
-
| Model7
|
|
173
|
-
| Model8
|
|
174
|
-
| Model9
|
|
175
|
-
| Model10
|
|
176
|
-
| Model11
|
|
177
|
-
| Model12
|
|
178
|
-
| Model13
|
|
179
|
-
| Model14
|
|
180
|
-
| Model15
|
|
181
|
-
| Model16
|
|
182
|
-
| Model17
|
|
183
|
-
| Model18
|
|
184
|
-
| Model19
|
|
185
|
-
| Model20
|
|
186
|
-
| Model21
|
|
187
|
-
| Model22
|
|
188
|
-
| Model23;
|
|
13
|
+
/**
|
|
14
|
+
* The embeddings model to use for the knowledge base in the format "provider/model" for public models or "workspaceKey@provider/model" for private workspace models. This model will be used to embed the chunks when they are added to the knowledge base. Refer to the (Supported models)[/docs/proxy/supported-models] to browse available models.
|
|
15
|
+
*/
|
|
16
|
+
model: string;
|
|
189
17
|
};
|
|
190
18
|
|
|
191
19
|
export type UpdateMemoryStoreRequestBody = {
|
|
@@ -309,341 +137,17 @@ export type UpdateMemoryStoreResponseBody = {
|
|
|
309
137
|
embeddingConfig: UpdateMemoryStoreMemoryStoresEmbeddingConfig;
|
|
310
138
|
};
|
|
311
139
|
|
|
312
|
-
/** @internal */
|
|
313
|
-
export const Model23$inboundSchema: z.ZodNativeEnum<typeof Model23> = z
|
|
314
|
-
.nativeEnum(Model23);
|
|
315
|
-
/** @internal */
|
|
316
|
-
export const Model23$outboundSchema: z.ZodNativeEnum<typeof Model23> =
|
|
317
|
-
Model23$inboundSchema;
|
|
318
|
-
|
|
319
|
-
/** @internal */
|
|
320
|
-
export const Model22$inboundSchema: z.ZodNativeEnum<typeof Model22> = z
|
|
321
|
-
.nativeEnum(Model22);
|
|
322
|
-
/** @internal */
|
|
323
|
-
export const Model22$outboundSchema: z.ZodNativeEnum<typeof Model22> =
|
|
324
|
-
Model22$inboundSchema;
|
|
325
|
-
|
|
326
|
-
/** @internal */
|
|
327
|
-
export const Model21$inboundSchema: z.ZodNativeEnum<typeof Model21> = z
|
|
328
|
-
.nativeEnum(Model21);
|
|
329
|
-
/** @internal */
|
|
330
|
-
export const Model21$outboundSchema: z.ZodNativeEnum<typeof Model21> =
|
|
331
|
-
Model21$inboundSchema;
|
|
332
|
-
|
|
333
|
-
/** @internal */
|
|
334
|
-
export const Model20$inboundSchema: z.ZodNativeEnum<typeof Model20> = z
|
|
335
|
-
.nativeEnum(Model20);
|
|
336
|
-
/** @internal */
|
|
337
|
-
export const Model20$outboundSchema: z.ZodNativeEnum<typeof Model20> =
|
|
338
|
-
Model20$inboundSchema;
|
|
339
|
-
|
|
340
|
-
/** @internal */
|
|
341
|
-
export const Model19$inboundSchema: z.ZodNativeEnum<typeof Model19> = z
|
|
342
|
-
.nativeEnum(Model19);
|
|
343
|
-
/** @internal */
|
|
344
|
-
export const Model19$outboundSchema: z.ZodNativeEnum<typeof Model19> =
|
|
345
|
-
Model19$inboundSchema;
|
|
346
|
-
|
|
347
|
-
/** @internal */
|
|
348
|
-
export const Model18$inboundSchema: z.ZodNativeEnum<typeof Model18> = z
|
|
349
|
-
.nativeEnum(Model18);
|
|
350
|
-
/** @internal */
|
|
351
|
-
export const Model18$outboundSchema: z.ZodNativeEnum<typeof Model18> =
|
|
352
|
-
Model18$inboundSchema;
|
|
353
|
-
|
|
354
|
-
/** @internal */
|
|
355
|
-
export const Model17$inboundSchema: z.ZodNativeEnum<typeof Model17> = z
|
|
356
|
-
.nativeEnum(Model17);
|
|
357
|
-
/** @internal */
|
|
358
|
-
export const Model17$outboundSchema: z.ZodNativeEnum<typeof Model17> =
|
|
359
|
-
Model17$inboundSchema;
|
|
360
|
-
|
|
361
|
-
/** @internal */
|
|
362
|
-
export const Model16$inboundSchema: z.ZodNativeEnum<typeof Model16> = z
|
|
363
|
-
.nativeEnum(Model16);
|
|
364
|
-
/** @internal */
|
|
365
|
-
export const Model16$outboundSchema: z.ZodNativeEnum<typeof Model16> =
|
|
366
|
-
Model16$inboundSchema;
|
|
367
|
-
|
|
368
|
-
/** @internal */
|
|
369
|
-
export const Model15$inboundSchema: z.ZodNativeEnum<typeof Model15> = z
|
|
370
|
-
.nativeEnum(Model15);
|
|
371
|
-
/** @internal */
|
|
372
|
-
export const Model15$outboundSchema: z.ZodNativeEnum<typeof Model15> =
|
|
373
|
-
Model15$inboundSchema;
|
|
374
|
-
|
|
375
|
-
/** @internal */
|
|
376
|
-
export const Model14$inboundSchema: z.ZodNativeEnum<typeof Model14> = z
|
|
377
|
-
.nativeEnum(Model14);
|
|
378
|
-
/** @internal */
|
|
379
|
-
export const Model14$outboundSchema: z.ZodNativeEnum<typeof Model14> =
|
|
380
|
-
Model14$inboundSchema;
|
|
381
|
-
|
|
382
|
-
/** @internal */
|
|
383
|
-
export const Model13$inboundSchema: z.ZodNativeEnum<typeof Model13> = z
|
|
384
|
-
.nativeEnum(Model13);
|
|
385
|
-
/** @internal */
|
|
386
|
-
export const Model13$outboundSchema: z.ZodNativeEnum<typeof Model13> =
|
|
387
|
-
Model13$inboundSchema;
|
|
388
|
-
|
|
389
|
-
/** @internal */
|
|
390
|
-
export const Model12$inboundSchema: z.ZodNativeEnum<typeof Model12> = z
|
|
391
|
-
.nativeEnum(Model12);
|
|
392
|
-
/** @internal */
|
|
393
|
-
export const Model12$outboundSchema: z.ZodNativeEnum<typeof Model12> =
|
|
394
|
-
Model12$inboundSchema;
|
|
395
|
-
|
|
396
|
-
/** @internal */
|
|
397
|
-
export const Model11$inboundSchema: z.ZodNativeEnum<typeof Model11> = z
|
|
398
|
-
.nativeEnum(Model11);
|
|
399
|
-
/** @internal */
|
|
400
|
-
export const Model11$outboundSchema: z.ZodNativeEnum<typeof Model11> =
|
|
401
|
-
Model11$inboundSchema;
|
|
402
|
-
|
|
403
|
-
/** @internal */
|
|
404
|
-
export const Model10$inboundSchema: z.ZodNativeEnum<typeof Model10> = z
|
|
405
|
-
.nativeEnum(Model10);
|
|
406
|
-
/** @internal */
|
|
407
|
-
export const Model10$outboundSchema: z.ZodNativeEnum<typeof Model10> =
|
|
408
|
-
Model10$inboundSchema;
|
|
409
|
-
|
|
410
|
-
/** @internal */
|
|
411
|
-
export const Model9$inboundSchema: z.ZodNativeEnum<typeof Model9> = z
|
|
412
|
-
.nativeEnum(Model9);
|
|
413
|
-
/** @internal */
|
|
414
|
-
export const Model9$outboundSchema: z.ZodNativeEnum<typeof Model9> =
|
|
415
|
-
Model9$inboundSchema;
|
|
416
|
-
|
|
417
|
-
/** @internal */
|
|
418
|
-
export const Model8$inboundSchema: z.ZodNativeEnum<typeof Model8> = z
|
|
419
|
-
.nativeEnum(Model8);
|
|
420
|
-
/** @internal */
|
|
421
|
-
export const Model8$outboundSchema: z.ZodNativeEnum<typeof Model8> =
|
|
422
|
-
Model8$inboundSchema;
|
|
423
|
-
|
|
424
|
-
/** @internal */
|
|
425
|
-
export const Model7$inboundSchema: z.ZodNativeEnum<typeof Model7> = z
|
|
426
|
-
.nativeEnum(Model7);
|
|
427
|
-
/** @internal */
|
|
428
|
-
export const Model7$outboundSchema: z.ZodNativeEnum<typeof Model7> =
|
|
429
|
-
Model7$inboundSchema;
|
|
430
|
-
|
|
431
|
-
/** @internal */
|
|
432
|
-
export const UpdateMemoryStoreModel6$inboundSchema: z.ZodNativeEnum<
|
|
433
|
-
typeof UpdateMemoryStoreModel6
|
|
434
|
-
> = z.nativeEnum(UpdateMemoryStoreModel6);
|
|
435
|
-
/** @internal */
|
|
436
|
-
export const UpdateMemoryStoreModel6$outboundSchema: z.ZodNativeEnum<
|
|
437
|
-
typeof UpdateMemoryStoreModel6
|
|
438
|
-
> = UpdateMemoryStoreModel6$inboundSchema;
|
|
439
|
-
|
|
440
|
-
/** @internal */
|
|
441
|
-
export const UpdateMemoryStoreModel5$inboundSchema: z.ZodNativeEnum<
|
|
442
|
-
typeof UpdateMemoryStoreModel5
|
|
443
|
-
> = z.nativeEnum(UpdateMemoryStoreModel5);
|
|
444
|
-
/** @internal */
|
|
445
|
-
export const UpdateMemoryStoreModel5$outboundSchema: z.ZodNativeEnum<
|
|
446
|
-
typeof UpdateMemoryStoreModel5
|
|
447
|
-
> = UpdateMemoryStoreModel5$inboundSchema;
|
|
448
|
-
|
|
449
|
-
/** @internal */
|
|
450
|
-
export const UpdateMemoryStoreModel4$inboundSchema: z.ZodNativeEnum<
|
|
451
|
-
typeof UpdateMemoryStoreModel4
|
|
452
|
-
> = z.nativeEnum(UpdateMemoryStoreModel4);
|
|
453
|
-
/** @internal */
|
|
454
|
-
export const UpdateMemoryStoreModel4$outboundSchema: z.ZodNativeEnum<
|
|
455
|
-
typeof UpdateMemoryStoreModel4
|
|
456
|
-
> = UpdateMemoryStoreModel4$inboundSchema;
|
|
457
|
-
|
|
458
|
-
/** @internal */
|
|
459
|
-
export const UpdateMemoryStoreModel3$inboundSchema: z.ZodNativeEnum<
|
|
460
|
-
typeof UpdateMemoryStoreModel3
|
|
461
|
-
> = z.nativeEnum(UpdateMemoryStoreModel3);
|
|
462
|
-
/** @internal */
|
|
463
|
-
export const UpdateMemoryStoreModel3$outboundSchema: z.ZodNativeEnum<
|
|
464
|
-
typeof UpdateMemoryStoreModel3
|
|
465
|
-
> = UpdateMemoryStoreModel3$inboundSchema;
|
|
466
|
-
|
|
467
|
-
/** @internal */
|
|
468
|
-
export const UpdateMemoryStoreModel2$inboundSchema: z.ZodNativeEnum<
|
|
469
|
-
typeof UpdateMemoryStoreModel2
|
|
470
|
-
> = z.nativeEnum(UpdateMemoryStoreModel2);
|
|
471
|
-
/** @internal */
|
|
472
|
-
export const UpdateMemoryStoreModel2$outboundSchema: z.ZodNativeEnum<
|
|
473
|
-
typeof UpdateMemoryStoreModel2
|
|
474
|
-
> = UpdateMemoryStoreModel2$inboundSchema;
|
|
475
|
-
|
|
476
|
-
/** @internal */
|
|
477
|
-
export const UpdateMemoryStoreModel1$inboundSchema: z.ZodNativeEnum<
|
|
478
|
-
typeof UpdateMemoryStoreModel1
|
|
479
|
-
> = z.nativeEnum(UpdateMemoryStoreModel1);
|
|
480
|
-
/** @internal */
|
|
481
|
-
export const UpdateMemoryStoreModel1$outboundSchema: z.ZodNativeEnum<
|
|
482
|
-
typeof UpdateMemoryStoreModel1
|
|
483
|
-
> = UpdateMemoryStoreModel1$inboundSchema;
|
|
484
|
-
|
|
485
|
-
/** @internal */
|
|
486
|
-
export const UpdateMemoryStoreModel$inboundSchema: z.ZodType<
|
|
487
|
-
UpdateMemoryStoreModel,
|
|
488
|
-
z.ZodTypeDef,
|
|
489
|
-
unknown
|
|
490
|
-
> = z.union([
|
|
491
|
-
UpdateMemoryStoreModel1$inboundSchema,
|
|
492
|
-
UpdateMemoryStoreModel2$inboundSchema,
|
|
493
|
-
UpdateMemoryStoreModel3$inboundSchema,
|
|
494
|
-
UpdateMemoryStoreModel4$inboundSchema,
|
|
495
|
-
UpdateMemoryStoreModel5$inboundSchema,
|
|
496
|
-
UpdateMemoryStoreModel6$inboundSchema,
|
|
497
|
-
Model7$inboundSchema,
|
|
498
|
-
Model8$inboundSchema,
|
|
499
|
-
Model9$inboundSchema,
|
|
500
|
-
Model10$inboundSchema,
|
|
501
|
-
Model11$inboundSchema,
|
|
502
|
-
Model12$inboundSchema,
|
|
503
|
-
Model13$inboundSchema,
|
|
504
|
-
Model14$inboundSchema,
|
|
505
|
-
Model15$inboundSchema,
|
|
506
|
-
Model16$inboundSchema,
|
|
507
|
-
Model17$inboundSchema,
|
|
508
|
-
Model18$inboundSchema,
|
|
509
|
-
Model19$inboundSchema,
|
|
510
|
-
Model20$inboundSchema,
|
|
511
|
-
Model21$inboundSchema,
|
|
512
|
-
Model22$inboundSchema,
|
|
513
|
-
Model23$inboundSchema,
|
|
514
|
-
]);
|
|
515
|
-
/** @internal */
|
|
516
|
-
export type UpdateMemoryStoreModel$Outbound =
|
|
517
|
-
| string
|
|
518
|
-
| string
|
|
519
|
-
| string
|
|
520
|
-
| string
|
|
521
|
-
| string
|
|
522
|
-
| string
|
|
523
|
-
| string
|
|
524
|
-
| string
|
|
525
|
-
| string
|
|
526
|
-
| string
|
|
527
|
-
| string
|
|
528
|
-
| string
|
|
529
|
-
| string
|
|
530
|
-
| string
|
|
531
|
-
| string
|
|
532
|
-
| string
|
|
533
|
-
| string
|
|
534
|
-
| string
|
|
535
|
-
| string
|
|
536
|
-
| string
|
|
537
|
-
| string
|
|
538
|
-
| string
|
|
539
|
-
| string;
|
|
540
|
-
|
|
541
|
-
/** @internal */
|
|
542
|
-
export const UpdateMemoryStoreModel$outboundSchema: z.ZodType<
|
|
543
|
-
UpdateMemoryStoreModel$Outbound,
|
|
544
|
-
z.ZodTypeDef,
|
|
545
|
-
UpdateMemoryStoreModel
|
|
546
|
-
> = z.union([
|
|
547
|
-
UpdateMemoryStoreModel1$outboundSchema,
|
|
548
|
-
UpdateMemoryStoreModel2$outboundSchema,
|
|
549
|
-
UpdateMemoryStoreModel3$outboundSchema,
|
|
550
|
-
UpdateMemoryStoreModel4$outboundSchema,
|
|
551
|
-
UpdateMemoryStoreModel5$outboundSchema,
|
|
552
|
-
UpdateMemoryStoreModel6$outboundSchema,
|
|
553
|
-
Model7$outboundSchema,
|
|
554
|
-
Model8$outboundSchema,
|
|
555
|
-
Model9$outboundSchema,
|
|
556
|
-
Model10$outboundSchema,
|
|
557
|
-
Model11$outboundSchema,
|
|
558
|
-
Model12$outboundSchema,
|
|
559
|
-
Model13$outboundSchema,
|
|
560
|
-
Model14$outboundSchema,
|
|
561
|
-
Model15$outboundSchema,
|
|
562
|
-
Model16$outboundSchema,
|
|
563
|
-
Model17$outboundSchema,
|
|
564
|
-
Model18$outboundSchema,
|
|
565
|
-
Model19$outboundSchema,
|
|
566
|
-
Model20$outboundSchema,
|
|
567
|
-
Model21$outboundSchema,
|
|
568
|
-
Model22$outboundSchema,
|
|
569
|
-
Model23$outboundSchema,
|
|
570
|
-
]);
|
|
571
|
-
|
|
572
|
-
export function updateMemoryStoreModelToJSON(
|
|
573
|
-
updateMemoryStoreModel: UpdateMemoryStoreModel,
|
|
574
|
-
): string {
|
|
575
|
-
return JSON.stringify(
|
|
576
|
-
UpdateMemoryStoreModel$outboundSchema.parse(updateMemoryStoreModel),
|
|
577
|
-
);
|
|
578
|
-
}
|
|
579
|
-
export function updateMemoryStoreModelFromJSON(
|
|
580
|
-
jsonString: string,
|
|
581
|
-
): SafeParseResult<UpdateMemoryStoreModel, SDKValidationError> {
|
|
582
|
-
return safeParse(
|
|
583
|
-
jsonString,
|
|
584
|
-
(x) => UpdateMemoryStoreModel$inboundSchema.parse(JSON.parse(x)),
|
|
585
|
-
`Failed to parse 'UpdateMemoryStoreModel' from JSON`,
|
|
586
|
-
);
|
|
587
|
-
}
|
|
588
|
-
|
|
589
140
|
/** @internal */
|
|
590
141
|
export const UpdateMemoryStoreEmbeddingConfig$inboundSchema: z.ZodType<
|
|
591
142
|
UpdateMemoryStoreEmbeddingConfig,
|
|
592
143
|
z.ZodTypeDef,
|
|
593
144
|
unknown
|
|
594
145
|
> = z.object({
|
|
595
|
-
model: z.
|
|
596
|
-
UpdateMemoryStoreModel1$inboundSchema,
|
|
597
|
-
UpdateMemoryStoreModel2$inboundSchema,
|
|
598
|
-
UpdateMemoryStoreModel3$inboundSchema,
|
|
599
|
-
UpdateMemoryStoreModel4$inboundSchema,
|
|
600
|
-
UpdateMemoryStoreModel5$inboundSchema,
|
|
601
|
-
UpdateMemoryStoreModel6$inboundSchema,
|
|
602
|
-
Model7$inboundSchema,
|
|
603
|
-
Model8$inboundSchema,
|
|
604
|
-
Model9$inboundSchema,
|
|
605
|
-
Model10$inboundSchema,
|
|
606
|
-
Model11$inboundSchema,
|
|
607
|
-
Model12$inboundSchema,
|
|
608
|
-
Model13$inboundSchema,
|
|
609
|
-
Model14$inboundSchema,
|
|
610
|
-
Model15$inboundSchema,
|
|
611
|
-
Model16$inboundSchema,
|
|
612
|
-
Model17$inboundSchema,
|
|
613
|
-
Model18$inboundSchema,
|
|
614
|
-
Model19$inboundSchema,
|
|
615
|
-
Model20$inboundSchema,
|
|
616
|
-
Model21$inboundSchema,
|
|
617
|
-
Model22$inboundSchema,
|
|
618
|
-
Model23$inboundSchema,
|
|
619
|
-
]),
|
|
146
|
+
model: z.string(),
|
|
620
147
|
});
|
|
621
148
|
/** @internal */
|
|
622
149
|
export type UpdateMemoryStoreEmbeddingConfig$Outbound = {
|
|
623
|
-
model:
|
|
624
|
-
| string
|
|
625
|
-
| string
|
|
626
|
-
| string
|
|
627
|
-
| string
|
|
628
|
-
| string
|
|
629
|
-
| string
|
|
630
|
-
| string
|
|
631
|
-
| string
|
|
632
|
-
| string
|
|
633
|
-
| string
|
|
634
|
-
| string
|
|
635
|
-
| string
|
|
636
|
-
| string
|
|
637
|
-
| string
|
|
638
|
-
| string
|
|
639
|
-
| string
|
|
640
|
-
| string
|
|
641
|
-
| string
|
|
642
|
-
| string
|
|
643
|
-
| string
|
|
644
|
-
| string
|
|
645
|
-
| string
|
|
646
|
-
| string;
|
|
150
|
+
model: string;
|
|
647
151
|
};
|
|
648
152
|
|
|
649
153
|
/** @internal */
|
|
@@ -652,31 +156,7 @@ export const UpdateMemoryStoreEmbeddingConfig$outboundSchema: z.ZodType<
|
|
|
652
156
|
z.ZodTypeDef,
|
|
653
157
|
UpdateMemoryStoreEmbeddingConfig
|
|
654
158
|
> = z.object({
|
|
655
|
-
model: z.
|
|
656
|
-
UpdateMemoryStoreModel1$outboundSchema,
|
|
657
|
-
UpdateMemoryStoreModel2$outboundSchema,
|
|
658
|
-
UpdateMemoryStoreModel3$outboundSchema,
|
|
659
|
-
UpdateMemoryStoreModel4$outboundSchema,
|
|
660
|
-
UpdateMemoryStoreModel5$outboundSchema,
|
|
661
|
-
UpdateMemoryStoreModel6$outboundSchema,
|
|
662
|
-
Model7$outboundSchema,
|
|
663
|
-
Model8$outboundSchema,
|
|
664
|
-
Model9$outboundSchema,
|
|
665
|
-
Model10$outboundSchema,
|
|
666
|
-
Model11$outboundSchema,
|
|
667
|
-
Model12$outboundSchema,
|
|
668
|
-
Model13$outboundSchema,
|
|
669
|
-
Model14$outboundSchema,
|
|
670
|
-
Model15$outboundSchema,
|
|
671
|
-
Model16$outboundSchema,
|
|
672
|
-
Model17$outboundSchema,
|
|
673
|
-
Model18$outboundSchema,
|
|
674
|
-
Model19$outboundSchema,
|
|
675
|
-
Model20$outboundSchema,
|
|
676
|
-
Model21$outboundSchema,
|
|
677
|
-
Model22$outboundSchema,
|
|
678
|
-
Model23$outboundSchema,
|
|
679
|
-
]),
|
|
159
|
+
model: z.string(),
|
|
680
160
|
});
|
|
681
161
|
|
|
682
162
|
export function updateMemoryStoreEmbeddingConfigToJSON(
|
|
@@ -169,6 +169,20 @@ export const UpdatePromptVerbosity = {
|
|
|
169
169
|
*/
|
|
170
170
|
export type UpdatePromptVerbosity = ClosedEnum<typeof UpdatePromptVerbosity>;
|
|
171
171
|
|
|
172
|
+
/**
|
|
173
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
174
|
+
*/
|
|
175
|
+
export const UpdatePromptThinkingLevel = {
|
|
176
|
+
Low: "low",
|
|
177
|
+
High: "high",
|
|
178
|
+
} as const;
|
|
179
|
+
/**
|
|
180
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
181
|
+
*/
|
|
182
|
+
export type UpdatePromptThinkingLevel = ClosedEnum<
|
|
183
|
+
typeof UpdatePromptThinkingLevel
|
|
184
|
+
>;
|
|
185
|
+
|
|
172
186
|
/**
|
|
173
187
|
* Model Parameters: Not all parameters apply to every model
|
|
174
188
|
*/
|
|
@@ -261,6 +275,10 @@ export type UpdatePromptModelParameters = {
|
|
|
261
275
|
* Controls the verbosity of the model output.
|
|
262
276
|
*/
|
|
263
277
|
verbosity?: UpdatePromptVerbosity | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
280
|
+
*/
|
|
281
|
+
thinkingLevel?: UpdatePromptThinkingLevel | undefined;
|
|
264
282
|
};
|
|
265
283
|
|
|
266
284
|
export const Provider = {
|
|
@@ -1332,6 +1350,20 @@ export type UpdatePromptPromptsVerbosity = ClosedEnum<
|
|
|
1332
1350
|
typeof UpdatePromptPromptsVerbosity
|
|
1333
1351
|
>;
|
|
1334
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1355
|
+
*/
|
|
1356
|
+
export const UpdatePromptPromptsThinkingLevel = {
|
|
1357
|
+
Low: "low",
|
|
1358
|
+
High: "high",
|
|
1359
|
+
} as const;
|
|
1360
|
+
/**
|
|
1361
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1362
|
+
*/
|
|
1363
|
+
export type UpdatePromptPromptsThinkingLevel = ClosedEnum<
|
|
1364
|
+
typeof UpdatePromptPromptsThinkingLevel
|
|
1365
|
+
>;
|
|
1366
|
+
|
|
1335
1367
|
/**
|
|
1336
1368
|
* Model Parameters: Not all parameters apply to every model
|
|
1337
1369
|
*/
|
|
@@ -1424,6 +1456,10 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
1424
1456
|
* Controls the verbosity of the model output.
|
|
1425
1457
|
*/
|
|
1426
1458
|
verbosity?: UpdatePromptPromptsVerbosity | undefined;
|
|
1459
|
+
/**
|
|
1460
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1461
|
+
*/
|
|
1462
|
+
thinkingLevel?: UpdatePromptPromptsThinkingLevel | undefined;
|
|
1427
1463
|
};
|
|
1428
1464
|
|
|
1429
1465
|
export const UpdatePromptProvider = {
|
|
@@ -2064,6 +2100,15 @@ export const UpdatePromptVerbosity$outboundSchema: z.ZodNativeEnum<
|
|
|
2064
2100
|
typeof UpdatePromptVerbosity
|
|
2065
2101
|
> = UpdatePromptVerbosity$inboundSchema;
|
|
2066
2102
|
|
|
2103
|
+
/** @internal */
|
|
2104
|
+
export const UpdatePromptThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
2105
|
+
typeof UpdatePromptThinkingLevel
|
|
2106
|
+
> = z.nativeEnum(UpdatePromptThinkingLevel);
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export const UpdatePromptThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
2109
|
+
typeof UpdatePromptThinkingLevel
|
|
2110
|
+
> = UpdatePromptThinkingLevel$inboundSchema;
|
|
2111
|
+
|
|
2067
2112
|
/** @internal */
|
|
2068
2113
|
export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
2069
2114
|
UpdatePromptModelParameters,
|
|
@@ -2097,6 +2142,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
2097
2142
|
reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
|
|
2098
2143
|
budgetTokens: z.number().optional(),
|
|
2099
2144
|
verbosity: UpdatePromptVerbosity$inboundSchema.optional(),
|
|
2145
|
+
thinkingLevel: UpdatePromptThinkingLevel$inboundSchema.optional(),
|
|
2100
2146
|
}).transform((v) => {
|
|
2101
2147
|
return remap$(v, {
|
|
2102
2148
|
"encoding_format": "encodingFormat",
|
|
@@ -2130,6 +2176,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
2130
2176
|
reasoningEffort?: string | undefined;
|
|
2131
2177
|
budgetTokens?: number | undefined;
|
|
2132
2178
|
verbosity?: string | undefined;
|
|
2179
|
+
thinkingLevel?: string | undefined;
|
|
2133
2180
|
};
|
|
2134
2181
|
|
|
2135
2182
|
/** @internal */
|
|
@@ -2165,6 +2212,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
2165
2212
|
reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
|
|
2166
2213
|
budgetTokens: z.number().optional(),
|
|
2167
2214
|
verbosity: UpdatePromptVerbosity$outboundSchema.optional(),
|
|
2215
|
+
thinkingLevel: UpdatePromptThinkingLevel$outboundSchema.optional(),
|
|
2168
2216
|
}).transform((v) => {
|
|
2169
2217
|
return remap$(v, {
|
|
2170
2218
|
encodingFormat: "encoding_format",
|
|
@@ -5370,6 +5418,15 @@ export const UpdatePromptPromptsVerbosity$outboundSchema: z.ZodNativeEnum<
|
|
|
5370
5418
|
typeof UpdatePromptPromptsVerbosity
|
|
5371
5419
|
> = UpdatePromptPromptsVerbosity$inboundSchema;
|
|
5372
5420
|
|
|
5421
|
+
/** @internal */
|
|
5422
|
+
export const UpdatePromptPromptsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
5423
|
+
typeof UpdatePromptPromptsThinkingLevel
|
|
5424
|
+
> = z.nativeEnum(UpdatePromptPromptsThinkingLevel);
|
|
5425
|
+
/** @internal */
|
|
5426
|
+
export const UpdatePromptPromptsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
5427
|
+
typeof UpdatePromptPromptsThinkingLevel
|
|
5428
|
+
> = UpdatePromptPromptsThinkingLevel$inboundSchema;
|
|
5429
|
+
|
|
5373
5430
|
/** @internal */
|
|
5374
5431
|
export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
5375
5432
|
UpdatePromptPromptsModelParameters,
|
|
@@ -5404,6 +5461,7 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
5404
5461
|
reasoningEffort: UpdatePromptPromptsReasoningEffort$inboundSchema.optional(),
|
|
5405
5462
|
budgetTokens: z.number().optional(),
|
|
5406
5463
|
verbosity: UpdatePromptPromptsVerbosity$inboundSchema.optional(),
|
|
5464
|
+
thinkingLevel: UpdatePromptPromptsThinkingLevel$inboundSchema.optional(),
|
|
5407
5465
|
}).transform((v) => {
|
|
5408
5466
|
return remap$(v, {
|
|
5409
5467
|
"encoding_format": "encodingFormat",
|
|
@@ -5437,6 +5495,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
5437
5495
|
reasoningEffort?: string | undefined;
|
|
5438
5496
|
budgetTokens?: number | undefined;
|
|
5439
5497
|
verbosity?: string | undefined;
|
|
5498
|
+
thinkingLevel?: string | undefined;
|
|
5440
5499
|
};
|
|
5441
5500
|
|
|
5442
5501
|
/** @internal */
|
|
@@ -5473,6 +5532,7 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
5473
5532
|
reasoningEffort: UpdatePromptPromptsReasoningEffort$outboundSchema.optional(),
|
|
5474
5533
|
budgetTokens: z.number().optional(),
|
|
5475
5534
|
verbosity: UpdatePromptPromptsVerbosity$outboundSchema.optional(),
|
|
5535
|
+
thinkingLevel: UpdatePromptPromptsThinkingLevel$outboundSchema.optional(),
|
|
5476
5536
|
}).transform((v) => {
|
|
5477
5537
|
return remap$(v, {
|
|
5478
5538
|
encodingFormat: "encoding_format",
|