syllable-sdk 0.1.0-alpha.55 → 0.1.0-alpha.57
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/docs/sdks/datasources/README.md +4 -4
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/promptcreaterequest.d.ts +1 -1
- package/models/components/promptllmprovider.d.ts +3 -0
- package/models/components/promptllmprovider.d.ts.map +1 -1
- package/models/components/promptllmprovider.js +1 -0
- package/models/components/promptllmprovider.js.map +1 -1
- package/models/components/promptupdaterequest.d.ts +1 -1
- package/openapi.json +8 -6
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/promptcreaterequest.ts +1 -1
- package/src/models/components/promptllmprovider.ts +1 -0
- package/src/models/components/promptupdaterequest.ts +1 -1
|
@@ -107,7 +107,7 @@ async function run() {
|
|
|
107
107
|
"Weather Info",
|
|
108
108
|
],
|
|
109
109
|
chunk: false,
|
|
110
|
-
chunkDelimiter:
|
|
110
|
+
chunkDelimiter: "",
|
|
111
111
|
text: "<value>",
|
|
112
112
|
});
|
|
113
113
|
|
|
@@ -140,7 +140,7 @@ async function run() {
|
|
|
140
140
|
"Weather Info",
|
|
141
141
|
],
|
|
142
142
|
chunk: false,
|
|
143
|
-
chunkDelimiter:
|
|
143
|
+
chunkDelimiter: "",
|
|
144
144
|
text: "<value>",
|
|
145
145
|
});
|
|
146
146
|
|
|
@@ -198,7 +198,7 @@ async function run() {
|
|
|
198
198
|
"Weather Info",
|
|
199
199
|
],
|
|
200
200
|
chunk: false,
|
|
201
|
-
chunkDelimiter:
|
|
201
|
+
chunkDelimiter: "",
|
|
202
202
|
id: 1,
|
|
203
203
|
editComments: "Added new info",
|
|
204
204
|
text: "<value>",
|
|
@@ -233,7 +233,7 @@ async function run() {
|
|
|
233
233
|
"Weather Info",
|
|
234
234
|
],
|
|
235
235
|
chunk: false,
|
|
236
|
-
chunkDelimiter:
|
|
236
|
+
chunkDelimiter: "",
|
|
237
237
|
id: 1,
|
|
238
238
|
editComments: "Added new info",
|
|
239
239
|
text: "<value>",
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.57";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.57 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.57",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.57 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -25,7 +25,7 @@ export type PromptCreateRequest = {
|
|
|
25
25
|
tools?: Array<string> | undefined;
|
|
26
26
|
llmConfig: PromptLlmConfig;
|
|
27
27
|
/**
|
|
28
|
-
* Whether to include the default tools (`
|
|
28
|
+
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
29
29
|
*/
|
|
30
30
|
includeDefaultTools?: boolean | undefined;
|
|
31
31
|
};
|
|
@@ -5,6 +5,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const PromptLlmProvider: {
|
|
7
7
|
readonly AzureOpenai: "azure_openai";
|
|
8
|
+
readonly Google: "google";
|
|
8
9
|
readonly Openai: "openai";
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
@@ -23,11 +24,13 @@ export declare namespace PromptLlmProvider$ {
|
|
|
23
24
|
/** @deprecated use `PromptLlmProvider$inboundSchema` instead. */
|
|
24
25
|
const inboundSchema: z.ZodNativeEnum<{
|
|
25
26
|
readonly AzureOpenai: "azure_openai";
|
|
27
|
+
readonly Google: "google";
|
|
26
28
|
readonly Openai: "openai";
|
|
27
29
|
}>;
|
|
28
30
|
/** @deprecated use `PromptLlmProvider$outboundSchema` instead. */
|
|
29
31
|
const outboundSchema: z.ZodNativeEnum<{
|
|
30
32
|
readonly AzureOpenai: "azure_openai";
|
|
33
|
+
readonly Google: "google";
|
|
31
34
|
readonly Openai: "openai";
|
|
32
35
|
}>;
|
|
33
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptllmprovider.d.ts","sourceRoot":"","sources":["../../src/models/components/promptllmprovider.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"promptllmprovider.d.ts","sourceRoot":"","sources":["../../src/models/components/promptllmprovider.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC;AAEpC;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa;;;;MAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc;;;;MAAmC,CAAC;CAChE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptllmprovider.js","sourceRoot":"","sources":["../../src/models/components/promptllmprovider.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC"}
|
|
1
|
+
{"version":3,"file":"promptllmprovider.js","sourceRoot":"","sources":["../../src/models/components/promptllmprovider.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC"}
|
|
@@ -33,7 +33,7 @@ export type PromptUpdateRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
editComments?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Whether to include the default tools (`
|
|
36
|
+
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
37
37
|
*/
|
|
38
38
|
includeDefaultTools?: boolean | undefined;
|
|
39
39
|
};
|
package/openapi.json
CHANGED
|
@@ -9462,7 +9462,7 @@
|
|
|
9462
9462
|
"title": "Chunk Delimiter",
|
|
9463
9463
|
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9464
9464
|
"examples": [
|
|
9465
|
-
|
|
9465
|
+
""
|
|
9466
9466
|
]
|
|
9467
9467
|
},
|
|
9468
9468
|
"text": {
|
|
@@ -9538,7 +9538,7 @@
|
|
|
9538
9538
|
"title": "Chunk Delimiter",
|
|
9539
9539
|
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9540
9540
|
"examples": [
|
|
9541
|
-
|
|
9541
|
+
""
|
|
9542
9542
|
]
|
|
9543
9543
|
},
|
|
9544
9544
|
"id": {
|
|
@@ -9662,7 +9662,7 @@
|
|
|
9662
9662
|
"title": "Chunk Delimiter",
|
|
9663
9663
|
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9664
9664
|
"examples": [
|
|
9665
|
-
|
|
9665
|
+
""
|
|
9666
9666
|
]
|
|
9667
9667
|
},
|
|
9668
9668
|
"id": {
|
|
@@ -9793,7 +9793,7 @@
|
|
|
9793
9793
|
"title": "Chunk Delimiter",
|
|
9794
9794
|
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9795
9795
|
"examples": [
|
|
9796
|
-
|
|
9796
|
+
""
|
|
9797
9797
|
]
|
|
9798
9798
|
},
|
|
9799
9799
|
"id": {
|
|
@@ -11919,7 +11919,7 @@
|
|
|
11919
11919
|
"include_default_tools": {
|
|
11920
11920
|
"type": "boolean",
|
|
11921
11921
|
"title": "Include Default Tools",
|
|
11922
|
-
"description": "Whether to include the default tools (`
|
|
11922
|
+
"description": "Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
|
|
11923
11923
|
"default": true
|
|
11924
11924
|
}
|
|
11925
11925
|
},
|
|
@@ -12015,6 +12015,7 @@
|
|
|
12015
12015
|
"default": "azure_openai",
|
|
12016
12016
|
"examples": [
|
|
12017
12017
|
"azure_openai",
|
|
12018
|
+
"google",
|
|
12018
12019
|
"openai"
|
|
12019
12020
|
]
|
|
12020
12021
|
},
|
|
@@ -12065,6 +12066,7 @@
|
|
|
12065
12066
|
"type": "string",
|
|
12066
12067
|
"enum": [
|
|
12067
12068
|
"azure_openai",
|
|
12069
|
+
"google",
|
|
12068
12070
|
"openai"
|
|
12069
12071
|
],
|
|
12070
12072
|
"title": "PromptLlmProvider",
|
|
@@ -12272,7 +12274,7 @@
|
|
|
12272
12274
|
"include_default_tools": {
|
|
12273
12275
|
"type": "boolean",
|
|
12274
12276
|
"title": "Include Default Tools",
|
|
12275
|
-
"description": "Whether to include the default tools (`
|
|
12277
|
+
"description": "Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
|
|
12276
12278
|
"default": true
|
|
12277
12279
|
}
|
|
12278
12280
|
},
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.57",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.57 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -37,7 +37,7 @@ export type PromptCreateRequest = {
|
|
|
37
37
|
tools?: Array<string> | undefined;
|
|
38
38
|
llmConfig: PromptLlmConfig;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to include the default tools (`
|
|
40
|
+
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
41
41
|
*/
|
|
42
42
|
includeDefaultTools?: boolean | undefined;
|
|
43
43
|
};
|
|
@@ -45,7 +45,7 @@ export type PromptUpdateRequest = {
|
|
|
45
45
|
*/
|
|
46
46
|
editComments?: string | null | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* Whether to include the default tools (`
|
|
48
|
+
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
49
49
|
*/
|
|
50
50
|
includeDefaultTools?: boolean | undefined;
|
|
51
51
|
};
|