Skip to main content

Class: DefaultAgentManager

agent.DefaultAgentManager

Implements

Constructors

constructor

new DefaultAgentManager(agents, defaultAgentKey)

Parameters

NameType
agentsObject
defaultAgentKeystring

Defined in

packages/convostack-agent/dist/index.d.ts:51

Methods

getAgent

getAgent(key): IAgent

Parameters

NameType
keystring

Returns

IAgent

Implementation of

IAgentManager.getAgent

Defined in

packages/convostack-agent/dist/index.d.ts:56


getAgentAIRole

getAgentAIRole(key): string

Parameters

NameType
keystring

Returns

string

Implementation of

IAgentManager.getAgentAIRole

Defined in

packages/convostack-agent/dist/index.d.ts:60


getAgentAvatarUrl

getAgentAvatarUrl(key): string

Parameters

NameType
keystring

Returns

string

Implementation of

IAgentManager.getAgentAvatarUrl

Defined in

packages/convostack-agent/dist/index.d.ts:62


getAgentDisplayName

getAgentDisplayName(key): string

Parameters

NameType
keystring

Returns

string

Implementation of

IAgentManager.getAgentDisplayName

Defined in

packages/convostack-agent/dist/index.d.ts:57


getAgentHumanRole

getAgentHumanRole(key): string

Parameters

NameType
keystring

Returns

string

Implementation of

IAgentManager.getAgentHumanRole

Defined in

packages/convostack-agent/dist/index.d.ts:59


getAgentPrimer

getAgentPrimer(key): string

Parameters

NameType
keystring

Returns

string

Implementation of

IAgentManager.getAgentPrimer

Defined in

packages/convostack-agent/dist/index.d.ts:58


getDefaultAgent

getDefaultAgent(): IAgent

Returns

IAgent

Implementation of

IAgentManager.getDefaultAgent

Defined in

packages/convostack-agent/dist/index.d.ts:55


getDefaultAgentKey

getDefaultAgentKey(): string

Returns

string

Implementation of

IAgentManager.getDefaultAgentKey

Defined in

packages/convostack-agent/dist/index.d.ts:54


listAvailableAgents

listAvailableAgents(): string[]

Returns

string[]

Implementation of

IAgentManager.listAvailableAgents

Defined in

packages/convostack-agent/dist/index.d.ts:61