Semantic search for similar posts
Search for posts semantically similar to the given query text using pgvector embeddings.
get/posts/similar
Request
- Base URL: https://app.voteship.app/api/v1
- URL: https://app.voteship.app/api/v1/posts/similar
- Auth: HTTP bearer
Query parameters
querystring required
Text to search for
thresholdnumber
Minimum similarity score (0-1)
limitinteger
Maximum results to return
Response
Similar posts ranked by similarity
Example response
{
"data": [
{
"similarity": 0.92
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.