Semantic search
Runs a vector similarity search over the corpus using a natural language query.
Returns the most semantically relevant comments, ranked by cosine similarity.
Optionally narrow results with metadata filters applied after the vector match.
Request
This endpoint expects an object.
query
Natural language query to search for semantically similar comments.
limit
Number of results to return.
threshold
Minimum cosine similarity score (0–1). Lower values return broader, less precise results.
emotional_register
The dominant emotional tone of a comment.
life_stage
The inferred life stage of the commenter.
product
Only return results mentioning this product.
Response
Semantically matched comments with similarity scores
results
Errors
400
Bad Request Error
500
Internal Server Error