ackDB

Semantic search over entity content

Hybrid search (pgvector cosine similarity + BM25 keyword search) over an entity's embedded content chunks. Uses Reciprocal Rank Fusion (RRF) to combine results.

Requires: an embedding provider configured (GEMINI_API_KEY by default, or OPENAI_API_KEY as the fallback provider - see EMBEDDING_PROVIDER) and npm run embed to have processed payloads. Returns 501 if semantic search is not configured.

get/api/v1/ackdb/entities/{entityId}/search

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

entityIdstring required

Entity ID (ULID)

Query parameters

qstring required

Natural language search query (e.g., 'pricing discussions', 'payment failures')

limitinteger

Maximum number of results to return.

Response

Ranked search results

querystring required
totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.