class documentation

class ModelSummaryProvider(ABC): (source)

View In Hierarchy

Abstract base class for providing model summaries. Essentially just a callable, but the arguments are sufficiently complex to benefit from names.

Method provide Given the provided information, produce a summary for the model invocation activity.
@abstractmethod
def provide(self, agent: Agent[Any] | None, instructions: str | None, input: str | list[TResponseInputItem]) -> str: (source) ΒΆ

Given the provided information, produce a summary for the model invocation activity.