Skip to content

Commit 96ff8eb

Browse files
Remove unused files and update requirements for Flask and OpenAI integration
1 parent 2f268e8 commit 96ff8eb

File tree

10 files changed

+26
-405
lines changed

10 files changed

+26
-405
lines changed

.dockerignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Python-related files
2+
*.pyc
3+
__pycache__/
4+
*.pyo
5+
*.pyd
6+
*.ipynb_checkpoints/
7+
8+
# IDE-specific files
9+
.vscode/
10+
.idea/
11+
12+
# OS-specific files
13+
.DS_Store
14+
Thumbs.db
15+
16+
# Docker-related files
17+
*.log
18+
.env

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ GPT_API_VERSION="2024-08-01-preview"
44
EMBEDDING_MODEL="text-embedding-3-small"
55
EMBEDDING_API_VERSION="2023-05-15"
66
ENDPOINT="https://ai4se-openai.openai.azure.com/"
7-
AZURE_OPENAI_API_KEY="${AZURE_OPENAI_API_KEY}"
7+
AZURE_OPENAI_API_KEY="VDfaCeEbTyAyPRC3C02mZyyANPxZGBxODmWOpWechSlv7GQ8zmmuJQQJ99AKACI8hq2XJ3w3AAABACOGPYeE"

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/docker-pipeline.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ jobs:
99
build-and-push:
1010
runs-on: ubuntu-latest
1111

12-
env:
13-
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
14-
1512
steps:
1613
- name: Checkout repository
1714
uses: actions/checkout@v3
@@ -31,6 +28,6 @@ jobs:
3128
context: .
3229
file: ./Dockerfile
3330
push: true
34-
tags: darshanscripts/domain-modelling-copilot:latest
35-
cache-from: type=registry,ref=darshanscripts/domain-modelling-copilot:latest
31+
tags: darshanscripts/domain-modelling-copilot-temp:latest
32+
cache-from: type=registry,ref=darshanscripts/domain-modelling-copilot-temp:latest
3633
cache-to: type=inline

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ __pycache__/
55
*.pyd
66
*.ipynb_checkpoints/
77

8-
98
# IDE-specific files
109
.vscode/
1110
.idea/
@@ -15,4 +14,5 @@ __pycache__/
1514
Thumbs.db
1615

1716
# Docker-related files
18-
*.log
17+
*.log
18+
.env

Adapters/GPT_v2/gpt2.py

Lines changed: 0 additions & 372 deletions
This file was deleted.

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
pytest
2-
pytest-flask
1+
flask
2+
python-dotenv
3+
openai

static/domain_model.png

-43.1 KB
Binary file not shown.

tests/__init__.py

Whitespace-only changes.

tests/test_app.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)