with Agent By Name
fun withAgentByName(agentPlatform: AgentPlatform, agentName: String, listenerProvider: ListenerProvider = ListenerProvider { _, outputChannel ->
listOf(OutputChannelHighlightingEventListener(outputChannel))
}): Chatbot
Create a chatbot with the given agent. The agent is looked up by name from the agent platform.
Parameters
agent Platform
the agent platform to create and manage agent processes
agent Name
the name of the agent to
listener Provider
provider for contextual event listeners