ExternalModelPromptProvider

class ExternalModelPromptProvider(promptFilePath: String, agentRoutingSpecsListType: AgentRoutingSpecListType = AgentRoutingSpecListType.XML) : ModelPromptProvider

Constructors

Link copied to clipboard
constructor(promptFilePath: String, agentRoutingSpecsListType: AgentRoutingSpecListType = AgentRoutingSpecListType.XML)

Functions

Link copied to clipboard
open override fun providePrompt(context: Context, agentRoutingSpecs: Set<AgentRoutingSpec>, input: UserMessage): Result<String, AgentRoutingSpecResolverException>