-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
134 lines (134 loc) · 4.12 KB
/
package.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "openai-developer",
"displayName": "OpenAI Developer",
"description": "Integration with OpenAI models ChatGPT(GPT3.5), Codex and Image for Developer.",
"license": "SEE LICENSE IN LICENSE.md",
"icon": "resources/media/openai.png",
"repository": {
"type": "git",
"url": "https://github.com/mrsahugit/openai-developer"
},
"version": "0.0.4",
"publisher": "manassahu",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Programming Languages",
"Data Science",
"Testing"
],
"keywords": [
"openai",
"chatgpt",
"gpt-3",
"codex",
"copilot",
"ai",
"image"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "openai-developer.changeAPIKey",
"title": "OpenAI Developer: Change API (OpenAI) key"
},
{
"command": "openai-developer.startConversation",
"title": "OpenAI Developer: Start Conversation"
},
{
"command": "openai-developer.explainCode",
"title": "OpenAI Developer: Explain the code"
},
{
"command": "openai-developer.findProblem",
"title": "OpenAI Developer: Why code is not working"
},
{
"command": "openai-developer.generateImage",
"title": "OpenAI Developer: Generate Image"
}
],
"menus": {
"editor/context": [
{
"command": "openai-developer.startConversation",
"when": "editorTextFocus",
"group": "openai-developer-menu-group@1"
},
{
"command": "openai-developer.explainCode",
"when": "editorHasSelection",
"group": "openai-developer-menu-group@2"
},
{
"command": "openai-developer.findProblem",
"when": "editorHasSelection",
"group": "openai-developer-menu-group@3"
}
]
},
"configuration": {
"title": "OpenAI Developer - Configurations",
"properties": {
"openai-developer.model": {
"order": 0,
"markdownDescription": "The model (ChatGPT or Codex) to find answer for your queries. More pricing info at https://openai.com/pricing#chat",
"type": "string",
"default": "gpt-turbo",
"enum": [
"gpt-turbo",
"codex"
],
"enumItemLabels": [
"ChatGPT - Free (Limited), Paid",
"Codex - Free"
],
"enumDescriptions": [
"A set of models that improve on GPT-3 and can understand as well as generate natural language or code. This model uses OpenAI credits, which will be charged to your OpenAI account associated with the linked API key.",
"A set of models that can understand and generate code, including translating natural language to code. This model is free and uses no OpenAI credits, but may produce lower quality results."
]
},
"openai-developer.maxTokens": {
"order": 1,
"description": "Maximum number of tokens inside response per request",
"type": "number",
"default": 1024
},
"openai-developer.temperature": {
"order": 2,
"description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.",
"type": "number",
"default": 0.5
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"axios": "^1.3.4"
}
}