docs
This commit is contained in:
@@ -20,6 +20,10 @@ Migrations are applied automatically on server startup (`prisma migrate deploy`)
|
||||
|
||||
Open docs: `http://localhost:8787/docs`
|
||||
|
||||
API contract docs for clients:
|
||||
- `../docs/api/rest.md`
|
||||
- `../docs/api/streaming-chat.md`
|
||||
|
||||
## Run Modes
|
||||
|
||||
- `npm run dev`: runs `src/index.ts` with `tsx` in watch mode (auto-restart on file changes). Use for local development.
|
||||
@@ -54,6 +58,7 @@ If `ADMIN_TOKEN` is not set, the server runs in open mode (dev).
|
||||
- `POST /v1/searches`
|
||||
- `GET /v1/searches/:searchId`
|
||||
- `POST /v1/searches/:searchId/run`
|
||||
- `POST /v1/searches/:searchId/run/stream` (SSE)
|
||||
|
||||
Search runs now execute both Exa `searchAndContents` and Exa `answer`, storing:
|
||||
- ranked search results (for result cards), and
|
||||
|
||||
Reference in New Issue
Block a user