|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The single chunk hit by knowledge base retrieval, including the relevance score, chunk body, and location information. |
||
| ChunkSeq |
integer |
The sequence number of the chunk within the document. |
12 |
| Content |
string |
The body content of the hit chunk. |
EventBridge supports routing events to multiple target services |
| DocumentId |
string |
The ID of the document to which the hit chunk belongs. |
doc-bp1xxxxxxxxxxxx |
| FileName |
string |
The file name of the document to which the hit chunk belongs. This value has the same source as the FileName returned by GetDocument and can be used to render the reference source. |
product-handbook.pdf |
| Score |
number |
The retrieval relevance score. A higher score indicates higher relevance. |
0.92 |
| Scores |
object |
The score details for each stage. Score fields that are not involved in the calculation are not returned. |
|
| Fusion |
number |
The score after hybrid search fusion (reciprocal rank fusion or weighted normalization, depending on the active fusion algorithm). Value range: [0, 1]. |
0.78 |
| Keyword |
number |
The normalized score of keyword (full-text) search. Value range: [0, 1]. |
0.62 |
| Rerank |
number |
The score assigned by the rerank model. Value range: [0, 1]. |
0.91 |
| Vector |
number |
The similarity score of vector retrieval. Value range: [0, 1]. |
0.85 |
| SourceLocation |
string |
The location of the chunk in the original document. p.N indicates page N (PDF). s.N indicates slide N (PPT/PPTX). |
p.3 |
| TitlePath |
string |
The title path to which the chunk belongs, such as Chapter 1>1.1 Overview. |
Installation Guide>Prerequisites |