SamplingCallbackInterface
Contract for callbacks used by SamplingRequestHandler.
Implementations perform the actual LLM sampling when requested by the server.
Table of Contents
Methods
Methods
__invoke()
public
__invoke(CreateSamplingMessageRequest $request) : CreateSamplingMessageResult
Parameters
- $request : CreateSamplingMessageRequest