- A JavaScript library that provides a simple and efficient way to interact with Generative ai JavaScript SDKs and APIS. It is designed to be easy to use and integrate into your existing projects, while also providing powerful features for advanced users.
To install the package, you can use any of the following package managers:
- Using
npm
:
npm install @oseelabs/ai-js
- Using
yarn
:
yarn add @oseelabs/ai-js
- Using
pnpm
:
pnpm add @oseelabs/ai-js
- Using
bun
:
bun add @oseelabs/ai-js
- Using
volta
:
volta add @oseelabs/ai-js
// Import the OseeLabs class from the package
import { Init } from '@oseelabs/ai-js';
// Create an instance of the OseeLabs class
const genai = new Init(
"YOUR_GEMINI_API_KEY",
{} as GoogleGenAIOptions,
);
const response = await genai.generateContent(
"What is AI?",
{} as GenerateContentConfig
);
console.log(response.text);
We welcome contributions to the OseeLabs AI JavaScript SDK! If you have any ideas, suggestions, or bug fixes, please feel free to open an issue or submit a pull request.
Please make sure to follow the contribution guidelines when submitting your contributions.
This project is licensed under the MIT License. For more details, please refer to the LICENSE file.
This project is developed and maintained by the OseeLabs team. We appreciate your support and contributions to make this project better!
- OseeLabs for providing the foundation for this project.
- Google Gemini for providing the Generative AI API.
This project is not affiliated with or endorsed by any of the mentioned companies. The use of their APIs and services is subject to their respective terms and conditions.
This project is provided "as is" without any warranties or guarantees. The authors and contributors are not responsible for any damages or losses caused by the use of this project.