step B.6 complete: POST /api/v1/storage/vectors/embed endpoint

This commit is contained in:
2026-03-05 00:07:06 +01:00
parent 6d9a16e513
commit cc603aba06
2 changed files with 25 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ Tools must use **camelCase** field names (Drizzle maps them to snake_case intern
- **Outcome:** Clean final frame. No more action descriptors in the protocol.
### Step B.6 — Add `/vectors/embed` endpoint
- [ ] Add to `app/api/routes/vectors.py`:
- [x] Add to `app/api/routes/vectors.py`:
- `POST /api/v1/storage/vectors/embed`:
- Request: `{ text: str }`
- Response: `{ vector: list[float] }` (1536-dim from `text-embedding-3-small`)