Skip to content

Commit

Permalink
Generated from 123003026e4285709f1f25a9aeba364fb294a476
Browse files Browse the repository at this point in the history
removing wrong characters
  • Loading branch information
SDK Automation committed Jul 16, 2020
1 parent 941d9b4 commit 800c0ff
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdk/cognitiveservices/cognitiveservices-qnamaker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => {
strictFilters: [{
name: "testname",
value: "testvalue"
}]
}],
strictFiltersCompoundOperationType: "AND"
};
client.runtime.generateAnswer(kbId, generateAnswerPayload).then((result) => {
console.log("The result is:");
Expand Down Expand Up @@ -110,7 +111,8 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
strictFilters: [{
name: "testname",
value: "testvalue"
}]
}],
strictFiltersCompoundOperationType: "AND"
};
client.runtime.generateAnswer(kbId, generateAnswerPayload).then((result) => {
console.log("The result is:");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ export interface QueryDTO {
* Find only answers that contain these metadata.
*/
strictFilters?: MetadataDTO[];
/**
* Optional field. Set to 'OR' for using OR as Operation for Strict Filters. Possible values
* include: 'AND', 'OR'
*/
strictFiltersCompoundOperationType?: StrictFiltersCompoundOperationType;
}

/**
Expand Down Expand Up @@ -317,6 +322,14 @@ export interface FeedbackRecordsDTO {
*/
export type ErrorCodeType = 'BadArgument' | 'Forbidden' | 'NotFound' | 'KbNotFound' | 'Unauthorized' | 'Unspecified' | 'EndpointKeysError' | 'QuotaExceeded' | 'QnaRuntimeError' | 'SKULimitExceeded' | 'OperationNotFound' | 'ServiceError' | 'ValidationFailure' | 'ExtractionFailure';

/**
* Defines values for StrictFiltersCompoundOperationType.
* Possible values include: 'AND', 'OR'
* @readonly
* @enum {string}
*/
export type StrictFiltersCompoundOperationType = 'AND' | 'OR';

/**
* Contains response data for the generateAnswer operation.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,12 @@ export const QueryDTO: msRest.CompositeMapper = {
}
}
}
},
strictFiltersCompoundOperationType: {
serializedName: "strictFiltersCompoundOperationType",
type: {
name: "String"
}
}
}
}
Expand Down

0 comments on commit 800c0ff

Please sign in to comment.