Skip to content

wallacesintra/PyGemini-Terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGemini-Terminal

PyGemini Terminal

A terminal chatbot powered by Google's Gemini API. This chatbot will enable text-based interaction through a user-friendly terminal interface.

Contributors

Project Features

  • Interactive Terminal Interface: Provides a user-friendly terminal interface for text-based interaction.

  • Integration with Google's Gemini API: Leverages the power of Google's Gemini API to generate responses, making the chatbot more intelligent and capable of handling complex queries.

  • Easy Setup: Designed with a simple setup process, making it easy for users to get started.

  • Open Source: The project is open-source, allowing developers to contribute and enhance its features.

  • Platform: Works in Linux.

  • Extensible: The design allows for easy addition of new features and improvements.

PyGemini Console Guide

The console.py script provides a command-line interface for interacting with the PyGemini application. Here's how to use it:

Starting the Console

get your gemini API key from ai.google.dev/gemini-api/docs/api-key

To start the console, navigate to the directory containing console.py

genai.configure(api_key= "your_gemini_api_key")

replace your_gemini_api_key with your API key

and run the script with Python:

python3 console.py

get started

Commands

  • exit: Exit the console

  • clear: Clear the console screen

  • history: View the history of commands. If you provide a title as an argument, you can view the content of that specific history item. Example usage: history <title>

    forecast_screen
  • history_clear: Clear the history. You can either clear all history or a specific history item by providing a title as an argument. Example usage: history_clear all or history_clear <title>

Autocomplete

The console supports autocompletion for the history and history_clear commands. Just start typing the title of a history item and press Tab to autocomplete.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages