forked from AIexandr/LordGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_template
53 lines (47 loc) · 1.62 KB
/
env_template
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
### API FUNCTION #############################################
#Set the API you want to use. Alternate flips between both.
#Values: OPENAI, AZURE, ALTERNATE
#IF ALTERNATE - Uses Azure First
API_FUNCTION="OPENAI"
API_THROTTLE=10
API_RETRY=20
API_TIMEOUT=90
### API SETTINGS #############################################
# AZURE_MODE_NAME is the name of the model you created in Azure NOT the model type. Example: CatWatch01
# AZURE_URL Is the URL found in the Azure Playground.
### AZURE ####################################################
AZURE_URL=""
AZURE_API_KEY=""
AZURE_MODEL_NAME=""
### OPENAI####################################################
OPENAI_URL="https://api.openai.com/v1/chat/completions"
OPENAI_API_KEY=""
OPENAI_MODEL_NAME="gpt-4"
### MODEL SETTINGS ###########################################
TEMPERATURE=0.2
MAX_TOKENS=800
FREQUENCY_PENALTY=0.0
PRESENCE_PENALTY=0.0
TOP_P=0.0
STOP=None
### TOKEN MANAGEMENT #########################################
#These settings determine the max conversation history
#and the characters returned from commands. Use carfully as you'll
#go over your max tokens.
MAX_CONVERSATIONS = 3
MAX_CHARACTERS = 3000
### SEARCH ENGINE API ########################################
# API KEY https://cloud.google.com/
SEARCH_ENGINE_MODE="GOOGLE"
GOOGLE_API_KEY=""
CUSTOM_SEARCH_ENGINE_ID=""
SERP_API=""
### BRIGHT DATA PROXY ########################################
#NOT NEEDED FOR GENERAL USE - SIGN UP AT BRIGHTDATA
BD_ENABLED = False
BD_USERNAME = ""
BD_PASSWORD = ""
BD_PORT = 22225
### DEBUG ####################################################
#Writes a debug.txt file to working directory
DEBUG_CODE=True