From 9f5296c1a44bcf7c24671e11ddb66eb99813c6e2 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+Berry-13@users.noreply.github.com> Date: Wed, 13 Sep 2023 17:02:22 +0200 Subject: [PATCH] refactor(.env.example) (#880) * refactor(.env.example) * Update .env.example --- .env.example | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.env.example b/.env.example index 385cbbc7ef..9110a8f69a 100644 --- a/.env.example +++ b/.env.example @@ -106,23 +106,6 @@ AZURE_OPENAI_MODELS=gpt-3.5-turbo,gpt-4 # PLUGINS_USE_AZURE="true" -########################## -# BingAI Endpoint: -########################## - -# Also used for Sydney and jailbreak -# To get your Access token for Bing, login to https://www.bing.com -# Use dev tools or an extension while logged into the site to copy the content of the _U cookie. -#If this fails, follow these instructions https://github.com/danny-avila/LibreChat/issues/370#issuecomment-1560382302 to provide the full cookie strings. -# Set to "user_provided" to allow the user to provide its token from the UI. -# Leave it blank to disable this endpoint. -BINGAI_TOKEN=user_provided - -# BingAI Host: -# Necessary for some people in different countries, e.g. China (https://cn.bing.com) -# Leave it blank to use default server. -# BINGAI_HOST=https://cn.bing.com - ########################## # ChatGPT Endpoint: ########################## @@ -147,14 +130,22 @@ CHATGPT_MODELS=text-davinci-002-render-sha,gpt-4 # CHATGPT_REVERSE_PROXY= ########################## -# Anthropic Endpoint: +# BingAI Endpoint: ########################## -# Access key from https://console.anthropic.com/ -# Leave it blank to disable this feature. -# Set to "user_provided" to allow the user to provide their API key from the UI. -# Note that access to claude-1 may potentially become unavailable with the release of claude-2. -ANTHROPIC_API_KEY=user_provided -ANTHROPIC_MODELS=claude-1,claude-instant-1,claude-2 + +# Also used for Sydney and jailbreak +# To get your Access token for Bing, login to https://www.bing.com +# Use dev tools or an extension while logged into the site to copy the content of the _U cookie. +# If this fails, follow these instructions https://github.com/danny-avila/LibreChat/issues/370#issuecomment-1560382302 to provide the full cookie strings +# or check out our discord https://discord.com/channels/1086345563026489514/1143941308684177429 +# Set to "user_provided" to allow the user to provide its token from the UI. +# Leave it blank to disable this endpoint. +BINGAI_TOKEN=user_provided + +# BingAI Host: +# Necessary for some people in different countries, e.g. China (https://cn.bing.com) +# Leave it blank to use default server. +# BINGAI_HOST=https://cn.bing.com ############################# # Plugins: @@ -173,7 +164,6 @@ ANTHROPIC_MODELS=claude-1,claude-instant-1,claude-2 CREDS_KEY=f34be427ebb29de8d88c107a71546019685ed8b241d8f2ed00c3df97ad2566f0 CREDS_IV=e2341419ec3dd3d19b13a1a87fafcbfb - # AI-Assisted Google Search # This bot supports searching google for answers to your questions with assistance from GPT! # See detailed instructions here: https://github.com/danny-avila/LibreChat/blob/main/docs/features/plugins/google_search.md @@ -210,6 +200,16 @@ PALM_KEY=user_provided # In case you need a reverse proxy for this endpoint: # GOOGLE_REVERSE_PROXY= +########################## +# Anthropic Endpoint: +########################## +# Access key from https://console.anthropic.com/ +# Leave it blank to disable this feature. +# Set to "user_provided" to allow the user to provide their API key from the UI. +# Note that access to claude-1 may potentially become unavailable with the release of claude-2. +ANTHROPIC_API_KEY=user_provided +ANTHROPIC_MODELS=claude-1,claude-instant-1,claude-2 + ########################## # Proxy: To be Used by all endpoints ##########################