java/src/main/java/com/example/gemini/ControlledGeneration.java [106:123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Client client = new Client();

        Schema schema =
                Schema.builder()
                        .type(String.class.getSimpleName())
                        .enum_(Arrays.asList("Percussion", "String", "Woodwind", "Brass", "Keyboard"))
                        .build();

        String path = media_path + "organ.jpg";
        byte[] imageData = Files.readAllBytes(Paths.get(path));

        Content content =
                Content.fromParts(
                        Part.fromText("What kind of instrument is this:"),
                        Part.fromBytes(imageData, "image/jpeg"));

        GenerateContentConfig config =
                GenerateContentConfig.builder()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/src/main/java/com/example/gemini/ControlledGeneration.java [180:197]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Client client = new Client();

        Schema schema =
                Schema.builder()
                        .type(String.class.getSimpleName())
                        .enum_(Arrays.asList("Percussion", "String", "Woodwind", "Brass", "Keyboard"))
                        .build();

        String path = media_path + "organ.jpg";
        byte[] imageData = Files.readAllBytes(Paths.get(path));

        Content content =
                Content.fromParts(
                        Part.fromText("What kind of instrument is this:"),
                        Part.fromBytes(imageData, "image/jpeg"));

        GenerateContentConfig config =
                GenerateContentConfig.builder()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



