[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🤖 Terminal-based AI Chat Application powered by Groq, enabling seamless conversational interactions through a simple Python script. Easily configurable with Groq API, supporting multiple language models and customizable chat parameters.

Notifications You must be signed in to change notification settings

syarwani-1/Simple-Chat-Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Groq Chat Terminal

Overview

A simple terminal-based chat using Groq AI for conversational interactions.

Prerequisites

  • Python 3.8+
  • Groq API Key

Installation

Dependencies

pip install python-dotenv groq

Termux Installation

If using Termux, first install Rust:

pkg install rust
pkg install python
pip install python-dotenv groq

API Key Setup

  1. Create an account at Groq Console
  2. Generate your API key
  3. Create a .env file in the project directory
  4. Add your API key:
    GROQ_API_KEY=your_api_key_here
    

Configuration

  • Modify temperature to adjust response creativity
  • Change max_tokens to control response length
  • Select different Groq AI models as needed
  • Customize the system instructions as you like Change here

Running the Application

python chat_ai.py

Usage

  • Type your messages normally
  • Type exit, quit, or bye to end the conversation

Troubleshooting

  • Verify Python installation
  • Check API key validity
  • Ensure internet connectivity

About

🤖 Terminal-based AI Chat Application powered by Groq, enabling seamless conversational interactions through a simple Python script. Easily configurable with Groq API, supporting multiple language models and customizable chat parameters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages