Skip to content

Commit

Permalink
Update plugin settings and enable logging in .env
Browse files Browse the repository at this point in the history
  • Loading branch information
ExplorerGT92 committed Dec 31, 2023
1 parent dba8185 commit c4f8319
Showing 1 changed file with 35 additions and 15 deletions.
50 changes: 35 additions & 15 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
# This template file contains environment variables required for the application.
# Copy this file to '.env' and fill in the necessary API keys and settings.
# Please refer to the respective API documentation for more details on obtaining API keys.
MAIN_SYSTEM_PROMPT=You are an AI Assistant

##############################################################################################################
# PLUGIN SETTINGS
##############################################################################################################

ENABLE_ACCUWEATHERPLUGIN=True
ENABLE_GEMINIPROPLUGIN=True
ENABLE_GOOGLESEARCHPLUGIN=True
ENABLE_NEWSEXPERTPLUGIN=True
ENABLE_SYSTEMCOMMANDSPLUGIN=True
LOGGING_ENABLED=True
LOGGING_LEVEL=debug
LOGGING_FILE=logs/GPT_ALL.log
LOGGING_FORMAT=%(name)s - %(levelname)s - %(message)s

#########################################################################################
#
Expand All @@ -33,18 +29,39 @@ ENABLE_SYSTEMCOMMANDSPLUGIN=True
# Your OpenAI API key (required)

OPENAI_API_KEY=
OPENAI_ORG_ID=
OPENAI_MODEL=gpt-4-1106-preview
OPENAI_TEMP=0.3
OPENAI_TOP_P=0.3
MAX_TOKENS=4095
##############################################################################################################

# (required) OpenAI base model (e.g., gpt-3.5-turbo-1106, gpt-4-1106-preview)
# PLUGIN SETTINGS

OPENAI_MODEL=gpt-3.5-turbo-1106
# Set to True to enable the plugin, False to disable the plugin

# Temperature setting for OpenAI model (range: 0.0 to 1.0)
##############################################################################################################

OPENAI_TEMP=0.3
ENABLE_ACCUWEATHER_BASE=False
ENABLE_ACCUWEATHERPLUGIN=False

# Top P setting for OpenAI model (range: 0.0 to 1.0)
ENABLE_GEMINI_PRO_BASE=False
ENABLE_GEMINIPROPLUGIN=False

OPENAI_TOP_P=0.3
ENABLE_GMAIL_BASE=False
ENABLE_GMAILPLUGIN=False

ENABLE_GOOGLE_SEARCH_BASE=False
ENABLE_GOOGLESEARCHPLUGIN=False

ENABLE_NEWS_BASE=False
ENABLE_NEWSPLUGIN=False

ENABLE_NHTSA_VPIC_BASE=False
ENABLE_NHTSAVPICPLUGIN=False

ENABLE_SYSTEM_COMMANDS_BASE=False
ENABLE_SYSTEMCOMMANDSPLUGIN=False

##############################################################################################################
# GEMINI PRO SETTINGS
Expand Down Expand Up @@ -72,6 +89,9 @@ ACCUWEATHER_BASE_URL=http://dataservice.accuweather.com
#########################################################################################

# Your Google API key (required if tools are enabled)
GMAIL_ADDRESS=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

GOOGLE_API_KEY=

Expand Down

0 comments on commit c4f8319

Please sign in to comment.