conflictdetection

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConflictDetectionJobStatus

type ConflictDetectionJobStatus string

ConflictDetectionJobStatus The status of conflict detection job.

func ConflictDetectionJobStatus_COMPLETED

func ConflictDetectionJobStatus_COMPLETED() ConflictDetectionJobStatus

func ConflictDetectionJobStatus_FAILED

func ConflictDetectionJobStatus_FAILED() ConflictDetectionJobStatus

func ConflictDetectionJobStatus_IN_PROGRESS

func ConflictDetectionJobStatus_IN_PROGRESS() ConflictDetectionJobStatus

type ConflictIntent

type ConflictIntent struct {
	// Conflict intent name
	Name string `json:"name,omitempty"`
	// List of conflict intent slots
	Slots map[string]ConflictIntentSlot `json:"slots,omitempty"`
}

type ConflictIntentSlot

type ConflictIntentSlot struct {
	Value string `json:"value,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type ConflictResult

type ConflictResult struct {
	// Sample utterance provided by 3P developers for intents.
	SampleUtterance string          `json:"sampleUtterance,omitempty"`
	Intent          *ConflictIntent `json:"intent,omitempty"`
}

type GetConflictDetectionJobStatusResponse

type GetConflictDetectionJobStatusResponse struct {
	Status *ConflictDetectionJobStatus `json:"status,omitempty"`
	// The total number of conflicts within skill model.
	TotalConflicts int `json:"totalConflicts,omitempty"`
}

type GetConflictsResponse

type GetConflictsResponse struct {
	PagedResponse
	Results []*GetConflictsResponseResult `json:"results,omitempty"`
}

type GetConflictsResponseResult

type GetConflictsResponseResult struct {
	// Utterance resolved from sample utterance that causes conflicts among different intents.
	ConflictingUtterance string            `json:"conflictingUtterance,omitempty"`
	Conflicts            []*ConflictResult `json:"conflicts,omitempty"`
}

type PagedResponse

type PagedResponse struct {
	PaginationContext *PaginationContext `json:"paginationContext,omitempty"`
	Links             *smapiv1.Links     `json:"_links,omitempty"`
}

type PaginationContext

type PaginationContext struct {
	// A token returned if there are more results for the given inputs than `maxResults` from the request. It should also be used in the next request to retrieve more results.
	NextToken string `json:"nextToken,omitempty"`
	// Total avaliable results for the given query.
	TotalCount int `json:"totalCount,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL