RetrievalAgent
@nuclia/core / RetrievalAgent
Class: RetrievalAgent
Defined in: libs/sdk-core/src/lib/db/retrieval-agent/retrieval-agent.ts:45
Provides access to all the Retrieval Agent contents and services.
Extends
Implements
Constructors
Constructor
new RetrievalAgent(
nuclia,account,data):RetrievalAgent
Defined in: libs/sdk-core/src/lib/db/kb/kb.ts:154
Parameters
nuclia
account
string
data
IKnowledgeBoxBase | IKnowledgeBoxStandalone
Returns
RetrievalAgent
Inherited from
WritableKnowledgeBox.constructor
Properties
accountId
accountId:
string
Defined in: libs/sdk-core/src/lib/db/kb/kb.ts:104
Inherited from
WritableKnowledgeBox.accountId
admin?
optionaladmin?:boolean
Defined in: libs/sdk-core/src/lib/db/kb/kb.ts:1013
True if the current user is an administrator of the Knowledge Box.
Implementation of
Inherited from
allowed_ip_addresses?
optionalallowed_ip_addresses?:string[] |null
Defined in: libs/sdk-core/src/lib/db/kb/kb.models.ts:40
Implementation of
IRetrievalAgent.allowed_ip_addresses