askitty is a simple CLI tool designed to interact with generative models like large language models (LLMs) and image generation APIs. The tool supports various features, including chat history, new chat session commands, global and individual system prompts, and more.
Check out this demo video
- LLM API: Supports any LLM that follows the OpenAI/v1 spec.
- Image Generation API: Supports any image generation API that follows the OpenAI/v1 spec.
- Chat History: View and manage chat history.
- Sessions: Start new sessions, view existing sessions, and delete sessions.
- System Prompts: Set and manage global and session-specific prompts.
- Configuration: Set and view global configuration.
- Error Handling: Robust error handling for a seamless experience.
- Markdown Preview: Preview messages in Markdown format.
To get started with askitty, you can use the following command to download and install the latest release:
curl -sSL https://askitty.rdsx.dev/install.sh | bashOnce installed, you can use askitty from the command line with the following syntax:
askitty [FLAG] [MESSAGE]-h, --helpDisplay help message-v, --versionDisplay version-m, --messageMessage to send to the model-i, --imagineGenerate image from text-r, --replStart a REPL-n, --newStart a new session-s, --sessionsView all sessions-s <session_id>View a specific session-d <session_id>Delete a specific session-c, --clearClear all sessions-p, --promptSet global system prompt-p <session_id>Set a specific session prompt-ps, --prompt-showShow global system prompt-pc, --prompt-clearClear global system prompt-pd, --prompt-delete <session_id>Delete a specific session prompt-vc, --view-configView global configuration-sc, --set-configSet global configuration
askitty -m "Hello, how are you?"askitty -i "A beautiful sunset over the mountains"askitty -naskitty -saskitty -s <session_id>askitty -p "You are a helpful assistant."Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
