Create a virtual environment with python venv or conda
Install octo with pip
pip install -r requirements.txt pip install .This will successfully install octo package.
Environment variables
Firstly you need to have OPENAI_API_KEY and GITHUB_TOKEN and set the environment variables OPENIAI_API_KEY and GITHUB_TOKEN respectively.
$ echo "export OPENAI_API_KEY=<KEY>" >> ~/.bashrc$ echo "export GITHUB_TOKEN=<TOKEN>" >> ~/.bashrcCommands
For each command to work octo is prefix.
- --help: Information about usage of octo
- --version: to display the version of octo
- start: To establish a connection with MindsDB server
- init: Initialize a repo
- status: to check the status of octo
- tell: Asking question realted to the repo
- checkout: To change the working repo
- drop: To remove a model
- list: To display all the models present
- stop: to disconnect the MindsDB server
Clone the project
git clone https://github.com/pranavvp16/octo.gitGo to the project directory
cd octoInstall dependencies
pip install -r requirements.txt pip install git+https://github.com/pranavvp16/mindsdb.git@llama_index pip install .Start the Companion
start command to start the mindsdb server locally
octo startinit command to initialize the repo
octo init <GitHubUsername>/<repo> <branch_name>status command to check the status of the octo
octo statustell command for asking questions about the repo
octo tell "<Your Question>"checkout command to change the working repo
octo checkout <GitHubUsername>/<repo>drop command to remove a model
octo drop <GitHubUsername>/<repo>list command to display all the models initialized
octo liststop command to terminate the mindsdb server
octo stop Python
MindsDB
octo is being licensed under the MIT License.
