FileSearchResult interface

A file search result entry.

Properties

attributes

Key-value pairs for filtering file search results.

fileId

The unique ID of the file.

filename

The name of the file.

score

The relevance score of the file search result.

text

The text content of the file that matched the query.

Property Details

attributes

Key-value pairs for filtering file search results.

attributes?: Record<string, string>

Property Value

Record<string, string>

fileId

The unique ID of the file.

fileId?: string

Property Value

string

filename

The name of the file.

filename?: string

Property Value

string

score

The relevance score of the file search result.

score?: number

Property Value

number

text

The text content of the file that matched the query.

text?: string

Property Value

string