e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
30 lines
699 B
YAML
30 lines
699 B
YAML
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
|
|
inputs:
|
|
history:
|
|
type: string
|
|
customer_info:
|
|
type: string
|
|
outputs:
|
|
output:
|
|
type: string
|
|
reference: ${extract_intent.output}
|
|
nodes:
|
|
- name: chat_prompt
|
|
type: prompt
|
|
source:
|
|
type: code
|
|
path: user_intent_zero_shot.jinja2
|
|
inputs: # Please check the generated prompt inputs
|
|
history: ${inputs.history}
|
|
customer_info: ${inputs.customer_info}
|
|
- name: extract_intent
|
|
type: python
|
|
source:
|
|
type: code
|
|
path: extract_intent_tool.py
|
|
inputs:
|
|
chat_prompt: ${chat_prompt.output}
|
|
connection: custom_connection
|
|
environment:
|
|
python_requirements_txt: requirements.txt
|