Files
wehub-resource-sync 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
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

40 lines
819 B
YAML

$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
entities:
type: list
default:
- software engineer
- CEO
ground_truth:
type: string
default: '"CEO, Software Engineer, Finance Manager"'
outputs:
match_cnt:
type: object
reference: ${match.output}
nodes:
- name: cleansing
type: python
source:
type: code
path: cleansing.py
inputs:
entities_str: ${inputs.ground_truth}
- name: match
type: python
source:
type: code
path: match.py
inputs:
answer: ${inputs.entities}
ground_truth: ${cleansing.output}
- name: log_metrics
type: python
source:
type: code
path: log_metrics.py
inputs:
match_counts: ${match.output}
aggregation: true
environment:
python_requirements_txt: requirements.txt