Skip to content

Commit e556edb

Browse files
committed
update readme for instructions of use
1 parent 95a5453 commit e556edb

1 file changed

Lines changed: 61 additions & 35 deletions

File tree

README.md

Lines changed: 61 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,6 @@
1818
</p>
1919
2020
<p align="center">
21-
<!--[[[cog
22-
from scripts.badges import get_badges_md
23-
text = get_badges_md()
24-
cog.out(text)
25-
]]]-->
26-
<a href="https://github.com/Aider-AI/aider/stargazers"><img alt="GitHub Stars" title="Total number of GitHub stars the Aider project has received"
27-
src="https://img.shields.io/github/stars/Aider-AI/aider?style=flat-square&logo=github&color=f1c40f&labelColor=555555"/></a>
28-
<a href="https://pypi.org/project/aider-chat/"><img alt="PyPI Downloads" title="Total number of installations via pip from PyPI"
29-
src="https://img.shields.io/badge/📦%20Installs-1.7M-2ecc71?style=flat-square&labelColor=555555"/></a>
30-
<img alt="Tokens per week" title="Number of tokens processed weekly by Aider users"
31-
src="https://img.shields.io/badge/📈%20Tokens%2Fweek-15B-3498db?style=flat-square&labelColor=555555"/>
32-
<a href="https://openrouter.ai/"><img alt="OpenRouter Ranking" title="Aider's ranking among applications on the OpenRouter platform"
33-
src="https://img.shields.io/badge/🏆%20OpenRouter-Top%2020-9b59b6?style=flat-square&labelColor=555555"/></a>
34-
<a href="https://aider.chat/HISTORY.html"><img alt="Singularity" title="Percentage of the new code in Aider's last release written by Aider itself"
35-
src="https://img.shields.io/badge/🔄%20Singularity-92%25-e74c3c?style=flat-square&labelColor=555555"/></a>
36-
<!--[[[end]]]-->
37-
</p>
3821

3922
## Why explORE-AI?
4023

@@ -52,30 +35,73 @@ We owe a **huge thanks** to [Aider](https://github.com/Aider-AI/aider) for provi
5235

5336
- 🏦 **ORE-Specific Insights****explORE-AI** can reference and analyze ORE’s specific code structure, giving more precise guidance.
5437
- 🗺️ **Codebase Mapping** — Just like Aider, but with a deeper understanding of the ORE ecosystem.
55-
- 🧠 **[Cloud and Local LLMs](https://aider.chat/docs/llms.html)** — Choose from Claude, DeepSeek, GPT variants, or almost any other LLM.
56-
- `</>` **[Multi-Language Support](https://aider.chat/docs/languages.html)** — Even though ORE is mostly C++, explORE-AI supports 100+ coding languages.
57-
- 🔀 **[Git Integration](https://aider.chat/docs/git.html)** — Automatic commits with sensible messages, so you can track AI-generated changes effortlessly.
58-
- 🏗️ **Domain-Specific Testing & Linting** — Integrates smoothly with ORE’s tests or any specialized linters to ensure high-quality code.
59-
- 🗣️ **Voice-to-Code** — Request new features, bug fixes, or run analytics queries by voice.
60-
- 📋 **[Copy/Paste Web Chat](https://aider.chat/docs/usage/copypaste.html)** — If you need to jump into a browser-based LLM environment, explORE-AI makes it easier.
38+
- 🧠 **[Cloud and Local LLMs](https://aider.chat/docs/llms.html)** — explORE-AI is mainly developed and tested with GPT variants, however other models supported by aider may work.
39+
40+
41+
# Getting Started with explORE-AI
42+
43+
Follow the instructions below to clone, install, and use explORE-AI effectively.
44+
45+
## Directory Structure
46+
47+
Ensure your directory is structured correctly for explORE-AI to function properly:
48+
49+
```
50+
root/
51+
├── Engine/
52+
└── explORE-AI/
53+
```
6154

62-
## Getting Started
55+
This layout enables explORE-AI to locate the ORE directory correctly.
56+
57+
## Cloning the Repository
58+
59+
Clone the explORE-AI repository into the **root** directory using the following command:
6360

6461
```bash
65-
# 1. Clone this explORE-AI repository
6662
git clone https://github.com/Devin-Cook/explORE-AI.git
63+
```
64+
65+
## Installation
66+
67+
Navigate to your `root` directory (containing both the `Engine` and `explORE-AI` directories) and install explORE-AI by running:
68+
69+
```bash
70+
python -m pip install ./explORE-AI
71+
```
6772

68-
# 2. Install
69-
python -m pip install ./explore-ai
73+
## Usage
7074

71-
# 3. Navigate to your ORE codebase
72-
cd /path/to/OpenSourceRiskEngine
75+
After installation, you can interact with explORE-AI in several ways:
7376

74-
# 4. Launch explORE-AI with your preferred model:
75-
aider --model deepseek --api-key deepseek=<key>
77+
### 1. Command-Line Interaction
78+
79+
To start the chat via command-line mode, use:
80+
81+
```bash
82+
explore-ai --openai-api-key=OPENAPI_KEY
83+
```
84+
85+
Replace `OPENAPI_KEY` with your actual OpenAI API key.
86+
87+
### 2. GUI Mode
88+
89+
To launch the graphical user interface (GUI) via Streamlit, execute:
90+
91+
```bash
92+
explore-ai --openai-api-key=OPENAPI_KEY --gui
93+
```
94+
95+
### 3. GUI with Userguide Materials
96+
97+
To initialize the GUI along with the Userguide materials, run:
98+
99+
```bash
100+
explore-ai --openai-api-key=OPENAPI_KEY --userguide
101+
```
76102

77-
# Example for Claude:
78-
aider --model sonnet --api-key anthropic=<key>
103+
## Additional Notes
79104

80-
# Example for o3-mini:
81-
aider --model o3-mini --api-key openai=<key>
105+
- Ensure you are in the `root` directory containing both `Engine` and `explORE-AI` when running installation and other commands.
106+
- Verify the validity of your OpenAI API key.
107+
- If you encounter any issues, confirm your directory structure and dependencies installation.

0 commit comments

Comments
 (0)