forked from microsoft/promptflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intent-copilot Sample all line returns same results (microsoft#133)
flow test:  flow run outputs: 
- Loading branch information
1 parent
3e937a1
commit ff21971
Showing
8 changed files
with
40 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json | ||
inputs: | ||
history: | ||
type: string | ||
customer_info: | ||
type: string | ||
history: | ||
type: list | ||
outputs: | ||
output: | ||
type: string | ||
reference: ${extract_intent.output} | ||
nodes: | ||
- name: user_prompt_template | ||
- name: chat_prompt | ||
type: prompt | ||
source: | ||
type: code | ||
path: user_intent_zero_shot.jinja2 | ||
inputs: {} # Please enter the inputs of this node | ||
inputs: # Please check the generated prompt inputs | ||
history: ${inputs.history} | ||
customer_info: ${inputs.customer_info} | ||
- name: extract_intent | ||
type: python | ||
source: | ||
type: code | ||
path: extract_intent_tool.py | ||
inputs: | ||
customer_info: ${inputs.customer_info} | ||
history: ${inputs.history} | ||
user_prompt_template: ${user_prompt_template.output} | ||
chat_prompt: ${chat_prompt.output} | ||
connection: custom_connection | ||
environment: | ||
python_requirements_txt: requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters