Skip to content

Commit

Permalink
Gemini connector - update test message (#188850)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Jul 22, 2024
1 parent 7aae5d9 commit 47b0105
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/management/connectors/action-types/gemini.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Body:: A stringified JSON payload sent to the {gemini} invoke model API. Fo
body: JSON.stringify({
contents: [{
role: user,
parts: [{ text: 'Write the first line of a story about a magic backpack.' }]
parts: [{ text: 'Hello world!' }]
}],
generation_config: {
temperature: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const contents = [
role: 'user',
parts: [
{
text: 'Write the first line of a story about a magic backpack.',
text: 'Hello world!',
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export default function geminiTest({ getService }: FtrProviderContext) {
role: 'user',
parts: [
{
text: 'Write the first line of a story about a magic backpack.',
text: 'Hello world!',
},
],
},
Expand All @@ -325,7 +325,7 @@ export default function geminiTest({ getService }: FtrProviderContext) {
contents: [
{
role: 'user',
parts: [{ text: 'Write the first line of a story about a magic backpack.' }],
parts: [{ text: 'Hello world!' }],
},
],
generation_config: { temperature: 0, maxOutputTokens: 8192 },
Expand Down

0 comments on commit 47b0105

Please sign in to comment.