edenai-node
v1.1.5
Published
A Node.js module for seamless interaction with Eden AI's API, enabling easy GET requests for various functionalities.
Downloads
5
Maintainers
Readme
EdenAI-Node
A Node.js module for seamless interaction with Eden AI's API, enabling easy GET requests for various functionalities.
How to install
To install this module, use the npm package manager. Run the following command in the terminal:
npm install edenai-node
How to use
Check out our public installable module for typescript / javascript: https://www.npmjs.com/package/edenai-node
API key is required to get the response from AI.
import { EdenAINode } from "edenai-node";
const edenAI = new EdenAINode("api_key");
const getApiResponse = () => {
edenAI
.getChatResponse("Can you help me?", "openai")
.then((response) => console.log(response))
.catch(console.error);
};
getApiResponse();
Other informations
The module requires the following:
| Parameters | Description |
| ---------- | --------------------------------------------------------- |
| apikey | You can get it from: https://www.edenai.co/ |
| providers | The following providers are available: openai
, google
|
Roadmap
| Task | Status | | -------------- | ---------- | | Chat AI | ✔️ Done | | Voice AI | ❌ Pending | | Speech To Text | ❌ Pending | | Text To Speech | ❌ Pending | | Image AI | ❌ Pending |
Contribution
If you want to contribute to this project, please consult the contribution guide.