Skip to content

Commit 6c55a80

Browse files
committed
Fix orca dependency setup for PoC
1 parent 7d4416d commit 6c55a80

3 files changed

Lines changed: 7 additions & 161 deletions

File tree

examples/opik_vs_elastic/Instructions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ From the SDK repo root:
2121
```bash
2222
uv sync --group dev --extra runner --extra poc
2323
source .venv/bin/activate
24+
uv pip install --editable ../orca
2425
```
2526

2627
Register the venv as a Jupyter kernel. Only needed if your notebook/IDE doesn't pick up `.venv` automatically:
2728

2829
```bash
29-
uv run python -m ipykernel install --user --name elastic-evals-poc
30+
uv run --no-sync python -m ipykernel install --user --name elastic-evals-poc
3031
```
3132

3233
## 3. Secrets
@@ -173,7 +174,7 @@ run SDK-side and custom evaluators, and ingest their scores.
173174

174175
```bash
175176
cd /Users/mafaldasavelho/Documents/work-repos/kibana-fork/evals-python-sdk/elastic-evals-sdk-python
176-
uv run --extra poc python examples/opik_vs_elastic/run.py
177+
uv run --no-sync python examples/opik_vs_elastic/run.py
177178
```
178179

179180
### `run2.py`: granular workflow
@@ -183,5 +184,5 @@ coordinates the Dataset, Evaluators, and Score Ingestion APIs, runs the custom
183184
Document Recall evaluator, and attaches external Orca scores.
184185

185186
```bash
186-
uv run --extra poc python examples/opik_vs_elastic/run2.py
187+
uv run --no-sync python examples/opik_vs_elastic/run2.py
187188
```

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ runner = ["click>=8.4.2"]
2424
poc = [
2525
"datasets>=5.0.0",
2626
"elasticsearch>=9.3.0",
27+
"gcsfs>=2026.3.0",
2728
"ipykernel>=7.3.0",
2829
"loguru>=0.7.3",
2930
"opik>=2.1.32",
30-
"orca",
3131
"pandas>=3.0.3",
3232
"python-dotenv>=1.2.2",
3333
]
@@ -91,6 +91,3 @@ known-first-party = ["elastic_evals"]
9191

9292
[tool.uv]
9393
environments = ["python_version >= '3.12'"]
94-
95-
[tool.uv.sources]
96-
orca = { path = "../orca", editable = true }

uv.lock

Lines changed: 2 additions & 154 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)