To set up this project, follow the steps below:
-
Clone the repository to your local machine.
-
Install the required dependencies listed in the
requirements.txt
file. You can use the following command to install them:pip install -r requirements.txt
-
Make sure you have the necessary environment variables set up in
.env
:OPENAI_API_KEY
: Your OpenAI API key.JIRA_EMAIL
: Your JIRA email address.JIRA_API_TOKEN
: Your JIRA API token.JIRA_DOMAIN
: The domain of your JIRA instance.
To initialize the project, run the main.py script with the init command. This will build the JIRA index and the vector store. Use the following command:
python main.py init
To ask questions based on the JIRA data, use the ask command followed by your question. For example:
python main.py ask "What is Kix working on?"
This will query the JIRA data in the vector store and provide a response based on the provided question.