|
- import { Configuration } from './common';
-
- export * from './message';
- export * from './models';
- export * from './common';
- export { PlatformEventEmitter, PlatformEventEmitterImpl } from './events';
- export {
- ChatCompletion,
- ChatCompletionChunkDataEvent,
- DataEventObjectType as ChatCompletionDataEventObjectType,
- } from './features/chat-completion';
- export {
- TextCompletion,
- TextCompletionChunkDataEvent,
- DataEventObjectType as TextCompletionDataEventObjectType,
- } from './features/text-completion';
- export {
- CreateEditDataEvent,
- DataEventObjectType as EditDataEventObjectType,
- } from './features/edit';
- export { CreateImageDataEvent, CreateImageSize } from './features/image';
-
- export const PLATFORM_ID = 'openai' as const;
-
- export interface PlatformConfig {
- platform: typeof PLATFORM_ID;
- platformConfiguration: Configuration;
- }
|