RetrievalAgent
@nuclia/core • Docs
@nuclia/core / RetrievalAgent
Class: RetrievalAgent
Provides access to all the Retrieval Agent contents and services.
Extends
Implements
Constructors
new RetrievalAgent()
new RetrievalAgent(
nuclia,account,data):RetrievalAgent
Parameters
• nuclia: INuclia
• account: string
• data: IKnowledgeBoxBase | IKnowledgeBoxStandalone
Returns
Inherited from
WritableKnowledgeBox.constructor
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:148
Properties
accountId
accountId:
string
Inherited from
WritableKnowledgeBox.accountId
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:98
admin?
optionaladmin:boolean
True if the current user is an administrator of the Knowledge Box.
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:923
allowed_ip_addresses?
optionalallowed_ip_addresses:null|string[]
Implementation of
IRetrievalAgent.allowed_ip_addresses
Inherited from
WritableKnowledgeBox.allowed_ip_addresses
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:30
allowed_origins?
optionalallowed_origins:null|string[]
Implementation of
IRetrievalAgent.allowed_origins
Inherited from
WritableKnowledgeBox.allowed_origins
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:29
contrib?
optionalcontrib:boolean
True if the current user is a contributor of the Knowledge Box.
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:925
created?
optionalcreated:string
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:28
description?
optionaldescription:string
Implementation of
Inherited from
WritableKnowledgeBox.description
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:26
external_index_provider?
optionalexternal_index_provider:string
Implementation of
IRetrievalAgent.external_index_provider
Inherited from
WritableKnowledgeBox.external_index_provider
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:34
hidden_resources_enabled?
optionalhidden_resources_enabled:boolean
Implementation of
IRetrievalAgent.hidden_resources_enabled
Inherited from
WritableKnowledgeBox.hidden_resources_enabled
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:32
hidden_resources_hide_on_creation?
optionalhidden_resources_hide_on_creation:boolean
Implementation of
IRetrievalAgent.hidden_resources_hide_on_creation
Inherited from
WritableKnowledgeBox.hidden_resources_hide_on_creation
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:33
id
id:
string
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:22
nuclia
protectednuclia:INuclia
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:99
search_configs?
optionalsearch_configs:object
Index Signature
[key: string]: any
Implementation of
IRetrievalAgent.search_configs
Inherited from
WritableKnowledgeBox.search_configs
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:31
slug
slug:
string
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:23
state?
optionalstate:KBStates
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:25
title
title:
string
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:24
wsOpeningCount
wsOpeningCount:
number=0
Defined in
libs/sdk-core/src/lib/db/retrieval-agent/retrieval-agent.ts:126
zone
zone:
string
Implementation of
Inherited from
Defined in
libs/sdk-core/src/lib/db/kb/kb.models.ts:27
Accessors
activityMonitor
getactivityMonitor():ActivityMonitor
Returns
Implementation of
IRetrievalAgent.activityMonitor
Inherited from
WritableKnowledgeBox.activityMonitor
Defined in
libs/sdk-core/src/lib/db/kb/kb.ts:957
fullpath
getfullpath():string
The Retrieval Agent fullpath on the regional API.
Returns
string
Implementation of
Overrides
Defined in
libs/sdk-core/src/lib/db/retrieval-agent/retrieval-agent.ts:54
path
getpath():string
The Retrieval Agent path on the regional API.
Returns
string