Skip to content

Commit 26ba42b

Browse files
update reqs for guardrail app
1 parent bc7c349 commit 26ba42b

File tree

3 files changed

+42
-5
lines changed

3 files changed

+42
-5
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Environment variables (IMPORTANT: Never commit credentials!)
2+
.env
3+
4+
# Python
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
*.so
9+
.Python
10+
11+
# Virtual environments
12+
venv/
13+
env/
14+
ENV/
15+
dash-app-venv/
16+
17+
# IDEs
18+
.vscode/
19+
.idea/
20+
*.swp
21+
*.swo
22+
*~
23+
24+
# OS
25+
.DS_Store
26+
Thumbs.db
27+
28+
# Jupyter Notebook
29+
.ipynb_checkpoints
30+
31+
# Distribution / packaging
32+
dist/
33+
build/
34+
*.egg-info/
35+
36+
# Logs
37+
*.log

trusted-ai/runtime-evaluations/real-time-guardrails/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For RAG evaluation metrics (Answer Relevance, Context Relevance, Faithfulness),
4646

4747
## Prerequisites
4848

49-
- Python 3.11+ (recommended)
49+
- Python 3.11 (not python 3.13)
5050
- IBM watsonx.ai account with API credentials
5151
- IBM watsonx.governance access
5252

@@ -55,7 +55,7 @@ For RAG evaluation metrics (Answer Relevance, Context Relevance, Faithfulness),
5555
### 1. Create Virtual Environment
5656

5757
```bash
58-
python3 -m venv venv
58+
python3.11 -m venv my-venv
5959
```
6060

6161
### 2. Activate Virtual Environment

trusted-ai/runtime-evaluations/real-time-guardrails/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ dash_bootstrap_components==1.4.1
44
dash-table==5.0.0
55

66
# IBM watsonx.governance
7-
ibm-watsonx-gov>=1.1.0
7+
ibm-watsonx-gov==1.1.0
88
ibm-cloud-sdk-core>=3.16.1
99

1010
# Data processing
11-
pandas>=2.2.0
11+
pandas>=2.1.0,<2.2.0
1212
numpy>=1.26.4
1313
scikit-learn>=1.3.0
1414

@@ -17,7 +17,7 @@ python-dotenv==1.0.0
1717
jproperties==2.1.1
1818

1919
# Utilities
20-
requests==2.31.0
20+
requests==2.32.2
2121

2222
# Evaluation dependencies
2323
jsonschema>=4.17.0

0 commit comments

Comments
 (0)