mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-04-27 11:21:34 +00:00
* Add support for Azure OpenAI * fix: wrong default api_version Should be dashes instead of underscores. see: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference * fix: code styling applied "make check" changes * refactor: extend documentation * mention azopenai as available option and extras * add recommended section * include settings-azopenai.yaml configuration file * fix: documentation
17 lines
398 B
YAML
17 lines
398 B
YAML
server:
|
|
env_name: ${APP_ENV:azopenai}
|
|
|
|
llm:
|
|
mode: azopenai
|
|
|
|
embedding:
|
|
mode: azopenai
|
|
|
|
azopenai:
|
|
api_key: ${AZ_OPENAI_API_KEY:}
|
|
azure_endpoint: ${AZ_OPENAI_ENDPOINT:}
|
|
embedding_deployment_name: ${AZ_OPENAI_EMBEDDING_DEPLOYMENT_NAME:}
|
|
llm_deployment_name: ${AZ_OPENAI_LLM_DEPLOYMENT_NAME:}
|
|
api_version: "2023-05-15"
|
|
embedding_model: text-embedding-ada-002
|
|
llm_model: gpt-35-turbo |