Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions vertexai/snippets/src/test/java/vertexai/gemini/SnippetsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@

import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Arrays;
import java.util.Base64;
import java.util.stream.Collectors;
import javax.net.ssl.HttpsURLConnection;
import org.junit.After;
Expand Down Expand Up @@ -192,28 +190,6 @@ public void testVideoAudioInput() throws IOException {
assertThat(output).ignoringCase().contains("Tokyo");
}

// @Test
// public void testGroundingWithPublicData() throws Exception {
// String output =
// GroundingWithPublicData.groundWithPublicData(PROJECT_ID, LOCATION, GEMINI_FLASH_1_5);

// assertThat(output).ignoringCase().contains("Rayleigh");
// }

// @Test
// public void testGroundingWithPrivateData() throws Exception {
// String output =
// GroundingWithPrivateData.groundWithPrivateData(
// PROJECT_ID,
// LOCATION,
// GEMINI_FLASH,
// String.format(
// "projects/%s/locations/global/collections/default_collection/dataStores/%s",
// PROJECT_ID, DATASTORE_ID));

// assertThat(output).ignoringCase().contains("DMV");
// }

@Test
public void testMultimodalStreaming() throws Exception {
StreamingMultimodal.streamingMultimodal(PROJECT_ID, LOCATION, GEMINI_FLASH);
Expand Down