Class: DefaultAgentManager
agent.DefaultAgentManager
Implements
Constructors
constructor
• new DefaultAgentManager(agents
, defaultAgentKey
)
Parameters
Name | Type |
---|---|
agents | Object |
defaultAgentKey | string |
Defined in
packages/convostack-agent/dist/index.d.ts:51
Methods
getAgent
▸ getAgent(key
): IAgent
Parameters
Name | Type |
---|---|
key | string |
Returns
Implementation of
Defined in
packages/convostack-agent/dist/index.d.ts:56
getAgentAIRole
▸ getAgentAIRole(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Implementation of
Defined in
packages/convostack-agent/dist/index.d.ts:60
getAgentAvatarUrl
▸ getAgentAvatarUrl(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Implementation of
IAgentManager.getAgentAvatarUrl
Defined in
packages/convostack-agent/dist/index.d.ts:62
getAgentDisplayName
▸ getAgentDisplayName(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Implementation of
IAgentManager.getAgentDisplayName
Defined in
packages/convostack-agent/dist/index.d.ts:57
getAgentHumanRole
▸ getAgentHumanRole(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Implementation of
IAgentManager.getAgentHumanRole
Defined in
packages/convostack-agent/dist/index.d.ts:59
getAgentPrimer
▸ getAgentPrimer(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Implementation of
Defined in
packages/convostack-agent/dist/index.d.ts:58
getDefaultAgent
▸ getDefaultAgent(): IAgent
Returns
Implementation of
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