diff --git a/README.md b/README.md index 3ecd22f2..db156c0d 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,6 @@ docker push yym68686/chatgpt:1.0 ## Reference -Reference Projects: - https://core.telegram.org/bots/api https://github.com/acheong08/ChatGPT diff --git a/config.py b/config.py index 367e77be..a42d6e0c 100644 --- a/config.py +++ b/config.py @@ -9,8 +9,8 @@ if os.environ.get('GOOGLE_API_KEY', None) == None and os.environ.get('GOOGLE_CSE_ID', None) == None: USE_GOOGLE = False temperature = float(os.environ.get('temperature', '0.5')) -GPT_ENGINE = os.environ.get('GPT_ENGINE', 'gpt-3.5-turbo-1106') -# DEFAULT_SEARCH_MODEL = os.environ.get('DEFAULT_SEARCH_MODEL', 'gpt-3.5-turbo-16k') +GPT_ENGINE = os.environ.get('GPT_ENGINE', 'gpt-3.5-turbo-16k') +# DEFAULT_SEARCH_MODEL = os.environ.get('DEFAULT_SEARCH_MODEL', 'gpt-3.5-turbo-1106') SEARCH_USE_GPT = (os.environ.get('SEARCH_USE_GPT', "True") == "False") == False API_URL = os.environ.get('API_URL', 'https://api.openai.com/v1/chat/completions') PDF_EMBEDDING = (os.environ.get('PDF_EMBEDDING', "True") == "False") == False diff --git a/requirements.txt b/requirements.txt index 85d748da..f927e737 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,10 +6,10 @@ flask[async] python-telegram-bot==20.4 # langchain -openai==0.28.1 chromadb wikipedia fake_useragent +openai==0.28.1 google-api-python-client unstructured[md] unstructured[pdf]