diff --git a/packages/xsai/package.json b/packages/xsai/package.json index 65315d3..ce15e1f 100644 --- a/packages/xsai/package.json +++ b/packages/xsai/package.json @@ -38,8 +38,10 @@ "@xsai/generate-object": "workspace:", "@xsai/generate-speech": "workspace:", "@xsai/generate-text": "workspace:", + "@xsai/generate-transcription": "workspace:", "@xsai/model": "workspace:", "@xsai/providers": "workspace:", + "@xsai/shared-chat": "workspace:", "@xsai/stream-text": "workspace:", "@xsai/tool": "workspace:" } diff --git a/packages/xsai/src/index.ts b/packages/xsai/src/index.ts index b12df13..a91b9e7 100644 --- a/packages/xsai/src/index.ts +++ b/packages/xsai/src/index.ts @@ -7,6 +7,9 @@ export { embed, embedMany } from '@xsai/embed' export { generateObject } from '@xsai/generate-object' export { generateSpeech } from '@xsai/generate-speech' export { generateText } from '@xsai/generate-text' +export { generateTranscription } from '@xsai/generate-transcription' export { listModels, retrieveModel } from '@xsai/model' +// shared chat utils +export * from '@xsai/shared-chat' export { streamText } from '@xsai/stream-text' export { tool } from '@xsai/tool' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 683d335..1259570 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -301,12 +301,18 @@ importers: '@xsai/generate-text': specifier: 'workspace:' version: link:../generate-text + '@xsai/generate-transcription': + specifier: 'workspace:' + version: link:../generate-transcription '@xsai/model': specifier: 'workspace:' version: link:../model '@xsai/providers': specifier: 'workspace:' version: link:../providers + '@xsai/shared-chat': + specifier: 'workspace:' + version: link:../shared-chat '@xsai/stream-text': specifier: 'workspace:' version: link:../stream-text