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
29 lines
569 B
YAML
29 lines
569 B
YAML
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
|
|
environment:
|
|
python_requirements_txt: requirements.txt
|
|
inputs:
|
|
text:
|
|
type: string
|
|
default: Hello World!
|
|
outputs:
|
|
output:
|
|
type: string
|
|
reference: ${llm.output}
|
|
nodes:
|
|
- name: hello_prompt
|
|
type: prompt
|
|
source:
|
|
type: code
|
|
path: hello.jinja2
|
|
inputs:
|
|
text: ${inputs.text}
|
|
- name: llm
|
|
type: python
|
|
source:
|
|
type: code
|
|
path: hello.py
|
|
inputs:
|
|
prompt: ${hello_prompt.output}
|
|
deployment_name: gpt-35-turbo-instruct
|
|
max_tokens: "120"
|