Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR cognitiveservices/data-plane/LUIS/Runtime] LUIS Runtime V3.0 #5799

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions profiles/latest/stable/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package runtime

import original "github.com/Azure/azure-sdk-for-go/services/stable/cognitiveservices/v3.0/luis/runtime"

type BaseClient = original.BaseClient
type DynamicList = original.DynamicList
type Error = original.Error
type ErrorBody = original.ErrorBody
type ExternalEntity = original.ExternalEntity
type Intent = original.Intent
type Prediction = original.Prediction
type PredictionClient = original.PredictionClient
type PredictionRequest = original.PredictionRequest
type PredictionRequestOptions = original.PredictionRequestOptions
type PredictionResponse = original.PredictionResponse
type RequestList = original.RequestList
type Sentiment = original.Sentiment

func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewPredictionClient(endpoint string) PredictionClient {
return original.NewPredictionClient(endpoint)
}
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package runtimeapi

import original "github.com/Azure/azure-sdk-for-go/services/stable/cognitiveservices/v3.0/luis/runtime/runtimeapi"

type PredictionClientAPI = original.PredictionClientAPI
52 changes: 52 additions & 0 deletions profiles/preview/stable/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package runtime

import original "github.com/Azure/azure-sdk-for-go/services/stable/cognitiveservices/v3.0/luis/runtime"

type BaseClient = original.BaseClient
type DynamicList = original.DynamicList
type Error = original.Error
type ErrorBody = original.ErrorBody
type ExternalEntity = original.ExternalEntity
type Intent = original.Intent
type Prediction = original.Prediction
type PredictionClient = original.PredictionClient
type PredictionRequest = original.PredictionRequest
type PredictionRequestOptions = original.PredictionRequestOptions
type PredictionResponse = original.PredictionResponse
type RequestList = original.RequestList
type Sentiment = original.Sentiment

func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewPredictionClient(endpoint string) PredictionClient {
return original.NewPredictionClient(endpoint)
}
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package runtimeapi

import original "github.com/Azure/azure-sdk-for-go/services/stable/cognitiveservices/v3.0/luis/runtime/runtimeapi"

type PredictionClientAPI = original.PredictionClientAPI
44 changes: 44 additions & 0 deletions services/stable/cognitiveservices/v3.0/luis/runtime/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 152 additions & 0 deletions services/stable/cognitiveservices/v3.0/luis/runtime/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading