feat: Azure Vision Support & Docs Update (#1389)

* feat(AzureOpenAI): Vision Support

* chore(ci/OpenAIClient.test): update test to reflect Azure now uses chatCompletion method as opposed to getCompletion, while still testing the latter method

* docs: update documentation mainly revolving around Azure setup, but also reformatting the 'Tokens and API' section completely

* docs: add images and links to ai_setup.md

* docs: ai setup reference
This commit is contained in:
Danny Avila 2023-12-18 18:43:50 -05:00 committed by GitHub
parent c9d3e0ab6a
commit 8d563d61f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 378 additions and 85 deletions

View file

@ -15,12 +15,19 @@ Errors logs are also saved in the same location: `./api/logs/error-%DATE%.log`.
### Setup
Keep debug logs enabled with the following environment variable. Even if you never set this variable, debug logs will be generated, but you have the option to disable them by setting it to `FALSE`.
Toggle debug logs with the following environment variable. By default, even if you never set this variable, debug logs will be generated, but you have the option to disable them by setting it to `FALSE`.
Note: it's recommended to disable debug logs in a production environment.
```bash
DEBUG_LOGGING=TRUE
```
```bash
# in a production environment
DEBUG_LOGGING=FALSE
```
For verbose server output in the console/terminal, you can also set the following:
```bash