Skip to content

Commit 4c095ca

Browse files
UI: Markdown formation of responses in chatbox
& added test cases
1 parent d7e756e commit 4c095ca

File tree

9 files changed

+773
-324
lines changed

9 files changed

+773
-324
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ __pycache__/
44
*.pyo
55
*.pyd
66
*.ipynb_checkpoints/
7+
.pytest_cache/
78

89
# IDE-specific files
910
.vscode/

README.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
1-
# domain-modelling-copilot
2-
1+
```markdown
2+
# Domain Modelling Copilot
3+
4+
Domain Modelling Copilot is an interactive web-based tool that allows users to describe scenarios in natural language and automatically generate domain models and UML diagrams using AI. It helps streamline the domain modeling process by bridging the gap between narrative and visual design.
5+
6+
🛠️ Getting Started
7+
8+
1. Clone the repository
9+
10+
git clone https://github.com/VasiliySeibert/domain-modelling-copilot.git
11+
cd domain-modelling-copilot
12+
```
13+
14+
2. Set up a virtual environment (optional)
15+
16+
```bash
17+
python -m venv venv
18+
source venv/bin/activate # On Windows: venv\Scripts\activate
19+
```
20+
21+
3. Install dependencies
22+
23+
```bash
24+
python -m pip install -r requirements.txt
25+
```
26+
27+
4. Set your OpenAI API key
28+
29+
You must have an OpenAI API key to use the application. Set it as an environment variable:
30+
31+
```bash
32+
export OPENAI_API_KEY=your_api_key_here # On Windows: set OPENAI_API_KEY=your_api_key_here
33+
```
34+
35+
5. Run the application
36+
37+
```bash
38+
python app.py
39+
```
40+
41+
Visit `http://localhost:5000` in your browser.
42+
```

0 commit comments

Comments
 (0)