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

https://github.com/shubhamprajapati7748/gemini-pro-chat


https://github.com/shubhamprajapati7748/gemini-pro-chat

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Google Gemini-Pro Chat Application

A Streamlit web application that allows users to chat with Google's GenerativeAI (Gemini-Pro). The application enables users to interact with Gemini-Pro in a conversational manner.

## About The Project

The Google Gemini-Pro Chat Application is a Streamlit-based web interface that facilitates interactive conversations with Google's GenerativeAI. Users can ask questions or engage in dialogue, receiving responses generated by the powerful Gemini-Pro model.

![chat-screen](chat-screen.png)

## Getting Started

To get started with the project, follow the steps below.

### Prerequisites

- Google Generativeai
- Google API Key
- Streamlit

### Installation

1. Clone the repository:

```bash
git clone https://github.com/shubhamprajapati241/gemini-pro-chat.git
cd gemini-pro-chat
```

2. Install dependencies:

```bash
pip install -r requirements.txt
```

3. Set up your Google API Key:

- Create a project on the [Google Cloud Console](https://console.cloud.google.com/).
- Enable the GenerativeAI API.
- Create an API key and add it to your environment variables or a `.env` file.

4. Run the application:

```bash
streamlit run app.py
```

The application will be accessible at [http://localhost:8501/](http://localhost:8501/).

## Usage

1. Open your web browser and navigate to [http://localhost:8501/](http://localhost:8501/).
2. Enter your message in the chat input box.
3. Chat with Google Gemini-Pro and view the responses in real-time.

## Contributing

Contributions to the Google Gemini-Pro Chat Application are welcome! If you have suggestions, enhancements, or bug fixes, please follow the steps below:

1. Fork the project.
2. Create your feature branch (`git checkout -b feature/YourFeature`).
3. Commit your changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature/YourFeature`).
5. Open a pull request.

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

## Contact

- Shubham Prajapati - [[email protected]](mailto:[email protected])