DefaultModelClientResponseProcessor

This class is a default implementation of the ModelResponseProcessor interface.

The processResponse method processes the response from the model.

By default, it cleans the response and remove ```json and tags. Refer default prompt for more information.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun process(modelResponse: String): String