Universal API chat Node.js client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek and Alibaba.
rm -rf dist
npx tsc
npm publish
- Install the npm package:
npm install unichat-ts
-
Add the class 'UnifiedChatApi' from module 'unichat' to your application:
-
[optional] Import MODELS_LIST as well for additional validation
Try the eclosed in the source code 'test.js' file:
npm test