Skip to content

Commit

Permalink
Change the default model for search to gpt-3.5-turbo-16k
Browse files Browse the repository at this point in the history
  • Loading branch information
yym68686 committed Nov 7, 2023
1 parent a6707c4 commit 4b6e07b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ docker push yym68686/chatgpt:1.0

## Reference

Reference Projects:

https://core.telegram.org/bots/api

https://github.com/acheong08/ChatGPT
Expand Down
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4b6e07b

Please sign in to comment.