-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhost.SAMPLE.json
49 lines (43 loc) · 1.62 KB
/
host.SAMPLE.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
45
46
47
48
49
{
"default_private_access_tag": "unpublished",
"default_api_key": "<Be careful. If you use this, it will be used... and in the source>",
"endpoint": "https://polymath.example.com",
"restricted": {
"count": true,
"message": "Contact [email protected] for an access_token."
},
"completions_options": {
"model": "text-davinci-003",
"prompt_template": "Answer the question as truthfully as possible using the provided context, and if don't have the answer, say \"I don't know\" and suggest looking for this information elsewhere.\n\nContext:\n{context} \n\nQuestion:\n{query}\n\nAnswer:",
"max_tokens": 256,
"temperature": 0,
"top_p": 1,
"n": 1,
"stream": false,
"logprobs": null,
"stop": "\n",
"debug": false
},
"info": {
"headername": "Dion's",
"placeholder": "What do you want to learn from the Polymath?",
"fun_queries": [
"What is the best side effect of using an AI assistant?",
"Tell me a story about OrderedJSON",
"What is an Ajaxian?",
"What happened to webOS?",
"What is progressive about the Web?"
],
"source_prefixes": {
"https://remix.run/": "Remix: ",
"https://reactrouter.com/": "React Router: "
}
},
"tokens": {
"[email protected]": {
"token": "<A cryptographically secure string that is treated as a secret. It should be given to the user so they can put it in their \"token\" field in their `directory.SECRET.json` associated with this endpoint>",
"description": "<An optional string where you can store notes about this user or record>",
"access_tags": ["unpublished"]
}
}
}