-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/entity linkage (STIT-342) #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
9e60ac6
86a0a9a
bc49d49
686a379
e881008
aae0d8f
f1003b1
9ea1e18
99d9bc6
29bf15e
9accfda
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,25 @@ | ||||||
| FROM python:3.12-slim-trixie | ||||||
|
|
||||||
| ENV PYTHONUNBUFFERED=1 | ||||||
|
|
||||||
| WORKDIR /app | ||||||
|
|
||||||
| # Small, self-contained runtime (not tied to the uv workspace/lock). | ||||||
| RUN python -m venv /opt/venv | ||||||
| ENV PATH="/opt/venv/bin:$PATH" | ||||||
|
|
||||||
| RUN pip install --no-cache-dir --upgrade pip \ | ||||||
| && pip install --no-cache-dir httpx==0.28.1 | ||||||
|
|
||||||
| COPY deployments/entity-linkage/entity_linkage.py /app/entity_linkage.py | ||||||
|
|
||||||
| # Defaults (override via compose/env) | ||||||
| ENV API_URL="http://api:8000" \ | ||||||
|
||||||
| ENV API_URL="http://api:8000" \ | |
| ENV API_URL="http://api:8000/api/v1" \ |
AlexAxthelm marked this conversation as resolved.
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,21 @@ | ||||||
| # entity-linkage (deployment) | ||||||
|
|
||||||
| A small client container that: | ||||||
| 1) makes a GET request to the Stitch API | ||||||
| 2) makes a POST request to the Stitch API | ||||||
|
|
||||||
| Note that for now, it does not terminate (runs in loop looking for resources to | ||||||
| merge) | ||||||
|
|
||||||
| Note that the the merging logic is trivial at this point (exact match on | ||||||
|
||||||
| Note that the the merging logic is trivial at this point (exact match on | |
| Note that the merging logic is trivial at this point (exact match on |
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README’s API_URL example (http://api:8000) doesn’t match the actual API base path, which is mounted under /api/v1 in stitch.api.main. Using the README example will cause this service to call /resources/ and fail. Update the example to include /api/v1 (or clarify what API_URL should point at).
| - Example: `http://api:8000` | |
| - Example: `http://api:8000/api/v1` |
Uh oh!
There was an error while loading. Please reload this page.