A smart python shell for data processing, automation and much more with OpenAi's API
Because they are delicious!🤩
python -m pip install 'tacoshell @ git+https://github.com/HarmonicHemispheres/tacoshell@main'
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
taco chat
🌮 .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
this command will drop the local taco.db
database and start a fresh one.
taco chat --new
- 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 😆