generated from ubiquity-os/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
manifest.json
104 lines (104 loc) · 3.48 KB
/
manifest.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "Ubiquity OS Kernel Telegram",
"description": "Part kernel plugin, part Telegram kernel. This bot is designed to be a bridge between UbiquityOS and Telegram.",
"ubiquity:listeners": [
"issues.assigned",
"issues.closed",
"issues.reopened",
"issue_comment.created",
"issue_comment.edited",
"issues.unassigned",
"pull_request.review_requested"
],
"configuration": {
"type": "object",
"properties": {
"botId": {
"default": 7543249164,
"description": "The ID given to you when creating a Telegram Bot via @TheBotFather."
},
"shouldUseGithubStorage": {
"default": false,
"description": "Activates the GitHub storage module.",
"type": "boolean"
},
"storageOwner": {
"default": "ubiquity-os-marketplace",
"description": "Determines where the storage location of this plugin should be.",
"type": "string"
},
"fuzzySearchThreshold": {
"default": 0.2,
"description": "The threshold for fuzzy search when invoking the `/newtask` command (0 is a perfect match).",
"type": "number"
},
"aiConfig": {
"default": {
"kind": "OpenAi",
"model": "o1-mini",
"baseUrl": "https://api.openai.com/v1"
},
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"description": "The API provider you wish to use.",
"examples": ["OpenAi", "OpenRouter"],
"const": "OpenAi",
"type": "string"
},
"model": {
"default": "o1-mini",
"description": "The model to use.",
"examples": ["o1-mini", "gpt-4o"],
"type": "string"
},
"baseUrl": {
"default": "https://api.openai.com/v1",
"description": "The base URL of the API.",
"examples": ["https://api.openai.com/v1", "https://api.openai.com/v2"],
"type": "string"
},
"similarityThreshold": {
"default": 0.9,
"description": "The similarity threshold for when fetching embeddings-based context.",
"type": "number"
}
},
"required": ["kind"]
},
{
"type": "object",
"properties": {
"kind": {
"description": "The API provider you wish to use.",
"examples": ["OpenAi", "OpenRouter"],
"const": "OpenRouter",
"type": "string"
},
"model": {
"default": "openai/o1-mini",
"description": "The model to use.",
"examples": ["openai/o1-mini", "openai/gpt-4o"],
"type": "string"
},
"baseUrl": {
"default": "https://openrouter.ai/api/v1",
"description": "The base URL of the API.",
"examples": ["https://openrouter.ai/api/v1", "https://openrouter.ai/api/v2"],
"type": "string"
},
"similarityThreshold": {
"default": 0.9,
"description": "The similarity threshold for when fetching embeddings-based context.",
"type": "number"
}
},
"required": ["kind"]
}
]
}
}
}
}