feat: GPT integration (#526)

* feat: GPT integration

* dev: move engine value to env variable
This commit is contained in:
pablohashescobar 2023-03-25 11:14:26 +05:30 committed by GitHub
parent 31624f3ae6
commit a3a792741f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 75 additions and 1 deletions

View file

@ -81,3 +81,5 @@ PROXY_BASE_URL = os.environ.get("PROXY_BASE_URL", False)
ANALYTICS_SECRET_KEY = os.environ.get("ANALYTICS_SECRET_KEY", False)
ANALYTICS_BASE_API = os.environ.get("ANALYTICS_BASE_API", False)
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", False)
GPT_ENGINE = os.environ.get("GPT_ENGINE", "text-davinci-003")