From 2b53d9b93cdd2d43fcec8d9e9ee0211e22dafbdd Mon Sep 17 00:00:00 2001 From: Brynn Yin <24237253+brynn-code@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:22:31 +0800 Subject: [PATCH] [Example] Add flow.flex.yaml for chat-minimal (#3572) # Description Fix `pf run create -f .\run.yml` error when loading flow. # All Promptflow Contribution checklist: - [ ] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [ ] **I have read the [contribution guidelines](https://github.com/microsoft/promptflow/blob/main/CONTRIBUTING.md).** - [ ] **I confirm that all new dependencies are compatible with the MIT license.** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [ ] Title of the pull request is clear and informative. - [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. Signed-off-by: Brynn Yin --- examples/flex-flows/chat-minimal/flow.flex.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/flex-flows/chat-minimal/flow.flex.yaml diff --git a/examples/flex-flows/chat-minimal/flow.flex.yaml b/examples/flex-flows/chat-minimal/flow.flex.yaml new file mode 100644 index 00000000000..b82c5c0f5ed --- /dev/null +++ b/examples/flex-flows/chat-minimal/flow.flex.yaml @@ -0,0 +1,8 @@ +$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json +entry: flow:chat +sample: + inputs: + question: What's Azure Machine Learning? +environment: + # image: mcr.microsoft.com/azureml/promptflow/promptflow-python + python_requirements_txt: requirements.txt