Skip to content

Commit

Permalink
added some tests for verifying we can do multiple lines w/ gemini-1.5…
Browse files Browse the repository at this point in the history
…-pro vertex AI
  • Loading branch information
bobeaton committed Oct 3, 2024
1 parent b1955e7 commit 97d42a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/TestEncCnvtrs/TestEcTranslators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ public void TestNllbTranslatorOverrideKeyExists()
// multiple lines
[TestCase("Hindi;English;bright-coyote-381812;us-central1;google;gemini-1.5-flash;Translate from Hindi into English.", @"यीशु ने कहा,
परमे‍‍श्वर मेरा पिता है।", @"Jesus said,
God is my Father. ")]
[TestCase("Hindi;English;bright-coyote-381812;us-central1;google;gemini-1.5-pro;Translate from Hindi into English.", "यीशु ने कहा,", "Jesus said, ")]
// multiple lines
[TestCase("Hindi;English;bright-coyote-381812;us-central1;google;gemini-1.5-pro;Translate from Hindi into English.", @"यीशु ने कहा,
परमे‍‍श्वर मेरा पिता है।", @"Jesus said,
God is my Father. ")]
public void TestVertexAiConverter(string converterSpec, string testInput, string testOutput)
{
Expand Down

0 comments on commit 97d42a0

Please sign in to comment.