Coder Social home page Coder Social logo

groq-shell-assistant's Introduction

Groq Shell Assistant

Overview

Groq Shell Assistant is a conversational AI assistant that can interact with users and call external tools to perform tasks.

Setup

Prerequisites

  • Python 3.8+
  • pip

Clone the Repository

git clone https://github.com/skapadia3214/groq-shell-assistant.git

Install Dependencies

cd groq-shell-assistant
pip install -r requirements.txt

Set up Environment Variable

Create a .env file in the root of the repository with the following contents:

GROQ_API_KEY=<your-groq-api-key>
TAVILY_API_KEY=<your-tavily-api-key> (optional)
  • You can get your Groq API KEY here.
  • You can get your Tavily API KEY here.

Run the Assistant

python main.py

Optional Arguments

You can run the main.py with some optional arguments:

  • --model: Specify the Groq model to use (default: llama-3.1-70b-versatile)
  • --messages: Specify initial messages in JSON format
  • --current_dir: Specify the current working directory for the shell tool.

Interacting with the Assistant

To interact with the assistant, simply type a message and press enter. The assistant will respond with a helpful response.

Contributing

Contributions are welcome! To contribute, simply fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

groq-shell-assistant's People

Contributors

skapadia3214 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.