@lostgradient/operative-openai 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +173 -2
- package/dist/batches/openai.d.ts +83 -0
- package/dist/batches/openai.js +101 -0
- package/dist/embeddings/openai.d.ts +36 -0
- package/dist/embeddings/openai.js +37 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +23 -0
- package/dist/openai-catalog.d.ts +44 -0
- package/dist/openai-catalog.js +236 -0
- package/dist/openai-definition.d.ts +24 -0
- package/dist/openai-definition.js +13 -0
- package/dist/openai-parts.d.ts +29 -0
- package/dist/openai-parts.js +83 -0
- package/dist/openai-response-format.d.ts +27 -0
- package/dist/openai-response-format.js +26 -0
- package/dist/openai-tool-choice.d.ts +15 -0
- package/dist/openai-tool-choice.js +12 -0
- package/dist/openai-types.d.ts +309 -0
- package/dist/openai-types.js +1 -0
- package/dist/openai.d.ts +28 -0
- package/dist/openai.js +440 -0
- package/dist/streaming/normalize-openai.d.ts +18 -0
- package/dist/streaming/normalize-openai.js +213 -0
- package/dist/test/openai-fixtures.d.ts +19 -0
- package/dist/test/openai-fixtures.js +229 -0
- package/dist/test/openai-mock-clients.d.ts +36 -0
- package/dist/test/openai-mock-clients.js +84 -0
- package/dist/testing.d.ts +12 -0
- package/dist/testing.js +11 -0
- package/package.json +31 -3
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { OpenAIChatCompletion, OpenAIChatCompletionChunk } from "../openai-types.js";
|
|
2
|
+
/** A completion with one text choice and usage. */
|
|
3
|
+
export declare const openAITextResponse: OpenAIChatCompletion;
|
|
4
|
+
/** A completion whose only content is a tool call, with usage. */
|
|
5
|
+
export declare const openAIToolCallResponse: OpenAIChatCompletion;
|
|
6
|
+
/** A completion carrying both text and a tool call, with usage. */
|
|
7
|
+
export declare const openAIMixedResponse: OpenAIChatCompletion;
|
|
8
|
+
/** A completion that omits usage. */
|
|
9
|
+
export declare const openAINoUsageResponse: OpenAIChatCompletion;
|
|
10
|
+
/** A stream of text deltas ending in a finish reason and usage. */
|
|
11
|
+
export declare const openAIStreamTextChunks: OpenAIChatCompletionChunk[];
|
|
12
|
+
/** A stream that builds one tool call across deltas. */
|
|
13
|
+
export declare const openAIStreamToolCallChunks: OpenAIChatCompletionChunk[];
|
|
14
|
+
/** A stream that carries text and then a tool call. */
|
|
15
|
+
export declare const openAIStreamMixedChunks: OpenAIChatCompletionChunk[];
|
|
16
|
+
/** A stream with no content, only a finish reason and usage. */
|
|
17
|
+
export declare const openAIStreamEmptyChunks: OpenAIChatCompletionChunk[];
|
|
18
|
+
/** A stream that builds several tool calls, one per index. */
|
|
19
|
+
export declare const openAIStreamMultiToolChunks: OpenAIChatCompletionChunk[];
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/** A completion with one text choice and usage. */
|
|
2
|
+
export const openAITextResponse = {
|
|
3
|
+
choices: [
|
|
4
|
+
{
|
|
5
|
+
message: { content: 'Hello from OpenAI!' },
|
|
6
|
+
finish_reason: 'stop',
|
|
7
|
+
},
|
|
8
|
+
],
|
|
9
|
+
usage: { prompt_tokens: 10, completion_tokens: 5, total_tokens: 15 },
|
|
10
|
+
};
|
|
11
|
+
/** A completion whose only content is a tool call, with usage. */
|
|
12
|
+
export const openAIToolCallResponse = {
|
|
13
|
+
choices: [
|
|
14
|
+
{
|
|
15
|
+
message: {
|
|
16
|
+
content: null,
|
|
17
|
+
tool_calls: [
|
|
18
|
+
{
|
|
19
|
+
id: 'call_01',
|
|
20
|
+
type: 'function',
|
|
21
|
+
function: {
|
|
22
|
+
name: 'get_weather',
|
|
23
|
+
arguments: '{"location":"San Francisco"}',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
finish_reason: 'tool_calls',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
usage: { prompt_tokens: 15, completion_tokens: 20, total_tokens: 35 },
|
|
32
|
+
};
|
|
33
|
+
/** A completion carrying both text and a tool call, with usage. */
|
|
34
|
+
export const openAIMixedResponse = {
|
|
35
|
+
choices: [
|
|
36
|
+
{
|
|
37
|
+
message: {
|
|
38
|
+
content: 'Let me check the weather.',
|
|
39
|
+
tool_calls: [
|
|
40
|
+
{
|
|
41
|
+
id: 'call_02',
|
|
42
|
+
type: 'function',
|
|
43
|
+
function: {
|
|
44
|
+
name: 'get_weather',
|
|
45
|
+
arguments: '{"location":"New York"}',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
finish_reason: 'tool_calls',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
usage: { prompt_tokens: 20, completion_tokens: 25, total_tokens: 45 },
|
|
54
|
+
};
|
|
55
|
+
/** A completion that omits usage. */
|
|
56
|
+
export const openAINoUsageResponse = {
|
|
57
|
+
choices: [
|
|
58
|
+
{
|
|
59
|
+
message: { content: 'No usage info.' },
|
|
60
|
+
finish_reason: 'stop',
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
};
|
|
64
|
+
/** A stream of text deltas ending in a finish reason and usage. */
|
|
65
|
+
export const openAIStreamTextChunks = [
|
|
66
|
+
{ choices: [{ delta: { content: 'Hello ' }, finish_reason: null }], usage: null },
|
|
67
|
+
{ choices: [{ delta: { content: 'from OpenAI!' }, finish_reason: null }], usage: null },
|
|
68
|
+
{
|
|
69
|
+
choices: [{ delta: {}, finish_reason: 'stop' }],
|
|
70
|
+
usage: { prompt_tokens: 10, completion_tokens: 5, total_tokens: 15 },
|
|
71
|
+
},
|
|
72
|
+
];
|
|
73
|
+
/** A stream that builds one tool call across deltas. */
|
|
74
|
+
export const openAIStreamToolCallChunks = [
|
|
75
|
+
{
|
|
76
|
+
choices: [
|
|
77
|
+
{
|
|
78
|
+
delta: {
|
|
79
|
+
tool_calls: [
|
|
80
|
+
{
|
|
81
|
+
index: 0,
|
|
82
|
+
id: 'call_01',
|
|
83
|
+
type: 'function',
|
|
84
|
+
function: { name: 'get_weather', arguments: '' },
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
finish_reason: null,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
usage: null,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
choices: [
|
|
95
|
+
{
|
|
96
|
+
delta: {
|
|
97
|
+
tool_calls: [{ index: 0, function: { arguments: '{"location":' } }],
|
|
98
|
+
},
|
|
99
|
+
finish_reason: null,
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
usage: null,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
choices: [
|
|
106
|
+
{
|
|
107
|
+
delta: {
|
|
108
|
+
tool_calls: [{ index: 0, function: { arguments: '"San Francisco"}' } }],
|
|
109
|
+
},
|
|
110
|
+
finish_reason: null,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
usage: null,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
choices: [{ delta: {}, finish_reason: 'tool_calls' }],
|
|
117
|
+
usage: { prompt_tokens: 15, completion_tokens: 20, total_tokens: 35 },
|
|
118
|
+
},
|
|
119
|
+
];
|
|
120
|
+
/** A stream that carries text and then a tool call. */
|
|
121
|
+
export const openAIStreamMixedChunks = [
|
|
122
|
+
{ choices: [{ delta: { content: 'Checking ' }, finish_reason: null }], usage: null },
|
|
123
|
+
{ choices: [{ delta: { content: 'weather.' }, finish_reason: null }], usage: null },
|
|
124
|
+
{
|
|
125
|
+
choices: [
|
|
126
|
+
{
|
|
127
|
+
delta: {
|
|
128
|
+
tool_calls: [
|
|
129
|
+
{
|
|
130
|
+
index: 0,
|
|
131
|
+
id: 'call_mixed_01',
|
|
132
|
+
type: 'function',
|
|
133
|
+
function: { name: 'get_weather', arguments: '{"location":' },
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
finish_reason: null,
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
usage: null,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
choices: [
|
|
144
|
+
{
|
|
145
|
+
delta: {
|
|
146
|
+
tool_calls: [{ index: 0, function: { arguments: '"NYC"}' } }],
|
|
147
|
+
},
|
|
148
|
+
finish_reason: null,
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
usage: null,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
choices: [{ delta: {}, finish_reason: 'stop' }],
|
|
155
|
+
usage: { prompt_tokens: 10, completion_tokens: 8, total_tokens: 18 },
|
|
156
|
+
},
|
|
157
|
+
];
|
|
158
|
+
/** A stream with no content, only a finish reason and usage. */
|
|
159
|
+
export const openAIStreamEmptyChunks = [
|
|
160
|
+
{
|
|
161
|
+
choices: [{ delta: {}, finish_reason: 'stop' }],
|
|
162
|
+
usage: { prompt_tokens: 5, completion_tokens: 0, total_tokens: 5 },
|
|
163
|
+
},
|
|
164
|
+
];
|
|
165
|
+
/** A stream that builds several tool calls, one per index. */
|
|
166
|
+
export const openAIStreamMultiToolChunks = [
|
|
167
|
+
{
|
|
168
|
+
choices: [
|
|
169
|
+
{
|
|
170
|
+
delta: {
|
|
171
|
+
tool_calls: [
|
|
172
|
+
{
|
|
173
|
+
index: 0,
|
|
174
|
+
id: 'call_multi_01',
|
|
175
|
+
type: 'function',
|
|
176
|
+
function: { name: 'get_weather', arguments: '' },
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
finish_reason: null,
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
usage: null,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
choices: [
|
|
187
|
+
{
|
|
188
|
+
delta: {
|
|
189
|
+
tool_calls: [{ index: 0, function: { arguments: '{"location":"Paris"}' } }],
|
|
190
|
+
},
|
|
191
|
+
finish_reason: null,
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
usage: null,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
choices: [
|
|
198
|
+
{
|
|
199
|
+
delta: {
|
|
200
|
+
tool_calls: [
|
|
201
|
+
{
|
|
202
|
+
index: 1,
|
|
203
|
+
id: 'call_multi_02',
|
|
204
|
+
type: 'function',
|
|
205
|
+
function: { name: 'get_weather', arguments: '' },
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
finish_reason: null,
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
usage: null,
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
choices: [
|
|
216
|
+
{
|
|
217
|
+
delta: {
|
|
218
|
+
tool_calls: [{ index: 1, function: { arguments: '{"location":"London"}' } }],
|
|
219
|
+
},
|
|
220
|
+
finish_reason: null,
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
usage: null,
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
choices: [{ delta: {}, finish_reason: 'tool_calls' }],
|
|
227
|
+
usage: { prompt_tokens: 25, completion_tokens: 30, total_tokens: 55 },
|
|
228
|
+
},
|
|
229
|
+
];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { OpenAIChatCompletion, OpenAIChatCompletionChunk, OpenAIChatCompletionCreateRequest, OpenAIClient, OpenAIRequestOptions, OpenAIStreamingClient } from "../openai-types.js";
|
|
2
|
+
/** A client that returns queued Chat Completions responses and records what it was called with. */
|
|
3
|
+
export interface MockOpenAIClient extends OpenAIClient {
|
|
4
|
+
/** The request bodies received, in call order. */
|
|
5
|
+
_calls: OpenAIChatCompletionCreateRequest[];
|
|
6
|
+
/** The request options (second `create` argument) recorded per call. */
|
|
7
|
+
_requestOptions: Array<OpenAIRequestOptions | undefined>;
|
|
8
|
+
/** The queued responses, returned in order. */
|
|
9
|
+
_responses: OpenAIChatCompletion[];
|
|
10
|
+
/** The queued errors; each is thrown, in order, before any response is returned. */
|
|
11
|
+
_errors: Error[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Creates a mock OpenAI client that records calls and returns queued responses.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createMockOpenAIClient(responses: OpenAIChatCompletion[], errors?: Error[]): MockOpenAIClient;
|
|
17
|
+
/** A streaming client that yields queued chunk sequences and records what it was called with. */
|
|
18
|
+
export interface MockOpenAIStreamingClient extends OpenAIStreamingClient {
|
|
19
|
+
/** The request bodies received, in call order. */
|
|
20
|
+
_calls: OpenAIChatCompletionCreateRequest[];
|
|
21
|
+
/** The request options (second `create` argument) recorded per call. */
|
|
22
|
+
_requestOptions: Array<OpenAIRequestOptions | undefined>;
|
|
23
|
+
/** The queued chunk sequences, one per call, in order. */
|
|
24
|
+
_chunkSequences: OpenAIChatCompletionChunk[][];
|
|
25
|
+
/** The queued errors, thrown in order. */
|
|
26
|
+
_errors: Error[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Creates a mock OpenAI streaming client that yields queued chunk sequences.
|
|
30
|
+
*
|
|
31
|
+
* When `errorAfterEvents` is set, the async generator yields that many chunks
|
|
32
|
+
* from the current sequence before throwing the next error from `errors`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function createMockOpenAIStreamingClient(chunkSequences: OpenAIChatCompletionChunk[][], errors?: Error[], options?: {
|
|
35
|
+
errorAfterEvents?: number;
|
|
36
|
+
}): MockOpenAIStreamingClient;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a mock OpenAI client that records calls and returns queued responses.
|
|
3
|
+
*/
|
|
4
|
+
export function createMockOpenAIClient(responses, errors = []) {
|
|
5
|
+
const calls = [];
|
|
6
|
+
const requestOptions = [];
|
|
7
|
+
let responseIndex = 0;
|
|
8
|
+
let errorIndex = 0;
|
|
9
|
+
return {
|
|
10
|
+
_calls: calls,
|
|
11
|
+
_requestOptions: requestOptions,
|
|
12
|
+
_responses: responses,
|
|
13
|
+
_errors: errors,
|
|
14
|
+
chat: {
|
|
15
|
+
completions: {
|
|
16
|
+
async create(params, options) {
|
|
17
|
+
calls.push(params);
|
|
18
|
+
requestOptions.push(options);
|
|
19
|
+
const error = errors[errorIndex];
|
|
20
|
+
if (error && errorIndex < errors.length) {
|
|
21
|
+
errorIndex++;
|
|
22
|
+
throw error;
|
|
23
|
+
}
|
|
24
|
+
const response = responses[responseIndex];
|
|
25
|
+
if (!response) {
|
|
26
|
+
throw new Error(`MockOpenAIClient: no response at index ${responseIndex} (${responses.length} total)`);
|
|
27
|
+
}
|
|
28
|
+
responseIndex++;
|
|
29
|
+
return response;
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a mock OpenAI streaming client that yields queued chunk sequences.
|
|
37
|
+
*
|
|
38
|
+
* When `errorAfterEvents` is set, the async generator yields that many chunks
|
|
39
|
+
* from the current sequence before throwing the next error from `errors`.
|
|
40
|
+
*/
|
|
41
|
+
export function createMockOpenAIStreamingClient(chunkSequences, errors = [], options) {
|
|
42
|
+
const calls = [];
|
|
43
|
+
const requestOptions = [];
|
|
44
|
+
let sequenceIndex = 0;
|
|
45
|
+
let errorIndex = 0;
|
|
46
|
+
const errorAfterEvents = options?.errorAfterEvents;
|
|
47
|
+
return {
|
|
48
|
+
_calls: calls,
|
|
49
|
+
_requestOptions: requestOptions,
|
|
50
|
+
_chunkSequences: chunkSequences,
|
|
51
|
+
_errors: errors,
|
|
52
|
+
chat: {
|
|
53
|
+
completions: {
|
|
54
|
+
create(params, createOptions) {
|
|
55
|
+
calls.push(params);
|
|
56
|
+
requestOptions.push(createOptions);
|
|
57
|
+
const error = errors[errorIndex];
|
|
58
|
+
if (error && errorIndex < errors.length && errorAfterEvents === undefined) {
|
|
59
|
+
errorIndex++;
|
|
60
|
+
throw error;
|
|
61
|
+
}
|
|
62
|
+
const chunks = chunkSequences[sequenceIndex++] ?? [];
|
|
63
|
+
const midStreamError = errorAfterEvents !== undefined && errorIndex < errors.length
|
|
64
|
+
? errors[errorIndex++]
|
|
65
|
+
: undefined;
|
|
66
|
+
const threshold = errorAfterEvents ?? 0;
|
|
67
|
+
return (async function* () {
|
|
68
|
+
let yielded = 0;
|
|
69
|
+
for (const chunk of chunks) {
|
|
70
|
+
if (midStreamError && yielded >= threshold) {
|
|
71
|
+
throw midStreamError;
|
|
72
|
+
}
|
|
73
|
+
yield chunk;
|
|
74
|
+
yielded++;
|
|
75
|
+
}
|
|
76
|
+
if (midStreamError && yielded <= threshold) {
|
|
77
|
+
throw midStreamError;
|
|
78
|
+
}
|
|
79
|
+
})();
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test doubles for the OpenAI provider — `@lostgradient/operative-openai/testing`.
|
|
3
|
+
*
|
|
4
|
+
* Canned Chat Completions responses and streaming chunks, and mock clients that record the
|
|
5
|
+
* requests they receive, so a test can drive `createOpenAIProvider` and its siblings without the
|
|
6
|
+
* OpenAI SDK or a network.
|
|
7
|
+
*
|
|
8
|
+
* @module operative-openai/testing
|
|
9
|
+
*/
|
|
10
|
+
export { openAIMixedResponse, openAINoUsageResponse, openAIStreamEmptyChunks, openAIStreamMixedChunks, openAIStreamMultiToolChunks, openAIStreamTextChunks, openAIStreamToolCallChunks, openAITextResponse, openAIToolCallResponse, } from "./test/openai-fixtures.js";
|
|
11
|
+
export { createMockOpenAIClient, createMockOpenAIStreamingClient, } from "./test/openai-mock-clients.js";
|
|
12
|
+
export type { MockOpenAIClient, MockOpenAIStreamingClient } from "./test/openai-mock-clients.js";
|
package/dist/testing.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test doubles for the OpenAI provider — `@lostgradient/operative-openai/testing`.
|
|
3
|
+
*
|
|
4
|
+
* Canned Chat Completions responses and streaming chunks, and mock clients that record the
|
|
5
|
+
* requests they receive, so a test can drive `createOpenAIProvider` and its siblings without the
|
|
6
|
+
* OpenAI SDK or a network.
|
|
7
|
+
*
|
|
8
|
+
* @module operative-openai/testing
|
|
9
|
+
*/
|
|
10
|
+
export { openAIMixedResponse, openAINoUsageResponse, openAIStreamEmptyChunks, openAIStreamMixedChunks, openAIStreamMultiToolChunks, openAIStreamTextChunks, openAIStreamToolCallChunks, openAITextResponse, openAIToolCallResponse, } from "./test/openai-fixtures.js";
|
|
11
|
+
export { createMockOpenAIClient, createMockOpenAIStreamingClient, } from "./test/openai-mock-clients.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lostgradient/operative-openai",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The OpenAI model provider for Operative: a lazy-loading generate function for the Chat Completions API and any OpenAI-compatible endpoint, streaming, batches, the embedder, and the test doubles that exercise them.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/stevekinney/corvidae.git",
|
|
11
|
+
"directory": "packages/operative-openai"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22",
|
|
15
|
+
"bun": ">=1.4.0"
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./testing": {
|
|
23
|
+
"types": "./dist/testing.d.ts",
|
|
24
|
+
"default": "./dist/testing.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@lostgradient/operative": "0.18.0",
|
|
29
|
+
"armorer": "2.5.0",
|
|
30
|
+
"conversationalist": "2.2.0",
|
|
31
|
+
"openai": "^7.8.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {}
|
|
6
34
|
}
|