googleai/GeminiSchema.java

langchain4j · langchain4j-google-ai-gemini/src/main/java/dev/langchain4j/model/googleai/GeminiSchema.java · java · Apache-2.0
ai, tag:knn-classified

Module exposing: GeminiSchema

// Source: https://github.com/langchain4j/langchain4j | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package dev.langchain4j.model.googleai;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
class GeminiSchema {
    private GeminiType type;
    private String format;
    private String description;
    private Boolean nullable;

    @JsonProperty("enum")
    private List<String> enumeration;

    private String maxItems;
    private Map<String, GeminiSchema> properties;
    

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key