-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.R
56 lines (51 loc) · 1.19 KB
/
config.R
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
config <- list(
#chatType="fakegpt",
chatType="chatgpt",
aiName="test0",
runtimeDirPrefix="runtime",
#initialPrompt="agi_prompt_v0.1.txt",
#initialPrompt="agi_prompt_alt_1.txt",
initialPrompt="general_chat.txt",
continuous=T,
cleanWorkingDir=T,
trackTokens=T,
# if you want to chat with the agent
# without the option of quit or debug
alwaysChat=T,
# commands available to AI
commandEncoding = "JSON",
commands = list(
"exit",
"list_commands",
"download_file",
"chat",
"spawn_agent",
"show_command_source",
"write_file",
"source_r_file",
#"google_search", # enable with care, burns tokens
#"read_from_url", # enable with care, burns tokens
"list_files",
"read_file"
),
# ChatGPT options
chatgpt = list(
model = "gpt-3.5-turbo-0301",
max_tokens = 512,
temperature = 0.7
),
# FakeGPT options
fakegpt = list(
script = "all_tests",
#script = "spawn_agent_test",
#script = "google_search_test",
#script = "create_file_test",
#script = "list_files_test",
#script = "read_and_write_file_test",
#script = "download_file_test",
#script = "invalid_commands_test",
#script = "read_from_url_test",
artificialDelaySecs = 1
)
# Vicuna
)