Skip to content

pradytpk/go-cli-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI CLI application with golang

A powerful CLI based assistant usign Open AI, Built with GO alt text

Installation

To install the project, you need to have Go installed on your machine. Once you have Go installed, you can clone the repository and install the dependencies.

git clone https://github.com/pradytpk/go-cli-ai.git
cd repository

To run the project, you can use the go run command:

go run main.go

How to get started? Create a .config folder -

mkdir ~/.config
cd ~/.config

create a config file here - terminal-assistant.json and mention the following details -

{
    "openai_key": "REPLACE WITH YOUR OPEN AI KEY",      
    "openai_model": "gpt-3.5-turbo",   
    "openai_proxy": "",               
    "openai_temperature": 0.0,        
    "openai_max_tokens": 2000,         
    "user_default_prompt_mode": "exec",
    "user_preferences": ""             
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages