promptflow/deployment/register-model.yaml (9 lines of code) (raw):
$schema: https://azuremlschemas.azureedge.net/latest/model.schema.json
name: tobi-llm-chat-model
path: <path_to_source_code>
description: register basic chat flow folder as a custom model
properties:
# In AuzreML studio UI, endpoint detail UI Test tab needs this property to know it's from prompt flow
azureml.promptflow.source_flow_id: <flow-id to call your PF>
# Following are properties only for chat flow
# endpoint detail UI Test tab needs this property to know it's a chat flow
azureml.promptflow.mode: chat
# endpoint detail UI Test tab needs this property to know which is the input column for chat flow
azureml.promptflow.chat_input: question
# endpoint detail UI Test tab needs this property to know which is the output column for chat flow
azureml.promptflow.chat_output: output