Many-in-one AI client.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

12345678910111213141516171819202122232425262728
  1. import { Configuration } from './common';
  2. export * from './message';
  3. export * from './models';
  4. export * from './common';
  5. export { PlatformEventEmitter, PlatformEventEmitterImpl } from './events';
  6. export {
  7. ChatCompletion,
  8. ChatCompletionChunkDataEvent,
  9. DataEventObjectType as ChatCompletionDataEventObjectType,
  10. } from './features/chat-completion';
  11. export {
  12. TextCompletion,
  13. TextCompletionChunkDataEvent,
  14. DataEventObjectType as TextCompletionDataEventObjectType,
  15. } from './features/text-completion';
  16. export {
  17. CreateEditDataEvent,
  18. DataEventObjectType as EditDataEventObjectType,
  19. } from './features/edit';
  20. export { CreateImageDataEvent, CreateImageSize } from './features/image';
  21. export const PLATFORM_ID = 'openai' as const;
  22. export interface PlatformConfig {
  23. platform: typeof PLATFORM_ID;
  24. platformConfiguration: Configuration;
  25. }