utilityFromPlatform

fun utilityFromPlatform(agentPlatform: AgentPlatform, conversationFactory: ConversationFactory = InMemoryConversationFactory(), verbosity: Verbosity = Verbosity(), listenerProvider: ListenerProvider = ListenerProvider { _, outputChannel -> listOf(OutputChannelHighlightingEventListener(outputChannel)) }): Chatbot

Create a chatbot that will use all actions available on the platform, with utility-based planning.

Parameters

agentPlatform

the agent platform

conversationFactory

factory for creating conversations. Defaults to in-memory.

verbosity

verbosity settings for debugging

listenerProvider

provider for event listeners