Skip to content

Commit

Permalink
Update docker image requirements and add some clarity to the sample env
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryroots committed Apr 7, 2023
1 parent 15fb48a commit 9f8fd30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions requirements_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ pinecone-client==2.1.0
sqlitedict==2.1.0
backoff==2.2.1
flask==2.2.3
llama-index==0.4.29
llama-index==0.5.9
PyPDF2==3.0.1
youtube_transcript_api==0.5.0
sentencepiece==0.1.97
protobuf==3.20.2
python-pptx==0.6.21
langchain==0.0.115
langchain==0.0.133
unidecode==1.3.6
tqdm==4.64.1
docx2txt==0.8
Expand Down
11 changes: 7 additions & 4 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ DISCORD_TOKEN = "<discord_bot_token>"
# GOOGLE_SEARCH_ENGINE_ID = "<google_engine_id>"
# DEEPL_TOKEN = "<deepl_token>"

DEBUG_GUILD = "974519864045756446" # discord_server_id
DEBUG_CHANNEL = "977697652147892304" # discord_chanel_id
ALLOWED_GUILDS = "971268468148166697,971268468148166697"
DEBUG_GUILD = "974519864045756446" # discord_server_id for debug messages
DEBUG_CHANNEL = "977697652147892304" # discord_chanel_id where the messages will be posted
ALLOWED_GUILDS = "971268468148166697,971268468148166697" # server ids where the bot should add its commands

# People with the roles in ADMIN_ROLES can use admin commands like /clear-local, and etc
ADMIN_ROLES = "Admin,Owner"
Expand All @@ -26,6 +26,9 @@ SEARCH_ROLES = "Admin,Owner"

INDEX_ROLES = "Admin,Owner"

# Role for who can create a conversation in place in a channel
CHANNEL_CHAT_ROLES = "Admin,Owner"

# Change the name of the bot in conversations
CUSTOM_BOT_NAME = "GPT3Discord"

Expand All @@ -44,7 +47,7 @@ PRE_MODERATE = "False"
# Force only english to be spoken in the server
FORCE_ENGLISH = "False"

# The welcome message to send it the welcome setting is set to true
# The fallback welcome message if one can't be generated
WELCOME_MESSAGE = "Hi There! Welcome to our Discord server. We hope you'll enjoy our server and we look forward to engaging with you!" # This is a fallback message if gpt3 fails to generate a welcome message.

# Max price to pay for a single search request
Expand Down

0 comments on commit 9f8fd30

Please sign in to comment.