Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package vertexai.gemini;

// [START generativeaionvertexai_non_stream_text_basic]
import com.google.cloud.vertexai.VertexAI;
import com.google.cloud.vertexai.api.GenerateContentResponse;
import com.google.cloud.vertexai.generativeai.GenerativeModel;
Expand Down Expand Up @@ -49,5 +48,4 @@ public static String simpleQuestion(String projectId, String location, String mo
return output;
}
}
}
// [END generativeaionvertexai_non_stream_text_basic]
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package vertexai.gemini;

// [START generativeaionvertexai_gemini_generate_from_text_input]
import com.google.cloud.vertexai.VertexAI;
import com.google.cloud.vertexai.api.GenerateContentResponse;
import com.google.cloud.vertexai.generativeai.GenerativeModel;
Expand Down Expand Up @@ -52,5 +51,4 @@ public static String textInput(
return output;
}
}
}
// [END generativeaionvertexai_gemini_generate_from_text_input]
}