chat

Provides a Java-compatible overload for configuring a mock Ollama chat request using a Consumer.

Return

A building step for further configuration of the mock chat response.

Parameters

name

An optional name for the mock configuration.

block

A Consumer that configures the chat request specification.