vellum-ai 0.4.1 → 0.4.3

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.
Files changed (215) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +17 -22
  3. package/api/resources/deployments/client/Client.js +3 -3
  4. package/api/resources/documentIndexes/client/Client.d.ts +40 -0
  5. package/api/resources/documentIndexes/client/Client.js +46 -6
  6. package/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +40 -0
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +6 -0
  9. package/api/resources/folderEntities/client/Client.js +1 -1
  10. package/api/resources/index.d.ts +0 -1
  11. package/api/resources/index.js +1 -2
  12. package/api/resources/sandboxes/client/Client.d.ts +6 -0
  13. package/api/resources/sandboxes/client/Client.js +8 -2
  14. package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +6 -0
  15. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  16. package/api/resources/testSuites/client/Client.js +3 -3
  17. package/api/resources/workflowDeployments/client/Client.js +2 -2
  18. package/api/types/index.d.ts +0 -20
  19. package/api/types/index.js +0 -20
  20. package/dist/Client.d.ts +0 -3
  21. package/dist/Client.js +17 -22
  22. package/dist/api/resources/deployments/client/Client.js +3 -3
  23. package/dist/api/resources/documentIndexes/client/Client.d.ts +40 -0
  24. package/dist/api/resources/documentIndexes/client/Client.js +46 -6
  25. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +40 -0
  26. package/dist/api/resources/documents/client/Client.js +5 -5
  27. package/dist/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +6 -0
  28. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  29. package/dist/api/resources/index.d.ts +0 -1
  30. package/dist/api/resources/index.js +1 -2
  31. package/dist/api/resources/sandboxes/client/Client.d.ts +6 -0
  32. package/dist/api/resources/sandboxes/client/Client.js +8 -2
  33. package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +6 -0
  34. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  35. package/dist/api/resources/testSuites/client/Client.js +3 -3
  36. package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
  37. package/dist/api/types/index.d.ts +0 -20
  38. package/dist/api/types/index.js +0 -20
  39. package/dist/serialization/types/index.d.ts +0 -20
  40. package/dist/serialization/types/index.js +0 -20
  41. package/package.json +1 -1
  42. package/serialization/types/index.d.ts +0 -20
  43. package/serialization/types/index.js +0 -20
  44. package/api/resources/modelVersions/client/Client.d.ts +0 -30
  45. package/api/resources/modelVersions/client/Client.js +0 -105
  46. package/api/resources/modelVersions/client/index.d.ts +0 -1
  47. package/api/resources/modelVersions/client/index.js +0 -2
  48. package/api/resources/modelVersions/index.d.ts +0 -1
  49. package/api/resources/modelVersions/index.js +0 -17
  50. package/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
  51. package/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
  52. package/api/types/ChatMessageEnum.d.ts +0 -4
  53. package/api/types/ChatMessageEnum.js +0 -5
  54. package/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
  55. package/api/types/ChatMessagePromptTemplateBlock.js +0 -5
  56. package/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
  57. package/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
  58. package/api/types/FunctionDefinitionEnum.d.ts +0 -4
  59. package/api/types/FunctionDefinitionEnum.js +0 -5
  60. package/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
  61. package/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
  62. package/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
  63. package/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
  64. package/api/types/JinjaEnum.d.ts +0 -4
  65. package/api/types/JinjaEnum.js +0 -5
  66. package/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
  67. package/api/types/JinjaPromptTemplateBlock.js +0 -5
  68. package/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
  69. package/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
  70. package/api/types/ModelVersionBuildConfig.d.ts +0 -11
  71. package/api/types/ModelVersionBuildConfig.js +0 -5
  72. package/api/types/ModelVersionExecConfig.d.ts +0 -14
  73. package/api/types/ModelVersionExecConfig.js +0 -5
  74. package/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
  75. package/api/types/ModelVersionExecConfigParameters.js +0 -5
  76. package/api/types/ModelVersionRead.d.ts +0 -37
  77. package/api/types/ModelVersionRead.js +0 -5
  78. package/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
  79. package/api/types/ModelVersionReadStatusEnum.js +0 -12
  80. package/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
  81. package/api/types/ModelVersionSandboxSnapshot.js +0 -5
  82. package/api/types/PromptTemplateBlock.d.ts +0 -19
  83. package/api/types/PromptTemplateBlock.js +0 -5
  84. package/api/types/PromptTemplateBlockData.d.ts +0 -8
  85. package/api/types/PromptTemplateBlockData.js +0 -5
  86. package/api/types/PromptTemplateBlockState.d.ts +0 -12
  87. package/api/types/PromptTemplateBlockState.js +0 -10
  88. package/api/types/ProviderEnum.d.ts +0 -34
  89. package/api/types/ProviderEnum.js +0 -21
  90. package/dist/api/resources/modelVersions/client/Client.d.ts +0 -30
  91. package/dist/api/resources/modelVersions/client/Client.js +0 -105
  92. package/dist/api/resources/modelVersions/client/index.d.ts +0 -1
  93. package/dist/api/resources/modelVersions/client/index.js +0 -2
  94. package/dist/api/resources/modelVersions/index.d.ts +0 -1
  95. package/dist/api/resources/modelVersions/index.js +0 -17
  96. package/dist/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
  97. package/dist/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
  98. package/dist/api/types/ChatMessageEnum.d.ts +0 -4
  99. package/dist/api/types/ChatMessageEnum.js +0 -5
  100. package/dist/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
  101. package/dist/api/types/ChatMessagePromptTemplateBlock.js +0 -5
  102. package/dist/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
  103. package/dist/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
  104. package/dist/api/types/FunctionDefinitionEnum.d.ts +0 -4
  105. package/dist/api/types/FunctionDefinitionEnum.js +0 -5
  106. package/dist/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
  107. package/dist/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
  108. package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
  109. package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
  110. package/dist/api/types/JinjaEnum.d.ts +0 -4
  111. package/dist/api/types/JinjaEnum.js +0 -5
  112. package/dist/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
  113. package/dist/api/types/JinjaPromptTemplateBlock.js +0 -5
  114. package/dist/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
  115. package/dist/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
  116. package/dist/api/types/ModelVersionBuildConfig.d.ts +0 -11
  117. package/dist/api/types/ModelVersionBuildConfig.js +0 -5
  118. package/dist/api/types/ModelVersionExecConfig.d.ts +0 -14
  119. package/dist/api/types/ModelVersionExecConfig.js +0 -5
  120. package/dist/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
  121. package/dist/api/types/ModelVersionExecConfigParameters.js +0 -5
  122. package/dist/api/types/ModelVersionRead.d.ts +0 -37
  123. package/dist/api/types/ModelVersionRead.js +0 -5
  124. package/dist/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
  125. package/dist/api/types/ModelVersionReadStatusEnum.js +0 -12
  126. package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
  127. package/dist/api/types/ModelVersionSandboxSnapshot.js +0 -5
  128. package/dist/api/types/PromptTemplateBlock.d.ts +0 -19
  129. package/dist/api/types/PromptTemplateBlock.js +0 -5
  130. package/dist/api/types/PromptTemplateBlockData.d.ts +0 -8
  131. package/dist/api/types/PromptTemplateBlockData.js +0 -5
  132. package/dist/api/types/PromptTemplateBlockState.d.ts +0 -12
  133. package/dist/api/types/PromptTemplateBlockState.js +0 -10
  134. package/dist/api/types/ProviderEnum.d.ts +0 -34
  135. package/dist/api/types/ProviderEnum.js +0 -21
  136. package/dist/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
  137. package/dist/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
  138. package/dist/serialization/types/ChatMessageEnum.d.ts +0 -10
  139. package/dist/serialization/types/ChatMessageEnum.js +0 -31
  140. package/dist/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
  141. package/dist/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
  142. package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
  143. package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
  144. package/dist/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
  145. package/dist/serialization/types/FunctionDefinitionEnum.js +0 -31
  146. package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
  147. package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
  148. package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
  149. package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
  150. package/dist/serialization/types/JinjaEnum.d.ts +0 -10
  151. package/dist/serialization/types/JinjaEnum.js +0 -31
  152. package/dist/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
  153. package/dist/serialization/types/JinjaPromptTemplateBlock.js +0 -37
  154. package/dist/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
  155. package/dist/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
  156. package/dist/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
  157. package/dist/serialization/types/ModelVersionBuildConfig.js +0 -36
  158. package/dist/serialization/types/ModelVersionExecConfig.d.ts +0 -19
  159. package/dist/serialization/types/ModelVersionExecConfig.js +0 -40
  160. package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
  161. package/dist/serialization/types/ModelVersionExecConfigParameters.js +0 -41
  162. package/dist/serialization/types/ModelVersionRead.d.ts +0 -23
  163. package/dist/serialization/types/ModelVersionRead.js +0 -44
  164. package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
  165. package/dist/serialization/types/ModelVersionReadStatusEnum.js +0 -31
  166. package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
  167. package/dist/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
  168. package/dist/serialization/types/PromptTemplateBlock.d.ts +0 -25
  169. package/dist/serialization/types/PromptTemplateBlock.js +0 -53
  170. package/dist/serialization/types/PromptTemplateBlockData.d.ts +0 -13
  171. package/dist/serialization/types/PromptTemplateBlockData.js +0 -43
  172. package/dist/serialization/types/PromptTemplateBlockState.d.ts +0 -10
  173. package/dist/serialization/types/PromptTemplateBlockState.js +0 -31
  174. package/dist/serialization/types/ProviderEnum.d.ts +0 -10
  175. package/dist/serialization/types/ProviderEnum.js +0 -45
  176. package/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
  177. package/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
  178. package/serialization/types/ChatMessageEnum.d.ts +0 -10
  179. package/serialization/types/ChatMessageEnum.js +0 -31
  180. package/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
  181. package/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
  182. package/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
  183. package/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
  184. package/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
  185. package/serialization/types/FunctionDefinitionEnum.js +0 -31
  186. package/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
  187. package/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
  188. package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
  189. package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
  190. package/serialization/types/JinjaEnum.d.ts +0 -10
  191. package/serialization/types/JinjaEnum.js +0 -31
  192. package/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
  193. package/serialization/types/JinjaPromptTemplateBlock.js +0 -37
  194. package/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
  195. package/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
  196. package/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
  197. package/serialization/types/ModelVersionBuildConfig.js +0 -36
  198. package/serialization/types/ModelVersionExecConfig.d.ts +0 -19
  199. package/serialization/types/ModelVersionExecConfig.js +0 -40
  200. package/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
  201. package/serialization/types/ModelVersionExecConfigParameters.js +0 -41
  202. package/serialization/types/ModelVersionRead.d.ts +0 -23
  203. package/serialization/types/ModelVersionRead.js +0 -44
  204. package/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
  205. package/serialization/types/ModelVersionReadStatusEnum.js +0 -31
  206. package/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
  207. package/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
  208. package/serialization/types/PromptTemplateBlock.d.ts +0 -25
  209. package/serialization/types/PromptTemplateBlock.js +0 -53
  210. package/serialization/types/PromptTemplateBlockData.d.ts +0 -13
  211. package/serialization/types/PromptTemplateBlockData.js +0 -43
  212. package/serialization/types/PromptTemplateBlockState.d.ts +0 -10
  213. package/serialization/types/PromptTemplateBlockState.js +0 -31
  214. package/serialization/types/ProviderEnum.d.ts +0 -10
  215. package/serialization/types/ProviderEnum.js +0 -45
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ModelVersionRead = void 0;
30
- const core = __importStar(require("../../core"));
31
- const ProviderEnum_1 = require("./ProviderEnum");
32
- const ModelVersionBuildConfig_1 = require("./ModelVersionBuildConfig");
33
- const ModelVersionExecConfig_1 = require("./ModelVersionExecConfig");
34
- const ModelVersionReadStatusEnum_1 = require("./ModelVersionReadStatusEnum");
35
- exports.ModelVersionRead = core.serialization.object({
36
- id: core.serialization.string(),
37
- created: core.serialization.date(),
38
- label: core.serialization.string(),
39
- provider: ProviderEnum_1.ProviderEnum,
40
- externalId: core.serialization.property("external_id", core.serialization.string()),
41
- buildConfig: core.serialization.property("build_config", ModelVersionBuildConfig_1.ModelVersionBuildConfig),
42
- execConfig: core.serialization.property("exec_config", ModelVersionExecConfig_1.ModelVersionExecConfig),
43
- status: ModelVersionReadStatusEnum_1.ModelVersionReadStatusEnum.optional(),
44
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const ModelVersionReadStatusEnum: core.serialization.Schema<serializers.ModelVersionReadStatusEnum.Raw, Vellum.ModelVersionReadStatusEnum>;
8
- export declare namespace ModelVersionReadStatusEnum {
9
- type Raw = "CREATING" | "READY" | "CREATION_FAILED" | "DISABLED";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ModelVersionReadStatusEnum = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ModelVersionReadStatusEnum = core.serialization.enum_(["CREATING", "READY", "CREATION_FAILED", "DISABLED"]);
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const ModelVersionSandboxSnapshot: core.serialization.ObjectSchema<serializers.ModelVersionSandboxSnapshot.Raw, Vellum.ModelVersionSandboxSnapshot>;
8
- export declare namespace ModelVersionSandboxSnapshot {
9
- interface Raw {
10
- id: string;
11
- prompt_index?: number | null;
12
- prompt_id?: string | null;
13
- sandbox_id?: string | null;
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ModelVersionSandboxSnapshot = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ModelVersionSandboxSnapshot = core.serialization.object({
32
- id: core.serialization.string(),
33
- promptIndex: core.serialization.property("prompt_index", core.serialization.number().optional()),
34
- promptId: core.serialization.property("prompt_id", core.serialization.string().optional()),
35
- sandboxId: core.serialization.property("sandbox_id", core.serialization.string().optional()),
36
- });
@@ -1,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { JinjaPromptTemplateBlock } from "./JinjaPromptTemplateBlock";
8
- import { ChatHistoryPromptTemplateBlock } from "./ChatHistoryPromptTemplateBlock";
9
- import { FunctionDefinitionPromptTemplateBlock } from "./FunctionDefinitionPromptTemplateBlock";
10
- export declare const PromptTemplateBlock: core.serialization.Schema<serializers.PromptTemplateBlock.Raw, Vellum.PromptTemplateBlock>;
11
- export declare namespace PromptTemplateBlock {
12
- type Raw = PromptTemplateBlock.Jinja | PromptTemplateBlock.ChatHistory | PromptTemplateBlock.ChatMessage | PromptTemplateBlock.FunctionDefinition;
13
- interface Jinja extends JinjaPromptTemplateBlock.Raw {
14
- block_type: "JINJA";
15
- }
16
- interface ChatHistory extends ChatHistoryPromptTemplateBlock.Raw {
17
- block_type: "CHAT_HISTORY";
18
- }
19
- interface ChatMessage extends serializers.ChatMessagePromptTemplateBlock.Raw {
20
- block_type: "CHAT_MESSAGE";
21
- }
22
- interface FunctionDefinition extends FunctionDefinitionPromptTemplateBlock.Raw {
23
- block_type: "FUNCTION_DEFINITION";
24
- }
25
- }
@@ -1,53 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.PromptTemplateBlock = void 0;
39
- const core = __importStar(require("../../core"));
40
- const JinjaPromptTemplateBlock_1 = require("./JinjaPromptTemplateBlock");
41
- const ChatHistoryPromptTemplateBlock_1 = require("./ChatHistoryPromptTemplateBlock");
42
- const FunctionDefinitionPromptTemplateBlock_1 = require("./FunctionDefinitionPromptTemplateBlock");
43
- exports.PromptTemplateBlock = core.serialization
44
- .union(core.serialization.discriminant("blockType", "block_type"), {
45
- JINJA: JinjaPromptTemplateBlock_1.JinjaPromptTemplateBlock,
46
- CHAT_HISTORY: ChatHistoryPromptTemplateBlock_1.ChatHistoryPromptTemplateBlock,
47
- CHAT_MESSAGE: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessagePromptTemplateBlock; })),
48
- FUNCTION_DEFINITION: FunctionDefinitionPromptTemplateBlock_1.FunctionDefinitionPromptTemplateBlock,
49
- })
50
- .transform({
51
- transform: (value) => value,
52
- untransform: (value) => value,
53
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateBlockData: core.serialization.ObjectSchema<serializers.PromptTemplateBlockData.Raw, Vellum.PromptTemplateBlockData>;
8
- export declare namespace PromptTemplateBlockData {
9
- interface Raw {
10
- blocks: serializers.PromptTemplateBlock.Raw[];
11
- version: number;
12
- }
13
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.PromptTemplateBlockData = void 0;
39
- const core = __importStar(require("../../core"));
40
- exports.PromptTemplateBlockData = core.serialization.object({
41
- blocks: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock; }))),
42
- version: core.serialization.number(),
43
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateBlockState: core.serialization.Schema<serializers.PromptTemplateBlockState.Raw, Vellum.PromptTemplateBlockState>;
8
- export declare namespace PromptTemplateBlockState {
9
- type Raw = "ENABLED" | "DISABLED";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PromptTemplateBlockState = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PromptTemplateBlockState = core.serialization.enum_(["ENABLED", "DISABLED"]);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const ProviderEnum: core.serialization.Schema<serializers.ProviderEnum.Raw, Vellum.ProviderEnum>;
8
- export declare namespace ProviderEnum {
9
- type Raw = "ANTHROPIC" | "AWS_BEDROCK" | "AZURE_OPENAI" | "COHERE" | "GOOGLE" | "HOSTED" | "MOSAICML" | "OPENAI" | "FIREWORKS_AI" | "HUGGINGFACE" | "MYSTIC" | "PYQ" | "REPLICATE";
10
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ProviderEnum = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ProviderEnum = core.serialization.enum_([
32
- "ANTHROPIC",
33
- "AWS_BEDROCK",
34
- "AZURE_OPENAI",
35
- "COHERE",
36
- "GOOGLE",
37
- "HOSTED",
38
- "MOSAICML",
39
- "OPENAI",
40
- "FIREWORKS_AI",
41
- "HUGGINGFACE",
42
- "MYSTIC",
43
- "PYQ",
44
- "REPLICATE",
45
- ]);
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
8
- export declare const ChatHistoryPromptTemplateBlock: core.serialization.ObjectSchema<serializers.ChatHistoryPromptTemplateBlock.Raw, Vellum.ChatHistoryPromptTemplateBlock>;
9
- export declare namespace ChatHistoryPromptTemplateBlock {
10
- interface Raw {
11
- properties: Record<string, unknown>;
12
- id: string;
13
- state?: PromptTemplateBlockState.Raw | null;
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ChatHistoryPromptTemplateBlock = void 0;
30
- const core = __importStar(require("../../core"));
31
- const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
32
- exports.ChatHistoryPromptTemplateBlock = core.serialization.object({
33
- properties: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
34
- id: core.serialization.string(),
35
- state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
36
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const ChatMessageEnum: core.serialization.Schema<serializers.ChatMessageEnum.Raw, Vellum.ChatMessageEnum>;
8
- export declare namespace ChatMessageEnum {
9
- type Raw = "CHAT_MESSAGE";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ChatMessageEnum = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ChatMessageEnum = core.serialization.stringLiteral("CHAT_MESSAGE");
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
8
- export declare const ChatMessagePromptTemplateBlock: core.serialization.ObjectSchema<serializers.ChatMessagePromptTemplateBlock.Raw, Vellum.ChatMessagePromptTemplateBlock>;
9
- export declare namespace ChatMessagePromptTemplateBlock {
10
- interface Raw {
11
- properties: serializers.ChatMessagePromptTemplateBlockProperties.Raw;
12
- id: string;
13
- state?: PromptTemplateBlockState.Raw | null;
14
- }
15
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.ChatMessagePromptTemplateBlock = void 0;
39
- const core = __importStar(require("../../core"));
40
- const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
41
- exports.ChatMessagePromptTemplateBlock = core.serialization.object({
42
- properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessagePromptTemplateBlockProperties; })),
43
- id: core.serialization.string(),
44
- state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
45
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { ChatMessageRole } from "./ChatMessageRole";
8
- export declare const ChatMessagePromptTemplateBlockProperties: core.serialization.ObjectSchema<serializers.ChatMessagePromptTemplateBlockProperties.Raw, Vellum.ChatMessagePromptTemplateBlockProperties>;
9
- export declare namespace ChatMessagePromptTemplateBlockProperties {
10
- interface Raw {
11
- blocks: serializers.PromptTemplateBlock.Raw[];
12
- chat_role?: ChatMessageRole.Raw | null;
13
- chat_source?: string | null;
14
- chat_message_unterminated?: boolean | null;
15
- }
16
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.ChatMessagePromptTemplateBlockProperties = void 0;
39
- const core = __importStar(require("../../core"));
40
- const ChatMessageRole_1 = require("./ChatMessageRole");
41
- exports.ChatMessagePromptTemplateBlockProperties = core.serialization.object({
42
- blocks: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock; }))),
43
- chatRole: core.serialization.property("chat_role", ChatMessageRole_1.ChatMessageRole.optional()),
44
- chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
45
- chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
46
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const FunctionDefinitionEnum: core.serialization.Schema<serializers.FunctionDefinitionEnum.Raw, Vellum.FunctionDefinitionEnum>;
8
- export declare namespace FunctionDefinitionEnum {
9
- type Raw = "FUNCTION_DEFINITION";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FunctionDefinitionEnum = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.FunctionDefinitionEnum = core.serialization.stringLiteral("FUNCTION_DEFINITION");