docs_search_jpos
Find precise answers in jPOS documentation by combining semantic and keyword search, returning up to 5 matched sections with similarity scores.
Instructions
Search jPOS documentation using hybrid semantic + keyword search.
Returns up to 5 matches with source, section, page, and similarity score. Scores are calibrated for the all-mpnet-base-v2 embedding model combined with a keyword overlap rerank:
strong >= 0.55 (direct answer expected in chunk)
good >= 0.40 (relevant context, may need synthesis)
partial >= 0.25 (tangentially related) Chunks below 0.25 are filtered out as noise.
Pipeline:
Expand short/jargon queries with domain context
Embed the expanded query and fetch top 15 candidates by cosine
Rerank candidates with keyword overlap from the original query (70% cosine + 30% keyword overlap)
Return top 5
Why return raw chunks instead of summarizing: the calling LLM can reason about conflicting chunks, notice version differences, and assess confidence from similarity scores. Pre-summarizing loses this nuance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language question about jPOS configuration or usage. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |