mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Gemini connector - update test message (#188850)
This commit is contained in:
parent
7aae5d9ce1
commit
47b0105ea7
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -27,7 +27,7 @@ const contents = [
|
|||
role: 'user',
|
||||
parts: [
|
||||
{
|
||||
text: 'Write the first line of a story about a magic backpack.',
|
||||
text: 'Hello world!',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -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!',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue