...
1 package runtimeapi
2
3
4
5
6
7
8
9 import (
10 "context"
11 "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/luis/runtime"
12 "github.com/gofrs/uuid"
13 )
14
15
16 type PredictionClientAPI interface {
17 GetSlotPrediction(ctx context.Context, appID uuid.UUID, slotName string, predictionRequest runtime.PredictionRequest, verbose *bool, showAllIntents *bool, logParameter *bool) (result runtime.PredictionResponse, err error)
18 GetVersionPrediction(ctx context.Context, appID uuid.UUID, versionID string, predictionRequest runtime.PredictionRequest, verbose *bool, showAllIntents *bool, logParameter *bool) (result runtime.PredictionResponse, err error)
19 }
20
21 var _ PredictionClientAPI = (*runtime.PredictionClient)(nil)
22
View as plain text