Skip to main content

@wildix/wim-knowledge-base-client > SearchHistoryResultItem

SearchHistoryResultItem interface

Signature:

export interface SearchHistoryResultItem 

Properties

Property

Modifiers

Type

Description

chunkId

string

The ID of the chunk. Example: 123e4567-e89b-12d3-a456-426614174000

content?

string | undefined

(Optional)

dataSourceId

string

Unique identifier of the data source

dataSourceType

DataSourceType

documentHierarchy?

(string)[] | undefined

(Optional) The hierarchy of the document. The hierarchy is a list of document IDs that are the parents of the current document. The hierarchy is used to build the document hierarchy in the search results.

documentId

string

Unique identifier of the document

documentTitle

string

documentUrl

string

fullTextScore?

number | undefined

(Optional) The score of the result, calculated from the full-text bm25 search score.

score

number

The total score of the result, calculated from the semantic search score and the full-text search score.

semanticScore?

number | undefined

(Optional) The score of the result, calculated from the semantic vector search score.