Uses of Class
ai.vectros.types.SearchResult.Builder
Packages that use SearchResult.Builder
-
Uses of SearchResult.Builder in ai.vectros.types
Methods in ai.vectros.types that return SearchResult.BuilderModifier and TypeMethodDescriptionSearchResult.Builder.additionalProperties(Map<String, Object> additionalProperties) SearchResult.Builder.additionalProperty(String key, Object value) static SearchResult.BuilderSearchResult.builder()The exact text chunk that matched the query.SearchResult.Builder.contextText(String contextText) SearchResult.Builder.contextText(Optional<String> contextText) A broader passage surrounding the matched chunk.When the source item was created, as an ISO-8601 UTC timestamp.SearchResult.Builder.documentId(String documentId) SearchResult.Builder.documentId(Optional<String> documentId) The ID of the source document or record this chunk belongs to.SearchResult.Builder.externalId(String externalId) SearchResult.Builder.externalId(Optional<String> externalId) TheexternalIdyou supplied for the source item at ingestion, if any.SearchResult.Builder.from(SearchResult other) The metadata you supplied for this item when you ingested it, such as its title, folder ID, and any custom fields you included.The combined relevance score that fuses the text and semantic signals (reciprocal rank fusion).SearchResult.Builder.semanticScore(Double semanticScore) SearchResult.Builder.semanticScore(Optional<Double> semanticScore) The semantic (vector similarity) component of the score.A short excerpt with the matched query terms highlighted.SearchResult.Builder.sourceType(SearchResultSourceType sourceType) SearchResult.Builder.sourceType(Optional<SearchResultSourceType> sourceType) Indicates what kind of source item this result came from:PartnerDocumentfor documents ingested viaPOST /v1/documentsorPOST /v1/documents/upload, andGenericRecordfor typed records created viaPOST /v1/records.The keyword (BM25) relevance component of the score.