Gemini Generative AI Prompt icon
Module Id
gemini-ai-prompt
Group Id
org.jahia.se.modules.gemini-ai-prompt
Updated
Requires Jahia
8.2.0.6
Author
Stephane Monier
Category
Tools and Utilities
Status
COMMUNITY info

Gemini Generative AI Prompt group_work

ai react.js gemini

Gemini AI Prompt is a Jahia V8.2.0.6 module that integrates with Google Gemini AI to enhance content rendering. It utilizes Jahia's render filter mechanism to modify or augment content dynamically using AI. The module is implemented as an OSGi component and requires configuration with an API key.

https://github.com/smonier/gemini-ai-prompt

 

Features

  • Seamless integration with Google Gemini AI (React Front-End integration)
  • Multi-language support (EN, FR, ES, DE)
  • Persistent chat history (localStorage)
  • Reset chat history functionality
  • Fully responsive UI using Material-UI
  • i18n translation support

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

FAQ

Usage

1. Chat with Gemini AI

  • Click on the Gemini Logo on the right side of the screen in Live mode or Edit mode
  • Enter a message in the input field.
  • Click "Send" or press Enter.
  • Gemini AI will generate a response.

2. Reset Chat

  • Click the Reset button in the top-right corner to clear the conversation.

How To Install

1. Clone the Repository

git clone https://github.com/smonier/gemini-ai-prompt.git cd gemini-ai-prompt 

2. Install Dependencies

npm install 

3. Configure Environment Variables

Environment variables are set in the org.jahia.se.modules.geminiPrompt.cfg file in the Jahia Module:

gemini.apitoken=your_google_gemini_api_key gemini.model=the_chosen_model 

4. Build the Application

mvn clean install 

Deploy the module into your Jahia instance using module admnistration UI and activate it for the desire web project

Images

License

MIT License

Copyright (c) 2024 Jahia Forge - Code Repository

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.