Skip to main content

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

SearchHistoryFilter interface

Signature:

export interface SearchHistoryFilter 

Properties

Property

Modifiers

Type

Description

dataSourceId?

string | undefined

(Optional) Filter history by the data source ID.

knowledgeBaseId?

string | undefined

(Optional) Filter history by the knowledge base ID.

sessionId?

string | undefined

(Optional) Filter history by the internal session ID.

sessionUri?

string | undefined

(Optional) Filter history by the session URI. Used for tracking and analytics purposes. Example: chatbots://\{agentId\}/id-of-chat-session/id-of-message

sessionUser?

string | undefined

(Optional) Filter history by the user who performs the search in the knowledge base. Example: user@example.com

withEmptyResults?

boolean | undefined

(Optional) Whether to include the history results with empty results.