Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing targetProjectParameters #18465

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,21 @@
"verbose": {
"type": "boolean",
"description": "If true, the service will return more detailed information in the response."
},
"isLoggingEnabled": {
"type": "boolean",
"description": "If true, the service will keep the query for further review."
},
"directTarget": {
"type": "string",
"description": "The name of a target project to forward the request to."
},
"targetProjectParameters": {
"type": "object",
"description": "A dictionary representing the parameters for each target project.",
"additionalProperties": {
"$ref": "#/definitions/AnalysisParameters"
}
}
},
"required": [
Expand Down Expand Up @@ -256,21 +271,6 @@
"properties": {
"conversationItem": {
"$ref": "#/definitions/ConversationItemBase"
},
"directTarget": {
"type": "string",
"description": "The name of the target project this request is sending to directly."
},
"isLoggingEnabled": {
"description": "If true, the query will be kept by the service for customers to further review.",
"type": "boolean"
},
"parameters": {
"type": "object",
"description": "A dictionary representing the input for each target project.",
"additionalProperties": {
"$ref": "#/definitions/AnalysisParameters"
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"kind": "CustomConversation",
"analysisInput": {
"conversationItem": {
"language": "en-GB",
"text": "play a song from Phil Collins",
"participantId": "1",
"id": "1",
"modality": "text",
"language": "en-GB",
"text": "play a song from Phil Collins"
},
"isLoggingEnabled": false
"id": "1"
}
},
"parameters": {
"projectName": "{project-name}",
"deploymentName": "{deployment-name}",
"verbose": true
"verbose": true,
"isLoggingEnabled": false
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"parameters": {
"projectName": "{project-name}",
"deploymentName": "{deployment-name}",
"verbose": true
"verbose": true,
"isLoggingEnabled": false
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,35 @@
"kind": "CustomConversation",
"analysisInput": {
"conversationItem": {
"language": "en-GB",
"text": "play a song from Phil Collins",
"participantId": "1",
"id": "1",
"modality": "text",
"language": "en-GB",
"text": "How do I integrate QnA Maker and LUIS?"
},
"directTarget": "qnaTargetApp",
"parameters": {
"qnaTargetApp": {
"id": "1"
}
},
"parameters": {
"projectName": "prj1",
"deploymentName": "dep1",
"isLoggingEnabled": false,
"verbose": true,
"directTarget": "qnaProject",
"targetProjectParameters": {
"qnaProject": {
"targetKind": "question_answering",
"apiVersion": "v5.1",
"callingOptions": {
"question": "Ports and connectors",
"top": 3,
"userId": "Default",
"isTest": true,
"context": {
"previousQuery": "Meet Surface Pro 4",
"previousQnAId": 4
}
}
},
"top": 3,
"isTest": true,
"userId": "Default",
"question": "Ports and connectors"
},
"apiVersion": "v5.1"
}
}
},
"parameters": {
"projectName": "{project-name}",
"deploymentName": "{deployment-name}",
"verbose": true
}
}
},
Expand Down