Skip to content

QuantumByteStudios/google-bard-on-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Bard on Console

Google Bard on Console is a console-based AI chat application that brings the power of natural language processing to your command line interface. Interact with Google Bard, your virtual assistant, right from the terminal, making information retrieval and casual conversations a breeze.

Features

  • Terminal/Console-based Features:
    • Text-Based Interface: Utilize a simple and efficient text-based interface for a lightweight user experience.
    • Colorful Output: Enjoy colorful and visually appealing terminal output to enhance readability.

Installation

  1. Clone the repository:

    git clone https://github.com/QuantumByteStudios/google-bard-on-console.git
  2. Navigate to the project directory:

    cd google-bard-on-console
  3. Install dependencies:

    pip install -r requirements.txt

API Key

  1. Get an API Key:

    To use the API, you need an API key. You can create a key with one click in MakerSuite.

  2. Create api.py File:

    In the root directory of your project, create a new file named api.py.

  3. Add API Key to api.py:

    Open api.py in a text editor and add the following line:

      API_KEY = "YOUR_API_KEY_HERE"
    

    Replace YOUR_API_KEY with the actual API key you obtained.

  4. Save the File:

    Save the changes to api.py.

Usage

  1. Run the application:

    python main.py

Screenshots

0

1

2

3