Interface StructuredOutputChatOptions

All Superinterfaces:
ChatOptions, ModelOptions
All Known Implementing Classes:
AnthropicChatOptions, GoogleGenAiChatOptions, OpenAiChatOptions, OpenAiSdkChatOptions, VertexAiGeminiChatOptions

public interface StructuredOutputChatOptions extends ChatOptions
Mixin interface for ChatModels that support structured output. Provides an unified way to set and get the output JSON schema.
Author:
Christian Tzolov
  • Method Details

    • getOutputSchema

      String getOutputSchema()
    • setOutputSchema

      void setOutputSchema(String outputSchema)