Skip to content

A smart python shell that is focused on data processing and empowered byt GPT

License

Notifications You must be signed in to change notification settings

HarmonicHemispheres/tacoshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



A smart python shell for data processing, automation and much more with OpenAi's API

Tacoshell version License
Credit to OpenAi Credit to DuckDB



🌮 Why Tacos for Dinner?

Because they are delicious!🤩

Taco lets you view session history with OpenAi models easily bad taco text
Easily see available OpenAi models you have access to model list
Data is stored in `DuckDB` making analysis on chat sessions easy! duckdb persistant sessions
Export Chat Sessions for external uses and analysis export options
Set custom protocals for GPT to follow (the model's 'SYSTEM') jar jar jokes



🌮 Get Cookin!

Install

python -m pip install 'tacoshell @ git+https://github.com/HarmonicHemispheres/tacoshell@main'

Create Config

Taco stores settings and configuration in the taco.toml file and stores chat conversation data and a few other runtime settings in taco.db. Note, you can get your open-ai API key from here: https://platform.openai.com/account/api-keys

taco init

Launch Shell

taco chat



🦾 Commands

🌮 .help

<TEXT>               --  ask openai a question in the current chat session

.quit                --  exit taco shell
.help                --  list builtin commands
.clear/.clr          --  clears the console
.cfg                 --  show the config settings
.session             --  show the details of the current session and its history
.sessions            --  list chat sessions
.models              --  shows available OpenAi models
.set-session <NAME>  --  switch to a different chat session
.set-system <TEXT>   --  set a chat session 'system'. who is the ai? how do they respond?
.export              --  export the current chat session to csv
.export-csv          --  export the current chat session to csv
.export-json         --  export the current chat session to json
.export-xlsx         --  export the current chat session to xlsx
.export-html         --  export the current chat session to html

Start a Fresh Session

this command will drop the local taco.db database and start a fresh one.

taco chat --new



🛣️ Roadmap & Ideas

  • add way to set a system message for a chat session to guide the ai model
  • chat session content export options (simple)
    • json
    • csv
    • xlsx
    • html
  • file import system to add file content to chat context without copy paste
  • add system to use sql to query the taco.duckdb database from the taco shell
  • add "Chat Commands" that allow GPT to specify commands that will run predefined python functions to enable a auto-GPT system
    • add config setting for custom "Chat Commands"
  • add way to modify temperature of models for variable control of model response behavior
  • add way to remove\inactivate chat sessions
  • add way to deactivate specific messages in chat session to shape session focus
  • add update or chat content migration mechanism for database updates
  • add application logging to .log files for enhanced troubleshooting and details
  • add a watch mode, where agent tasks can perform scheduled jobs and triggers can cause a specific chat session to be prompted with some data.
  • add a documentation site in sphinx
  • add streamlit app to interact with Taco
  • add .info command with details about OpenAi docs, taco statistics, python package versions and other useful details 😆

About

A smart python shell that is focused on data processing and empowered byt GPT

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages