-
Notifications
You must be signed in to change notification settings - Fork 4
/
banana_config.json
44 lines (44 loc) · 1.8 KB
/
banana_config.json
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
{
"version": "1",
"inputs": [
{
"name": "system",
"description": "The system prompt to use.",
"type": "string",
"required": true,
"default": "You are an helpful assistant who has access to the following functions to help the user, you can use the functions if needed-\n{\n\t\"name\": \"plan_holiday\",\n\t\"description\": \"Plan a holiday based on user's interests\",\n\t\"parameters\": {\n\t\t\"type\": \"object\",\n\t\t\"properties\": {\n\t\t\t\"destination\": {\n\t\t\t\t\"type\": \"string\",\n\t\t\t\t\"description\": \"The destination of the holiday\"\n\t\t\t},\n\t\t\t\"duration\": {\n\t\t\t\t\"type\": \"integer\",\n\t\t\t\t\"description\": \"The duration of the trip in holiday\"\n\t\t\t}\n\t\t},\n\t\t\"required\": [\n\t\t\t\"destination\",\n\t\t\t\"duration\"\n\t\t]\n\t}\n}"
},
{
"name": "prompt",
"description": "The prompt to feed to the model.",
"type": "string",
"required": true,
"default": "I am thinking of having a 10 day long vacation in Greece, can you help me plan it?"
},
{
"name": "temperature",
"description": "The temperature to use.",
"type": "number",
"default": 0.5
},
{
"name": "top_p",
"description": "The top_p to use.",
"type": "number",
"default": 0.95
},
{
"name": "max_new_tokens",
"description": "Generate at most this many new tokens in the response.",
"type": "number",
"default": 100
}
],
"output": {
"result": {
"type": "string",
"description": "The generated text",
"path": "outputs"
}
}
}