Console Chat GPT Introduction
Console Chat GPT is a Python CLI for AI Chat API that allows users to enjoy seamless interactions with ChatGPT, MistralAI, and Claude by Anthropic directly from their command line. It is designed to elevate your chat experience with efficiency and ease.
Console Chat GPT Features
Console Chat GPT comes with a range of exciting features that enhance personalization, control, and convenience:
- AI Managed Mode: Automatically determines which model to use based on the complexity of the task.
- OpenAI Assistants Beta Support: Fully supports the OpenAI Assistants Beta.
- Configuration File: Customize the app's settings through the
config.toml
file for complete control over how the app works. - Role Selection: Define the role of the AI in the conversation for a more personalized and interactive experience.
- Temperature Control: Adjust the temperature of generated responses to control creativity and randomness in the conversation.
- Command Handling: Responds to various commands entered by the user for easy and intuitive interaction.
- Image Input: Supports image input with selected models.
- Error Handling: Provides clear and helpful error messages to easily understand and resolve any issues.
- Conversation History: Review and save conversations for future reference, providing context and continuity.
- Graceful Exit: Smoothly handles interruptions, ensuring conversations are saved before exiting to avoid loss of progress.
- Active Development Team: Continuously adding features, open for ideas, and fixing bugs.
Console Chat GPT Installation and Usage
To install and use Console Chat GPT, follow these steps:
- Clone the repository:
git clone https://github.com/amidabuddha/console-chat-gpt.git
- Go inside the folder:
cd console-chat-gpt
- Install the necessary dependencies:
python3 -m pip install -r requirements.txt
- Get your API key from OpenAI, MistralAI, or Anthropic depending on your selected LLM.
- Upon first run, the
config.toml.sample
will be automatically copied intoconfig.toml
, with a prompt to enter your API key/s. - Run the executable:
python3 main.py
- Use the help command within the chat to check the available options.
Note: The script works fine on Linux and MacOS terminals. For Windows, it's recommended to use WSL.
Console Chat GPT Examples
Here are some examples of how to use Console Chat GPT:
- Prompt Example:
User: What is the capital of France? AI: The capital of France is Paris.
- Markdown Visualization Example:
# My Chat with AI - **User**: What is the capital of France? - **AI**: The capital of France is Paris.
- Settings and Help:
Use the
help
command to get information about available settings and how to use them.
Console Chat GPT Contributing
Console Chat GPT is an open-source project hosted on GitHub. Contributions are welcome, and the development team is open to ideas and feedback to improve the application.
Console Chat GPT FAQs
Here are some frequently asked questions about Console Chat GPT:
- Q: What platforms does Console Chat GPT support?
- A: Console Chat GPT supports Linux, MacOS, and Windows (with WSL).
- Q: How do I get started with Console Chat GPT?
- A: Follow the installation and usage instructions provided above to get started.
- Q: Can I customize the AI's responses?
- A: Yes, you can adjust the temperature of generated responses to control creativity and randomness.
- Q: Is there a way to review past conversations?
- A: Yes, Console Chat GPT allows you to review and save conversation history for future reference.