kernl

Type Alias: LanguageModelResponseType

type LanguageModelResponseType = 
  | LanguageModelResponseText
  | LanguageModelResponseJSON;

Defined in: packages/protocol/src/language-model/request.ts:55

Response format specification for language model output.

The output can either be text or JSON. Default is text. If JSON is selected, a schema can optionally be provided to guide the LLM.

On this page