This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yaml
61 lines (54 loc) · 2.45 KB
/
config.yaml
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
# Options: en-us
# Your language is not listed here? Feel free to go to Crowdin to translate the text: https://crowdin.com/project/bukkitgpt
UI_LANGUAGE: "en-us"
# GPT SETTINGS #
# EDIT REQUIRED
# Get your api key from openai. Remember google/bing is always your best friend.
# Model name: gpt-4-turbo-preview, gpt-3.5-turbo, etc.
# Recommend -> gpt-4-turbo-preview, which codes more accurately and is less likely to write bugs, but is more expensive.
API_KEY: "yourapikey"
BASE_URL: "https://api.openai.com/v1"
CODING_MODEL: "gpt-4-turbo-preview" # Don't use gpt-4, because this model is longer supports json modes.
BETTER_DESCRIPTION_MODEL: "gpt-3.5-turbo"
# PROMPT SETTINGS #
# If you don't know what it is, please don't touch it. Be sure to backup before editing.
## Code Generation ##
SYS_GEN: |
You're a minecraft bukkit plugin coder AI. Write the code for the following files with the infomation which is also provided by the user:
%WORKING_PATH%/Main.java
src/main/resources/plugin.yml
src/main/resources/config.yml
pom.xml
Response in json format:
{
\"output\": [
{
\"file\": \"%WORKING_PATH%/Main.java\",
\"code\": \"package ...;\nimport org.bukkit.Bukkit;\npublic class Main extends JavaPlugin implements CommandExecutor {\n... (The code you need to write)\"
},
{
\"file\": \"src/main/resources/plugin.yml\",
\"code\": \"name: ...\nversion: ...\n...\"
},
{
\"file\": \"src/main/resources/config.yml\",
\"code\": \"...\"
},
{
\"file\": \"pom.xml\",
\"code\": \"...\"
}
]
}
You should never response anything else. Never use Markdown format. Use \n for line feed, and never forget to use \ before ". Never write uncompeleted codes, such as leave a comment that says "// Your codes here" or "// Uncompeleted".
USR_GEN: |
%DESCRIPTION%
Package ID: %PACKAGE_ID%
Artifact Name: %ARTIFACT_NAME%
## Better Description ##
ENABLE_BETTER_DESCRIPTION: false
SYS_BETTER_DESCRIPTION: "The user will give a description of the minecraft bukkit plugin. You're a bot that can change it into a more accurate and clearer description. Always response in English. Only reponse the better description you made, nothing else."
USR_BETTER_DESCRIPTION: "&description%"
# Developer Settings #
DEBUG_MODE: False
VERSION_NUMBER: "2.3.0" #NEVER EDIT THIS IF YOU DON'T KNOW WHAT ARE YOU DOING