forked from dtannen/gemini-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-prompt.json
More file actions
45 lines (45 loc) · 1.04 KB
/
example-prompt.json
File metadata and controls
45 lines (45 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"generation_config": {
"temperature": 1.0,
"topP": 1.0,
"topK": 40,
"maxOutputTokens": 2048
},
"contents": [
{
"role": "user",
"parts": [
{
"text": "You are a helpful assistant."
}
]
},
{
"role": "assistant",
"parts": [
{
"text": "I am a helpful assistant!"
}
]
}
],
"safety_settings": [
{
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
"threshold": "BLOCK_LOW_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_HATE_SPEECH",
"threshold": "BLOCK_LOW_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_HARASSMENT",
"threshold": "BLOCK_LOW_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
"threshold": "BLOCK_LOW_AND_ABOVE"
}
],
"tools": []
}