unichat-ts
v2.3.20
Published
Universal API chat Node.js client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek and Alibaba.
Readme
unichat
Universal API chat Node.js client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek and Alibaba.
Build sequence:
rm -rf distnpx tscnpm publishUsage:
- Install the npm package:
npm install unichat-tsAdd the class 'UnifiedChatApi' from module 'unichat' to your application:
[optional] Import MODELS_LIST as well for additional validation
Functionality testing:
Try the eclosed in the source code 'test.js' file:
npm test