PaLM AI Helper Demo
This Package is now deprecated and not maintained
palm-ai-helper
is a Node.js library that provides a simple interface for interacting with the Google Generative Language API for conversational generation. It simplifies the process of sending queries to the DiscussService of the Google Generative Language API.
To use palm-ai-helper
, you can install it via npm:
npm i palm-ai-helper
Before using Palm, make sure to obtain your API key from Google Generative AI API.
const palm = require("palm-ai-helper");
palm.setAPIKey('YOUR_API_KEY');
async function test(){
await palm.askAI('how to make pizza? ').then(result => console.log(result));
await palm.askAI('what will happend if i throw it in water?').then(result => console.log(result));
}
test();
MIT License