Skip to content

ayushd1919/project-b1-nlp

 
 

Repository files navigation

Gemini Query Lab

Gemini Query Lab is a web-based interface that allows users to interact with the Gemini API using a chat-like format. This tool is built with a modern dark theme and offers features such as Markdown rendering, code block copy functionality with acknowledgements, local storage of chat history, and responsive design for mobile devices.

Features

  • Dark Theme Interface:
    The application uses a sleek, dark theme for a comfortable user experience in low-light environments.

  • Chat Interface:
    Users can ask questions and receive answers from the Gemini API in a conversational, chat-style interface.

  • Markdown Rendering:
    Responses are rendered using Markdown, which supports formatted text and code blocks.

  • Copy Code Functionality:
    Each code block includes a "Copy" button that copies the code to your clipboard with a brief "Copied!" acknowledgement.

  • Chat History:
    Conversations are stored locally in the browser. You can download or clear your chat history using the provided options.

  • Settings Modal:
    Easily set or update your Gemini API key through a settings modal.

  • Responsive Design:
    The interface adapts to different screen sizes, ensuring usability on both desktop and mobile devices.

How to Use

  1. Set Up Your API Key:

    • On the welcome page, click the Set Up API Key button.
    • Follow the instructions to obtain your Gemini API key from the Google Cloud Console.
    • Enter your API key in the settings modal that appears.
  2. Interact with the Chat Interface:

    • Once the API key is saved, the chat interface will be displayed.
    • Type your question into the input box and either click the Send button or press Enter.
    • The response from the Gemini API will be rendered in the chat window with Markdown formatting.
  3. Manage Chat History:

    • Download History: Click the Download History button to save your conversation as a text file.
    • Clear History: Click the Clear History button to remove all stored chat history from your browser.
  4. Additional Settings:

    • Access the settings modal at any time by clicking the Settings button to update your Gemini API key.

Guide

For detailed instructions on creating Gemini API keys, efficiently using this platform, and an overview of all features, please visit the Guide Page.

About

  • Developer:
    • Deep Bansode (DrasticCoder)
    • Tushar Deshmukh
    • Vinayak Balachandran
    • Vineet Iyer
    • Deeksha Gawas
    • Akshata Gawand
    • Soham Chavan
    • Adnan Hajwani
    • Aditya Acharya
    • Aditya Gupta
    • Sharif Tasleem
    • Harshit Bhat
    • Ayush Duduskar
  • Inspiration: Special thanks to Dhiraj Amin Sir for inspiring the idea behind this platform.
  • Additional Resources:
    Learn more about Google's AI offerings at the Google AI Developer Site.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 90.4%
  • CSS 9.6%