Package ai.vectros.types
Interface SearchResultsEvent._FinalStage
- All Known Implementing Classes:
SearchResultsEvent.Builder
- Enclosing class:
SearchResultsEvent
public static interface SearchResultsEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllResults(List<RagSearchResult> results) additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) addResults(RagSearchResult results) build()True when one search backend was unavailable and these results came from the remaining engine only (for example, keyword search degraded to semantic-only during an outage).degradedLegs(List<String> degradedLegs) degradedLegs(Optional<List<String>> degradedLegs) Which retrieval legs were unavailable:text(keyword) and/orvector(semantic).results(List<RagSearchResult> results) The ranked results used to ground the model's answer.
-
Method Details
-
build
SearchResultsEvent build() -
additionalProperty
-
additionalProperties
-
results
The ranked results used to ground the model's answer. An empty array means nothing matched.
-
addResults
-
addAllResults
-
degraded
True when one search backend was unavailable and these results came from the remaining engine only (for example, keyword search degraded to semantic-only during an outage). The grounding context may be less complete in this case.
-
degraded
-
degradedLegs
Which retrieval legs were unavailable:
text(keyword) and/orvector(semantic). Empty when retrieval was not degraded. -
degradedLegs
-