Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(httpClient *http.Client, httpRetries *httpx.RetryConfig, httpAccess *httpx.AccessConfig, classifier *flows.Classifier, endpoint, appID, key, slot string) flows.ClassificationService
NewService creates a new classification service
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a basic LUIS client
func NewClient ¶
func NewClient(httpClient *http.Client, httpRetries *httpx.RetryConfig, httpAccess *httpx.AccessConfig, endpoint, appID, key, slot string) *Client
NewClient creates a new client
type Entities ¶ added in v0.132.0
func (*Entities) UnmarshalJSON ¶ added in v0.132.0
type PredictResponse ¶
type PredictResponse struct { Query string `json:"query"` Prediction *Prediction `json:"prediction" validate:"required"` }
PredictResponse is the response from a predict request
type Prediction ¶ added in v0.132.0
Click to show internal directories.
Click to hide internal directories.