ai 4.0.0-canary.0 → 4.0.0-canary.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai",
3
- "version": "4.0.0-canary.0",
3
+ "version": "4.0.0-canary.1",
4
4
  "description": "AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -10,7 +10,6 @@
10
10
  "files": [
11
11
  "dist/**/*",
12
12
  "react/dist/**/*",
13
- "prompts/dist/**/*",
14
13
  "rsc/dist/**/*",
15
14
  "test/dist/**/*",
16
15
  "CHANGELOG.md"
@@ -33,11 +32,6 @@
33
32
  "react-server": "./rsc/dist/rsc-server.mjs",
34
33
  "import": "./rsc/dist/rsc-client.mjs"
35
34
  },
36
- "./prompts": {
37
- "types": "./prompts/dist/index.d.ts",
38
- "import": "./prompts/dist/index.mjs",
39
- "require": "./prompts/dist/index.js"
40
- },
41
35
  "./react": {
42
36
  "types": "./react/dist/index.d.ts",
43
37
  "react-server": "./react/dist/index.server.mjs",
@@ -48,8 +42,8 @@
48
42
  "dependencies": {
49
43
  "@ai-sdk/provider": "0.0.26",
50
44
  "@ai-sdk/provider-utils": "1.0.22",
51
- "@ai-sdk/react": "1.0.0-canary.0",
52
- "@ai-sdk/ui-utils": "1.0.0-canary.0",
45
+ "@ai-sdk/react": "1.0.0-canary.1",
46
+ "@ai-sdk/ui-utils": "1.0.0-canary.1",
53
47
  "@opentelemetry/api": "1.9.0",
54
48
  "eventsource-parser": "1.1.2",
55
49
  "jsondiffpatch": "0.6.0",
@@ -1,220 +0,0 @@
1
- import { Message } from '@ai-sdk/ui-utils';
2
-
3
- /**
4
- * A prompt constructor for Anthropic models.
5
- * Does not support `function` messages.
6
- * @see https://docs.anthropic.com/claude/reference/getting-started-with-the-api
7
- *
8
- * @deprecated Will be removed. Use the new provider architecture instead.
9
- */
10
- declare function experimental_buildAnthropicPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
11
- /**
12
- * A prompt constructor for Anthropic V3 models which require Messages API.
13
- * Does not support message with image content
14
- * @see https://docs.anthropic.com/claude/reference/messages_post
15
- *
16
- * @deprecated Will be removed. Use the new provider architecture instead.
17
- */
18
- declare function experimental_buildAnthropicMessages(messages: Pick<Message, 'content' | 'role'>[]): {
19
- role: "function" | "data" | "system" | "user" | "assistant" | "tool";
20
- content: {
21
- type: string;
22
- text: string;
23
- }[];
24
- }[];
25
-
26
- /**
27
- * A prompt constructor for the HuggingFace StarChat Beta model.
28
- * Does not support `function` messages.
29
- * @see https://huggingface.co/HuggingFaceH4/starchat-beta *
30
- * @deprecated Will be removed. Use the new provider architecture instead.
31
- */
32
- declare function experimental_buildStarChatBetaPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
33
- /**
34
- * A prompt constructor for HuggingFace OpenAssistant models.
35
- * Does not support `function` or `system` messages.
36
- * @see https://huggingface.co/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5 *
37
- * @deprecated Will be removed. Use the new provider architecture instead.
38
- */
39
- declare function experimental_buildOpenAssistantPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
40
- /**
41
- * A prompt constructor for HuggingFace LLama 2 chat models.
42
- * Does not support `function` messages.
43
- * @see https://huggingface.co/meta-llama/Llama-2-70b-chat-hf and https://huggingface.co/blog/llama2#how-to-prompt-llama-2
44
- *
45
- * @deprecated Will be removed. Use the new provider architecture instead.
46
- */
47
- declare function experimental_buildLlama2Prompt(messages: Pick<Message, 'content' | 'role'>[]): string;
48
-
49
- /**
50
- * @deprecated Will be removed. Use the new provider architecture instead.
51
- */
52
- declare function experimental_buildOpenAIMessages(messages: Message[]): ChatCompletionMessageParam[];
53
- type ChatCompletionMessageParam = ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam;
54
- interface ChatCompletionSystemMessageParam {
55
- /**
56
- * The contents of the system message.
57
- */
58
- content: string;
59
- /**
60
- * The role of the messages author, in this case `system`.
61
- */
62
- role: 'system';
63
- /**
64
- * An optional name for the participant. Provides the model information to
65
- * differentiate between participants of the same role.
66
- */
67
- name?: string;
68
- }
69
- interface ChatCompletionUserMessageParam {
70
- /**
71
- * The contents of the user message.
72
- */
73
- content: string | Array<ChatCompletionContentPart>;
74
- /**
75
- * The role of the messages author, in this case `user`.
76
- */
77
- role: 'user';
78
- /**
79
- * An optional name for the participant. Provides the model information to
80
- * differentiate between participants of the same role.
81
- */
82
- name?: string;
83
- }
84
- type ChatCompletionContentPart = ChatCompletionContentPartText | ChatCompletionContentPartImage;
85
- interface ChatCompletionContentPartText {
86
- /**
87
- * The text content.
88
- */
89
- text: string;
90
- /**
91
- * The type of the content part.
92
- */
93
- type: 'text';
94
- }
95
- interface ChatCompletionContentPartImage {
96
- image_url: ChatCompletionContentPartImage.ImageURL;
97
- /**
98
- * The type of the content part.
99
- */
100
- type: 'image_url';
101
- }
102
- declare namespace ChatCompletionContentPartImage {
103
- interface ImageURL {
104
- /**
105
- * Either a URL of the image or the base64 encoded image data.
106
- */
107
- url: string;
108
- /**
109
- * Specifies the detail level of the image. Learn more in the
110
- * [Vision guide](https://platform.openai.com/docs/guides/vision/low-or-high-fidelity-image-understanding).
111
- */
112
- detail?: 'auto' | 'low' | 'high';
113
- }
114
- }
115
- interface ChatCompletionAssistantMessageParam {
116
- /**
117
- * The role of the messages author, in this case `assistant`.
118
- */
119
- role: 'assistant';
120
- /**
121
- * The contents of the assistant message. Required unless `tool_calls` or
122
- * `function_call` is specified.
123
- */
124
- content?: string | null;
125
- /**
126
- * @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
127
- * a function that should be called, as generated by the model.
128
- */
129
- function_call?: ChatCompletionAssistantMessageParam.FunctionCall;
130
- /**
131
- * An optional name for the participant. Provides the model information to
132
- * differentiate between participants of the same role.
133
- */
134
- name?: string;
135
- /**
136
- * The tool calls generated by the model, such as function calls.
137
- */
138
- tool_calls?: Array<ChatCompletionMessageToolCall>;
139
- }
140
- declare namespace ChatCompletionAssistantMessageParam {
141
- /**
142
- * @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
143
- * a function that should be called, as generated by the model.
144
- */
145
- interface FunctionCall {
146
- /**
147
- * The arguments to call the function with, as generated by the model in JSON
148
- * format. Note that the model does not always generate valid JSON, and may
149
- * hallucinate parameters not defined by your function schema. Validate the
150
- * arguments in your code before calling your function.
151
- */
152
- arguments: string;
153
- /**
154
- * The name of the function to call.
155
- */
156
- name: string;
157
- }
158
- }
159
- interface ChatCompletionMessageToolCall {
160
- /**
161
- * The ID of the tool call.
162
- */
163
- id: string;
164
- /**
165
- * The function that the model called.
166
- */
167
- function: ChatCompletionMessageToolCall.Function;
168
- /**
169
- * The type of the tool. Currently, only `function` is supported.
170
- */
171
- type: 'function';
172
- }
173
- declare namespace ChatCompletionMessageToolCall {
174
- /**
175
- * The function that the model called.
176
- */
177
- interface Function {
178
- /**
179
- * The arguments to call the function with, as generated by the model in JSON
180
- * format. Note that the model does not always generate valid JSON, and may
181
- * hallucinate parameters not defined by your function schema. Validate the
182
- * arguments in your code before calling your function.
183
- */
184
- arguments: string;
185
- /**
186
- * The name of the function to call.
187
- */
188
- name: string;
189
- }
190
- }
191
- interface ChatCompletionToolMessageParam {
192
- /**
193
- * The contents of the tool message.
194
- */
195
- content: string;
196
- /**
197
- * The role of the messages author, in this case `tool`.
198
- */
199
- role: 'tool';
200
- /**
201
- * Tool call that this message is responding to.
202
- */
203
- tool_call_id: string;
204
- }
205
- interface ChatCompletionFunctionMessageParam {
206
- /**
207
- * The return value from the function call, to return to the model.
208
- */
209
- content: string | null;
210
- /**
211
- * The name of the function to call.
212
- */
213
- name: string;
214
- /**
215
- * The role of the messages author, in this case `function`.
216
- */
217
- role: 'function';
218
- }
219
-
220
- export { ChatCompletionAssistantMessageParam, ChatCompletionContentPart, ChatCompletionContentPartImage, ChatCompletionContentPartText, ChatCompletionFunctionMessageParam, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionSystemMessageParam, ChatCompletionToolMessageParam, ChatCompletionUserMessageParam, experimental_buildAnthropicMessages, experimental_buildAnthropicPrompt, experimental_buildLlama2Prompt, experimental_buildOpenAIMessages, experimental_buildOpenAssistantPrompt, experimental_buildStarChatBetaPrompt };
@@ -1,220 +0,0 @@
1
- import { Message } from '@ai-sdk/ui-utils';
2
-
3
- /**
4
- * A prompt constructor for Anthropic models.
5
- * Does not support `function` messages.
6
- * @see https://docs.anthropic.com/claude/reference/getting-started-with-the-api
7
- *
8
- * @deprecated Will be removed. Use the new provider architecture instead.
9
- */
10
- declare function experimental_buildAnthropicPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
11
- /**
12
- * A prompt constructor for Anthropic V3 models which require Messages API.
13
- * Does not support message with image content
14
- * @see https://docs.anthropic.com/claude/reference/messages_post
15
- *
16
- * @deprecated Will be removed. Use the new provider architecture instead.
17
- */
18
- declare function experimental_buildAnthropicMessages(messages: Pick<Message, 'content' | 'role'>[]): {
19
- role: "function" | "data" | "system" | "user" | "assistant" | "tool";
20
- content: {
21
- type: string;
22
- text: string;
23
- }[];
24
- }[];
25
-
26
- /**
27
- * A prompt constructor for the HuggingFace StarChat Beta model.
28
- * Does not support `function` messages.
29
- * @see https://huggingface.co/HuggingFaceH4/starchat-beta *
30
- * @deprecated Will be removed. Use the new provider architecture instead.
31
- */
32
- declare function experimental_buildStarChatBetaPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
33
- /**
34
- * A prompt constructor for HuggingFace OpenAssistant models.
35
- * Does not support `function` or `system` messages.
36
- * @see https://huggingface.co/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5 *
37
- * @deprecated Will be removed. Use the new provider architecture instead.
38
- */
39
- declare function experimental_buildOpenAssistantPrompt(messages: Pick<Message, 'content' | 'role'>[]): string;
40
- /**
41
- * A prompt constructor for HuggingFace LLama 2 chat models.
42
- * Does not support `function` messages.
43
- * @see https://huggingface.co/meta-llama/Llama-2-70b-chat-hf and https://huggingface.co/blog/llama2#how-to-prompt-llama-2
44
- *
45
- * @deprecated Will be removed. Use the new provider architecture instead.
46
- */
47
- declare function experimental_buildLlama2Prompt(messages: Pick<Message, 'content' | 'role'>[]): string;
48
-
49
- /**
50
- * @deprecated Will be removed. Use the new provider architecture instead.
51
- */
52
- declare function experimental_buildOpenAIMessages(messages: Message[]): ChatCompletionMessageParam[];
53
- type ChatCompletionMessageParam = ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam;
54
- interface ChatCompletionSystemMessageParam {
55
- /**
56
- * The contents of the system message.
57
- */
58
- content: string;
59
- /**
60
- * The role of the messages author, in this case `system`.
61
- */
62
- role: 'system';
63
- /**
64
- * An optional name for the participant. Provides the model information to
65
- * differentiate between participants of the same role.
66
- */
67
- name?: string;
68
- }
69
- interface ChatCompletionUserMessageParam {
70
- /**
71
- * The contents of the user message.
72
- */
73
- content: string | Array<ChatCompletionContentPart>;
74
- /**
75
- * The role of the messages author, in this case `user`.
76
- */
77
- role: 'user';
78
- /**
79
- * An optional name for the participant. Provides the model information to
80
- * differentiate between participants of the same role.
81
- */
82
- name?: string;
83
- }
84
- type ChatCompletionContentPart = ChatCompletionContentPartText | ChatCompletionContentPartImage;
85
- interface ChatCompletionContentPartText {
86
- /**
87
- * The text content.
88
- */
89
- text: string;
90
- /**
91
- * The type of the content part.
92
- */
93
- type: 'text';
94
- }
95
- interface ChatCompletionContentPartImage {
96
- image_url: ChatCompletionContentPartImage.ImageURL;
97
- /**
98
- * The type of the content part.
99
- */
100
- type: 'image_url';
101
- }
102
- declare namespace ChatCompletionContentPartImage {
103
- interface ImageURL {
104
- /**
105
- * Either a URL of the image or the base64 encoded image data.
106
- */
107
- url: string;
108
- /**
109
- * Specifies the detail level of the image. Learn more in the
110
- * [Vision guide](https://platform.openai.com/docs/guides/vision/low-or-high-fidelity-image-understanding).
111
- */
112
- detail?: 'auto' | 'low' | 'high';
113
- }
114
- }
115
- interface ChatCompletionAssistantMessageParam {
116
- /**
117
- * The role of the messages author, in this case `assistant`.
118
- */
119
- role: 'assistant';
120
- /**
121
- * The contents of the assistant message. Required unless `tool_calls` or
122
- * `function_call` is specified.
123
- */
124
- content?: string | null;
125
- /**
126
- * @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
127
- * a function that should be called, as generated by the model.
128
- */
129
- function_call?: ChatCompletionAssistantMessageParam.FunctionCall;
130
- /**
131
- * An optional name for the participant. Provides the model information to
132
- * differentiate between participants of the same role.
133
- */
134
- name?: string;
135
- /**
136
- * The tool calls generated by the model, such as function calls.
137
- */
138
- tool_calls?: Array<ChatCompletionMessageToolCall>;
139
- }
140
- declare namespace ChatCompletionAssistantMessageParam {
141
- /**
142
- * @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
143
- * a function that should be called, as generated by the model.
144
- */
145
- interface FunctionCall {
146
- /**
147
- * The arguments to call the function with, as generated by the model in JSON
148
- * format. Note that the model does not always generate valid JSON, and may
149
- * hallucinate parameters not defined by your function schema. Validate the
150
- * arguments in your code before calling your function.
151
- */
152
- arguments: string;
153
- /**
154
- * The name of the function to call.
155
- */
156
- name: string;
157
- }
158
- }
159
- interface ChatCompletionMessageToolCall {
160
- /**
161
- * The ID of the tool call.
162
- */
163
- id: string;
164
- /**
165
- * The function that the model called.
166
- */
167
- function: ChatCompletionMessageToolCall.Function;
168
- /**
169
- * The type of the tool. Currently, only `function` is supported.
170
- */
171
- type: 'function';
172
- }
173
- declare namespace ChatCompletionMessageToolCall {
174
- /**
175
- * The function that the model called.
176
- */
177
- interface Function {
178
- /**
179
- * The arguments to call the function with, as generated by the model in JSON
180
- * format. Note that the model does not always generate valid JSON, and may
181
- * hallucinate parameters not defined by your function schema. Validate the
182
- * arguments in your code before calling your function.
183
- */
184
- arguments: string;
185
- /**
186
- * The name of the function to call.
187
- */
188
- name: string;
189
- }
190
- }
191
- interface ChatCompletionToolMessageParam {
192
- /**
193
- * The contents of the tool message.
194
- */
195
- content: string;
196
- /**
197
- * The role of the messages author, in this case `tool`.
198
- */
199
- role: 'tool';
200
- /**
201
- * Tool call that this message is responding to.
202
- */
203
- tool_call_id: string;
204
- }
205
- interface ChatCompletionFunctionMessageParam {
206
- /**
207
- * The return value from the function call, to return to the model.
208
- */
209
- content: string | null;
210
- /**
211
- * The name of the function to call.
212
- */
213
- name: string;
214
- /**
215
- * The role of the messages author, in this case `function`.
216
- */
217
- role: 'function';
218
- }
219
-
220
- export { ChatCompletionAssistantMessageParam, ChatCompletionContentPart, ChatCompletionContentPartImage, ChatCompletionContentPartText, ChatCompletionFunctionMessageParam, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionSystemMessageParam, ChatCompletionToolMessageParam, ChatCompletionUserMessageParam, experimental_buildAnthropicMessages, experimental_buildAnthropicPrompt, experimental_buildLlama2Prompt, experimental_buildOpenAIMessages, experimental_buildOpenAssistantPrompt, experimental_buildStarChatBetaPrompt };
@@ -1,178 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // prompts/index.ts
21
- var prompts_exports = {};
22
- __export(prompts_exports, {
23
- experimental_buildAnthropicMessages: () => experimental_buildAnthropicMessages,
24
- experimental_buildAnthropicPrompt: () => experimental_buildAnthropicPrompt,
25
- experimental_buildLlama2Prompt: () => experimental_buildLlama2Prompt,
26
- experimental_buildOpenAIMessages: () => experimental_buildOpenAIMessages,
27
- experimental_buildOpenAssistantPrompt: () => experimental_buildOpenAssistantPrompt,
28
- experimental_buildStarChatBetaPrompt: () => experimental_buildStarChatBetaPrompt
29
- });
30
- module.exports = __toCommonJS(prompts_exports);
31
-
32
- // prompts/anthropic.ts
33
- function experimental_buildAnthropicPrompt(messages) {
34
- return messages.map(({ content, role }) => {
35
- if (role === "user") {
36
- return `
37
-
38
- Human: ${content}`;
39
- } else {
40
- return `
41
-
42
- Assistant: ${content}`;
43
- }
44
- }) + "\n\nAssistant:";
45
- }
46
- function experimental_buildAnthropicMessages(messages) {
47
- return messages.map(({ content, role }) => {
48
- if (!["assistant", "user"].includes(role)) {
49
- throw new Error(`Cannot use ${role} on Anthropic V3 Messages API`);
50
- }
51
- return {
52
- role,
53
- content: [{ type: "text", text: content }]
54
- };
55
- });
56
- }
57
-
58
- // prompts/huggingface.ts
59
- function experimental_buildStarChatBetaPrompt(messages) {
60
- return messages.map(({ content, role }) => {
61
- if (role === "user") {
62
- return `<|user|>
63
- ${content}<|end|>
64
- `;
65
- } else if (role === "assistant") {
66
- return `<|assistant|>
67
- ${content}<|end|>
68
- `;
69
- } else if (role === "system") {
70
- return `<|system|>
71
- ${content}<|end|>
72
- `;
73
- } else if (role === "function") {
74
- throw new Error("StarChat Beta does not support function calls.");
75
- }
76
- }).join("") + "<|assistant|>";
77
- }
78
- function experimental_buildOpenAssistantPrompt(messages) {
79
- return messages.map(({ content, role }) => {
80
- if (role === "user") {
81
- return `<|prompter|>${content}<|endoftext|>`;
82
- } else if (role === "function") {
83
- throw new Error("OpenAssistant does not support function calls.");
84
- } else if (role === "system") {
85
- throw new Error("OpenAssistant does not support system messages.");
86
- } else {
87
- return `<|assistant|>${content}<|endoftext|>`;
88
- }
89
- }).join("") + "<|assistant|>";
90
- }
91
- function experimental_buildLlama2Prompt(messages) {
92
- const startPrompt = `<s>[INST] `;
93
- const endPrompt = ` [/INST]`;
94
- const conversation = messages.map(({ content, role }, index) => {
95
- if (role === "user") {
96
- return content.trim();
97
- } else if (role === "assistant") {
98
- return ` [/INST] ${content}</s><s>[INST] `;
99
- } else if (role === "function") {
100
- throw new Error("Llama 2 does not support function calls.");
101
- } else if (role === "system" && index === 0) {
102
- return `<<SYS>>
103
- ${content}
104
- <</SYS>>
105
-
106
- `;
107
- } else {
108
- throw new Error(`Invalid message role: ${role}`);
109
- }
110
- });
111
- return startPrompt + conversation.join("") + endPrompt;
112
- }
113
-
114
- // prompts/openai.tsx
115
- function experimental_buildOpenAIMessages(messages) {
116
- return messages.map((message) => {
117
- switch (message.role) {
118
- case "system":
119
- case "user":
120
- return {
121
- role: message.role,
122
- content: message.content
123
- };
124
- case "assistant": {
125
- const function_call = message.function_call;
126
- if (function_call !== void 0 && (typeof function_call === "string" || function_call.arguments === void 0 || function_call.name === void 0)) {
127
- throw new Error(
128
- "Invalid function call in message. Expected a function call object"
129
- );
130
- }
131
- return {
132
- role: message.role,
133
- content: message.content,
134
- function_call: function_call === void 0 ? void 0 : {
135
- name: function_call.name,
136
- arguments: function_call.arguments
137
- }
138
- };
139
- }
140
- case "function": {
141
- if (message.name === void 0) {
142
- throw new Error("Invalid function call in message. Expected a name");
143
- }
144
- return {
145
- role: message.role,
146
- content: message.content,
147
- name: message.name
148
- };
149
- }
150
- case "data": {
151
- throw "unsupported message role 'data'";
152
- }
153
- case "tool": {
154
- if (message.name === void 0) {
155
- throw new Error("Invalid tool message. Expected a name");
156
- }
157
- if (message.tool_call_id === void 0) {
158
- throw new Error("Invalid tool message. Expected a tool_call_id");
159
- }
160
- return {
161
- role: message.role,
162
- content: message.content,
163
- tool_call_id: message.tool_call_id
164
- };
165
- }
166
- }
167
- });
168
- }
169
- // Annotate the CommonJS export names for ESM import in node:
170
- 0 && (module.exports = {
171
- experimental_buildAnthropicMessages,
172
- experimental_buildAnthropicPrompt,
173
- experimental_buildLlama2Prompt,
174
- experimental_buildOpenAIMessages,
175
- experimental_buildOpenAssistantPrompt,
176
- experimental_buildStarChatBetaPrompt
177
- });
178
- //# sourceMappingURL=index.js.map