Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amulyamachhan/geminigpt

GeminiGPT is an advanced language model based on the Gemini GPT architecture. It provides powerful natural language processing capabilities, enabling users to generate human-like text based on given prompts. This project leverages the Google Generative AI API for seamless integration and enhanced performance.
https://github.com/amulyamachhan/geminigpt

api chatgpt css gemini gemini-api gpt html javascript model

Last synced: 6 days ago
JSON representation

GeminiGPT is an advanced language model based on the Gemini GPT architecture. It provides powerful natural language processing capabilities, enabling users to generate human-like text based on given prompts. This project leverages the Google Generative AI API for seamless integration and enhanced performance.

Awesome Lists containing this project

README

        

# GeminiGPT

![amulyamachhan github io_GeminiGPT](https://github.com/AmulyaMachhan/GeminiGPT/assets/111338400/170b0612-35e3-4551-90a6-1603dd2ab97d)

## Version
0.0

## Description
GeminiGPT is an advanced language model based on the Gemini GPT architecture. It provides powerful natural language processing capabilities, enabling users to generate human-like text based on given prompts. This project leverages the Google Generative AI API for seamless integration and enhanced performance.

You can view this site [here](https://amulyamachhan.github.io/GeminiGPT/)

## Table of Contents
- [Features](#features)
- [Setup](#setup)
- [Usage](#usage)
- [API Configuration](#api-configuration)
- [Adding Personalities](#adding-personalities)
- [Editing Personalities](#editing-personalities)
- [Deleting Personalities](#deleting-personalities)
- [Sharing Personalities](#sharing-personalities)
- [Importing Personalities](#importing-personalities)
- [Managing Chat History](#managing-chat-history)
- [Contributing](#contributing)
- [License](#license)

## Features
- **Customizable Personalities**: Add, edit, delete, and share different AI personalities.
- **Chat History Management**: Save, delete, and view chat history.
- **Adjustable AI Settings**: Customize AI response settings such as temperature and maximum tokens.
- **Markdown Support**: AI responses can be formatted using Markdown.
- **Import/Export Personalities**: Easily share personalities through JSON files.

## Setup

### Prerequisites
- A modern web browser (Chrome, Firefox, Edge, etc.)
- An API key from Google Generative AI

### Installation
1. Clone the repository or download the source code.
2. Open `index.html` in your preferred web browser.
3. Enter your API key in the settings.

### Running the Application
1. Open the `index.html` file in a web browser.
2. Enter your API key in the input field provided.
3. Adjust AI settings such as `maxTokens` and `temperature` as needed.
4. Choose a personality or add a new one.
5. Start chatting by entering a message and clicking the "Send" button.

## Usage

### Adding Personalities
1. Click the "Add Personality" button.
2. Fill in the required fields: Name, Description, Prompt, and Image URL.
3. Click "Submit" to add the personality to the list.

### Editing Personalities
1. Click the "Edit" button on the personality card.
2. Modify the fields as needed.
3. Click "Submit" to save changes.

### Deleting Personalities
1. Click the "Delete" button on the personality card.
2. Confirm the deletion.

### Sharing Personalities
1. Click the "Share" button on the personality card.
2. A JSON file will be downloaded containing the personality details.

### Importing Personalities
1. Click the "Import Personality" button.
2. Select a JSON file containing the personality details.
3. The imported personality will be added to the list.

### Managing Chat History
1. Chat history is saved automatically.
2. View chat history by selecting a chat from the history section.
3. Delete individual chats by clicking the "Delete" button next to each chat.

## API Configuration
1. Obtain an API key from Google Generative AI.
2. Enter your API key in the input field on the settings page.

## Contributing
1. Fork the repository.
2. Create a new branch for your feature or bugfix.
3. Make your changes and commit them with descriptive messages.
4. Push your changes to your fork and submit a pull request.

## License
This project is licensed under the MIT License. See the LICENSE file for details.

## Acknowledgements
- [Marked](https://marked.js.org/) - A markdown parser and compiler.
- [Google Generative AI](https://ai.google/) - AI platform for generating responses.
- [Dexie.js](https://dexie.org/) - A minimalistic wrapper for IndexedDB.

## Contact
For any inquiries or issues, please open an issue on the GitHub repository or contact the maintainer.