step B.6 complete: POST /api/v1/storage/vectors/embed endpoint
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user