Releases: bit-web24/gemini_flash
Releases · bit-web24/gemini_flash
v1.0.0
v0.1.0 - Initial Release
We are excited to announce the first release of GeminiFlash, a Node.js client for Google's Gemini-1.5-Flash Generative AI Model. This release marks the initial availability of the library, allowing users to generate content using the Gemini API.
Features:
- Generate Content: Use the
generate_content
method to generate responses based on a given prompt. - Rust Backend: Leverages the efficiency and performance of Rust for backend processing.
- Easy Integration: Simple and straightforward API for integrating with your Node.js applications.
Usage Example:
const GeminiFlash = require('gemini_flash');
const gemini_flash = new GeminiFlash('api-key-here');
(async () => {
try {
const prompt = "what is a computer?";
const content = await gemini_flash.generate_content(prompt);
console.log("Generated Content:", content.text);
} catch (error) {
console.error("Error:", error);
}
})();
Installation:
npm install gemini_flash
Prerequisites:
- Node.js v18.20.3 or later
- npm v10.7.0 or later
- Rust
We look forward to your feedback and contributions to further improve this library. Happy coding!