Experience terminal mastery made easy with our generative guide, featuring smart command suggestions, typo tolerance, and real-time assistance for seamless navigation and learning.
This project is built upon llm-app. We extend our gratitude to the llm-app contributors for their valuable work and contributions.
- Smart Command Suggestions: The guide provides intelligent command suggestions based on user input, making it easier for users to navigate the terminal efficiently.
- Gives response with respect to your current machine specifications.
- Typo Tolerance
- Make sure that Python 3.10 or above installed on your machine.
- Download and Install Pip to manage project packages.
- Create an OpenAI account and generate a new API Key: To access the OpenAI API, you will need to create an API Key. You can do this by logging into the OpenAI website and navigating to the API Key management page.
This is done with the git clone
command followed by the URL of the repository:
git clone https://github.com/ujjwall-R/CMDbuddy
Next, navigate to the repository:
cd CMDbuddy
Create an .env file in the root directory and add the following environment variables, adjusting their values according to your specific requirements and setup.
For example:
APP_VARIANT=contextful
PATHWAY_REST_CONNECTOR_HOST=0.0.0.0
PATHWAY_REST_CONNECTOR_PORT=8080
OPENAI_API_KEY=<Your Token>
PATHWAY_CACHE_DIR=/tmp/cache
You can install and run the LLM App.
-
Install poetry:
pip install poetry
-
Install llm_app and dependencies:
poetry install --with examples --extras local pip install poetry
You can omit
--extras local
part if you're not going to run local example. -
Run the examples: You can start the example with the command:
poetry run ./run_examples.py contextful
Add path to main.sh in ~/.bashrc. If you use zsh add the path in ~/.zshrc.
# Add the following line at the end of the ~/.bashrc file
alias cbuddy='path/to/project/main.sh'
Restart terminal or run:
source ~/.bashrc
-
cbuddy
Please check out our Q&A to get solutions for common installation problems and other issues.
To provide feedback or report a bug, please raise an issue.
Anyone who wishes to contribute to this project, whether documentation, features, bug fixes, code cleanup, testing, or code reviews, is very much encouraged to do so.
- Better query support
- open source llm support
Feel free to reach out.