remove env var for pf run mode (#3359)

This commit is contained in:
Blanca Li 2024-08-30 17:36:26 +08:00 коммит произвёл GitHub
Родитель b9ad398233
Коммит cb0bf2d053
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -34,7 +34,5 @@ environment_variables:
# For example, if there are 2 flow outputs: "answer", "context", and I only want to have "answer" in the endpoint response, I can set this env variable to '["answer"]'
# PROMPTFLOW_RESPONSE_INCLUDED_FIELDS: '["category", "evidence"]'
# if you want to deploy to serving mode, you need to set this env variable to "serving"
PROMPTFLOW_RUN_MODE: serving
# currently it is for pulling connections from workspace
PRT_CONFIG_OVERRIDE: deployment.subscription_id=<subscription_id>,deployment.resource_group=<resource_group_name>,deployment.workspace_name=<workspace_name>,deployment.endpoint_name=basic-chat-endpoint,deployment.deployment_name=basic-chat-custom-docker

Просмотреть файл

@ -23,8 +23,6 @@ environment_variables:
# For example, if there are 2 flow outputs: "answer", "context", and I only want to have "answer" in the endpoint response, I can set this env variable to '["answer"]'
# PROMPTFLOW_RESPONSE_INCLUDED_FIELDS: '["category", "evidence"]'
# if you want to deploy to serving mode, you need to set this env variable to "serving"
PROMPTFLOW_RUN_MODE: serving
# currently it is for pulling connections from workspace
PRT_CONFIG_OVERRIDE: deployment.subscription_id=<subscription_id>,deployment.resource_group=<resource_group_name>,deployment.workspace_name=<workspace_name>,deployment.endpoint_name=basic-chat-endpoint,deployment.deployment_name=basic-chat-deployment
# enable this will collect metrics such as latency/token/etc during inference time to workspace default appinsights

Просмотреть файл

@ -149,7 +149,6 @@
" instance_type=\"Standard_E16s_v3\",\n",
" instance_count=1,\n",
" environment_variables={\n",
" \"PROMPTFLOW_RUN_MODE\": \"serving\",\n",
" # currently it is for pulling connections from workspace\n",
" \"PRT_CONFIG_OVERRIDE\": \"deployment.subscription_id=<subscription_id>,deployment.resource_group=<resource_group>,deployment.workspace_name=<workspace_name>,deployment.endpoint_name=<endpoint_name>,deployment.deployment_name=<deployment_name>\",\n",
" },\n",