Built upon the amazing foundation of Aider
explORE-AI helps you navigate, understand, and contribute to the Open Source Risk Engine (ORE) codebase. Originally derived from the powerful Aider AI pair-programming tool, this fork is tailored for domain-specific insights into ORE. If you find Aider useful for general purposes, please check out their project. For ORE-focused development, read on!
Open Source Risk Engine (ORE) is a large and sophisticated library for risk analytics, financial instrument modeling, and more. Diving into ORE can be intimidating due to its size and complexity.
explORE-AI:
- Leverages Aider’s AI pair-programming features and tailors them for ORE development.
- Provides specialized insights into ORE’s architecture, including analytics, classes, and data relationships.
- Helps generate targeted refactors, test scaffolds, or risk analytics examples relevant to ORE.
We owe a huge thanks to Aider for providing the robust foundation that made this fork possible.
- 🏦 ORE-Specific Insights — explORE-AI can reference and analyze ORE’s specific code structure, giving more precise guidance.
- 🗺️ Codebase Mapping — Just like Aider, but with a deeper understanding of the ORE ecosystem.
- 🧠 Cloud and Local LLMs — explORE-AI is mainly developed and tested with GPT variants, however other models supported by aider may work.
Follow the instructions below to clone, install, and use explORE-AI effectively.
Ensure your directory is structured correctly for explORE-AI to function properly:
root/
├── Engine/
└── explORE-AI/
This layout enables explORE-AI to locate the ORE directory correctly.
Clone the explORE-AI repository into the root directory using the following command:
git clone https://github.com/Devin-Cook/explORE-AI.gitNavigate to your root directory (containing both the Engine and explORE-AI directories) and install explORE-AI by running:
python -m pip install ./explORE-AIAfter installation, you can interact with explORE-AI in several ways:
To start the chat via command-line mode, use:
explore-ai --openai-api-key=OPENAPI_KEYReplace OPENAPI_KEY with your actual OpenAI API key.
To launch the graphical user interface (GUI) via Streamlit, execute:
explore-ai --openai-api-key=OPENAPI_KEY --guiTo initialize the GUI along with the Userguide materials, run:
explore-ai --openai-api-key=OPENAPI_KEY --userguide --gui- Ensure you are in the
rootdirectory containing bothEngineandexplORE-AIwhen running installation and other commands. - Verify the validity of your OpenAI API key.
- If you encounter any issues, confirm your directory structure and dependencies installation.