Files
wehub-resource-sync e768098d0e
Flake8 Lint / flake8 (push) Waiting to run
Spell check CI / Spell_Check (push) Waiting to run
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
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

43 lines
898 B
YAML

$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
source:
type: string
default: ./azure_open_ai.py
outputs:
code:
type: string
reference: ${combine_code.output}
nodes:
- name: load_code
type: python
source:
type: code
path: load_code_tool.py
inputs:
source: ${inputs.source}
- name: divide_code
type: python
source:
type: code
path: divide_code_tool.py
inputs:
file_content: ${load_code.output}
- name: generate_docstring
type: python
source:
type: code
path: generate_docstring_tool.py
inputs:
divided: ${divide_code.output}
connection: open_ai_connection
model: gpt-35-turbo
- name: combine_code
type: prompt
source:
type: code
path: combine_code.jinja2
inputs:
divided: ${generate_docstring.output}
environment:
python_requirements_txt: requirements.txt