Skip to content

This project uses text generation model to serve as a helpful coding assistant

Notifications You must be signed in to change notification settings

oyilmaztekin/starchat-coding-assistan-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarChat Logo

StarChat - Your Local Coding Assistant 🌟

This project harnesses the power of the StarChat Beta text generation model to serve as a helpful coding assistant. StarChat Beta is an advanced AI model designed to assist with coding tasks. To learn more about StarChat Beta, visit HuggingFace's StarChat Beta.

an example of code generation

Why Longchain Instead of Pipeline?

Unlike traditional approaches that involve downloading and using specific models, this project leverages a Longchain architecture. It seamlessly accesses Hugging Face's free models for text generation without the need for downloading any models to your computer. This allows for efficient and hassle-free text generation with the assistance of StarChat Beta.

Get started with your coding assistant and enjoy productive coding sessions! ✨

Usage and Installation

Virtual Environment

To isolate the project from other Python installations, create a virtual environment using the following commands:

python -m venv venv
# Windows
source venv/Scripts/Activate
# Mac and Unix
source venv/bin/activate

Install Dependencies

Install the required dependencies from requirements.txt by running the following command:

pip install -r requirements.txt

Define huggingface api key

Create a .env file in the project directory and assign your Hugging Face API token to the variable HUGGINGFACEHUB_API_TOKEN like this:

HUGGINGFACEHUB_API_TOKEN=yourapitokenhere

Run the App

To start the chatbot application, execute the app.py script with your desired prompt:

python app.py 'Your Prompt'

About

This project uses text generation model to serve as a helpful coding assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages