GenerationConfigResponseSchema Property
Optional. Output schema of the generated candidate text. Schemas must be a subset of the
OpenAPI schema and can be
objects, primitives or arrays.
If set, a compatible
ResponseMimeType must also be set. Compatible MIME types:
application/json: Schema for JSON response. Refer to the
JSON text generation guide
for more details.
Namespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Object? ResponseSchema { get; set; }
Property Value
Object