Skip to content

Commit

Permalink
Add schema for flow dags
Browse files Browse the repository at this point in the history
  • Loading branch information
0mza987 committed Aug 22, 2023
1 parent 35b9471 commit 2dc79bd
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/flows/chat/basic-chat/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
chat_history:
type: list
Expand Down
1 change: 1 addition & 0 deletions examples/flows/chat/chat-with-pdf/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
chat_history:
type: list
Expand Down
1 change: 1 addition & 0 deletions examples/flows/chat/chat-with-wikipedia/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
chat_history:
type: list
Expand Down
1 change: 1 addition & 0 deletions examples/flows/evaluation/basic-eval/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
groundtruth:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
groundtruth:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
entities:
type: list
Expand Down
1 change: 1 addition & 0 deletions examples/flows/evaluation/groundedness-eval/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
environment:
python_requirements_txt: requirements.txt
inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
id: eval_perceived_intelligence
name: Perceived Intelligence Evaluation Flow
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
environment:
python_requirements_txt: requirements.txt
inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
text:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
text:
type: string
Expand Down
1 change: 1 addition & 0 deletions examples/flows/standard/basic/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
text:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
url:
type: string
Expand Down Expand Up @@ -47,8 +48,6 @@ nodes:
path: convert_to_dict.py
inputs:
input_str: ${classify_with_llm.output}
id: web_classification
name: Web Classification

additional_includes:
- ../web-classification/classify_with_llm.jinja2
Expand Down
1 change: 1 addition & 0 deletions examples/flows/standard/flow-with-symlinks/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
url:
type: string
Expand Down
1 change: 1 addition & 0 deletions examples/flows/standard/intent-copilot/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
customer_info:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
entity_type:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
name:
type: string
Expand Down
1 change: 1 addition & 0 deletions examples/flows/standard/web-classification/flow.dag.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
url:
type: string
Expand Down

0 comments on commit 2dc79bd

Please sign in to comment.