Skip to content

Commit

Permalink
chore: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean committed Nov 17, 2022
1 parent 68d1191 commit c8caa87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 214 deletions.
133 changes: 0 additions & 133 deletions language/snippets/src/main/java/beta/example/language/AnalyzeBeta.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ public static void classifyText(String text) throws Exception {
try (LanguageServiceClient language = LanguageServiceClient.create()) {
// Set content to the text string
Document doc = Document.newBuilder().setContent(text).setType(Type.PLAIN_TEXT).build();
V2Model v2Model = V2Model.setContentCategoriesVersion(ContentCategoriesVersion.V2).build();
V2Model v2Model = V2Model.newBuilder()
.setContentCategoriesVersion(ContentCategoriesVersion.V2)
.build();
ClassificationModelOptions options =
ClassificationModelOptions.newBuilder().setV2Model(v2Model).build();
ClassifyTextRequest request =
Expand Down

This file was deleted.

0 comments on commit c8caa87

Please sign in to comment.