ResponseProcessor
A processor for handling and modifying LLM responses.
Inheritors
Functions
Link copied to clipboard
Chains two processors together.
Link copied to clipboard
abstract suspend fun process(executor: PromptExecutor, prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>, response: Message.Assistant, serializer: JSONSerializer): Message.Assistant
Processes a single LLM response.