intellinode
Version:
Create AI agents using the latest models, including ChatGPT, Llama, Diffusion, Cohere, Gemini, and Hugging Face.
46 lines (26 loc) • 971 B
Plain Text
## Test wrapper functions ##
1- create a .env file in the root directory with keys:
OPENAI_API_KEY=<key_value>
COHERE_API_KEY=<key_value>
GOOGLE_API_KEY=<key_value>
STABILITY_API_KEY=<key_value>
2- run openAI wrapper unit test cases:
node test/integration/OpenAIWrapper.test.js
3- run cohere wrapper unit test cases:
node test/integration/CohereAIWrapper.test.js
4- run Google wrapper unit test cases:
node test/integration/GoogleAIWrapper.test.js
## Input objects ##
1- Language model input test cases:
node test/integration/LanguageModelInput.test.js
## Remote models ##
1- run the remote language models test cases:
node test/integration/RemoteLanguageModel.test.js
2- run the remote image models test cases:
node test/integration/RemoteImageModel.test.js
3- run the remote speech models test cases:
node test/integration/RemoteSpeechModel.test.js
4- run the chatBot test cases:
node test/integration/Chatbot.test.js
# publish command
# npm publish