Dela via


Pattern class

Klass som representerar ett mönster.

Konstruktorer

Pattern(LUISAuthoringClientContext)

Skapa ett mönster.

Metoder

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase)
addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
addPattern(string, string, PatternRuleCreateObject, ServiceCallback<PatternRuleInfo>)
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase)
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
batchAddPatterns(string, string, PatternRuleCreateObject[], ServiceCallback<PatternRuleInfo[]>)
deletePattern(string, string, string, RequestOptionsBase)
deletePattern(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePattern(string, string, string, ServiceCallback<OperationStatus>)
deletePatterns(string, string, string[], RequestOptionsBase)
deletePatterns(string, string, string[], RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePatterns(string, string, string[], ServiceCallback<OperationStatus>)
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams)
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
listIntentPatterns(string, string, string, ServiceCallback<PatternRuleInfo[]>)
listPatterns(string, string, PatternListPatternsOptionalParams)
listPatterns(string, string, PatternListPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
listPatterns(string, string, ServiceCallback<PatternRuleInfo[]>)
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase)
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
updatePattern(string, string, string, PatternRuleUpdateObject, ServiceCallback<PatternRuleInfo>)
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase)
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
updatePatterns(string, string, PatternRuleUpdateObject[], ServiceCallback<PatternRuleInfo[]>)

Konstruktorinformation

Pattern(LUISAuthoringClientContext)

Skapa ett mönster.

new Pattern(client: LUISAuthoringClientContext)

Parametrar

client
LUISAuthoringClientContext

Referens till tjänstklienten.

Metodinformation

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options?: RequestOptionsBase): Promise<PatternAddPatternResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

pattern
PatternRuleCreateObject

Indatamönstret.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternAddPatternResponse>

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

pattern
PatternRuleCreateObject

Indatamönstret.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo>

Återanropet

addPattern(string, string, PatternRuleCreateObject, ServiceCallback<PatternRuleInfo>)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, callback: ServiceCallback<PatternRuleInfo>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

pattern
PatternRuleCreateObject

Indatamönstret.

callback

ServiceCallback<PatternRuleInfo>

Återanropet

batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options?: RequestOptionsBase): Promise<PatternBatchAddPatternsResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleCreateObject[]

En JSON-matris som innehåller mönster.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternBatchAddPatternsResponse>

batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleCreateObject[]

En JSON-matris som innehåller mönster.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

batchAddPatterns(string, string, PatternRuleCreateObject[], ServiceCallback<PatternRuleInfo[]>)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleCreateObject[]

En JSON-matris som innehåller mönster.

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

deletePattern(string, string, string, RequestOptionsBase)

function deletePattern(appId: string, versionId: string, patternId: string, options?: RequestOptionsBase): Promise<PatternDeletePatternResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternDeletePatternResponse>

deletePattern(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePattern(appId: string, versionId: string, patternId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<OperationStatus>

Återanropet

deletePattern(string, string, string, ServiceCallback<OperationStatus>)

function deletePattern(appId: string, versionId: string, patternId: string, callback: ServiceCallback<OperationStatus>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

callback

ServiceCallback<OperationStatus>

Återanropet

deletePatterns(string, string, string[], RequestOptionsBase)

function deletePatterns(appId: string, versionId: string, patternIds: string[], options?: RequestOptionsBase): Promise<PatternDeletePatternsResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternIds

string[]

Mönster-ID:t.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternDeletePatternsResponse>

deletePatterns(string, string, string[], RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePatterns(appId: string, versionId: string, patternIds: string[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternIds

string[]

Mönster-ID:t.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<OperationStatus>

Återanropet

deletePatterns(string, string, string[], ServiceCallback<OperationStatus>)

function deletePatterns(appId: string, versionId: string, patternIds: string[], callback: ServiceCallback<OperationStatus>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternIds

string[]

Mönster-ID:t.

callback

ServiceCallback<OperationStatus>

Återanropet

listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams)

function listIntentPatterns(appId: string, versionId: string, intentId: string, options?: PatternListIntentPatternsOptionalParams): Promise<PatternListIntentPatternsResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

intentId

string

Avsiktsklassificerarens ID.

options
PatternListIntentPatternsOptionalParams

De valfria parametrarna

Returer

Promise<Models.PatternListIntentPatternsResponse>

listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)

function listIntentPatterns(appId: string, versionId: string, intentId: string, options: PatternListIntentPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

intentId

string

Avsiktsklassificerarens ID.

options
PatternListIntentPatternsOptionalParams

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

listIntentPatterns(string, string, string, ServiceCallback<PatternRuleInfo[]>)

function listIntentPatterns(appId: string, versionId: string, intentId: string, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

intentId

string

Avsiktsklassificerarens ID.

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

listPatterns(string, string, PatternListPatternsOptionalParams)

function listPatterns(appId: string, versionId: string, options?: PatternListPatternsOptionalParams): Promise<PatternListPatternsResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

options
PatternListPatternsOptionalParams

De valfria parametrarna

Returer

Promise<Models.PatternListPatternsResponse>

listPatterns(string, string, PatternListPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)

function listPatterns(appId: string, versionId: string, options: PatternListPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

options
PatternListPatternsOptionalParams

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

listPatterns(string, string, ServiceCallback<PatternRuleInfo[]>)

function listPatterns(appId: string, versionId: string, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options?: RequestOptionsBase): Promise<PatternUpdatePatternResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

pattern
PatternRuleUpdateObject

Ett objekt som representerar ett mönster.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternUpdatePatternResponse>

updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

pattern
PatternRuleUpdateObject

Ett objekt som representerar ett mönster.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo>

Återanropet

updatePattern(string, string, string, PatternRuleUpdateObject, ServiceCallback<PatternRuleInfo>)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, callback: ServiceCallback<PatternRuleInfo>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patternId

string

Mönster-ID.

pattern
PatternRuleUpdateObject

Ett objekt som representerar ett mönster.

callback

ServiceCallback<PatternRuleInfo>

Återanropet

updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options?: RequestOptionsBase): Promise<PatternUpdatePatternsResponse>

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleUpdateObject[]

En matris representerar mönstren.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.PatternUpdatePatternsResponse>

updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleUpdateObject[]

En matris representerar mönstren.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet

updatePatterns(string, string, PatternRuleUpdateObject[], ServiceCallback<PatternRuleInfo[]>)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], callback: ServiceCallback<PatternRuleInfo[]>)

Parametrar

appId

string

Program-ID:t.

versionId

string

Versions-ID.

patterns

PatternRuleUpdateObject[]

En matris representerar mönstren.

callback

ServiceCallback<PatternRuleInfo[]>

Återanropet