Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 2019 Changes in this version + func UserAgent() string + func Version() string + type ActiveLearningSettingsDTO struct + Enable *string + type AlterationsClient struct + func NewAlterationsClient(endpoint string) AlterationsClient + func (client AlterationsClient) Get(ctx context.Context) (result WordAlterationsDTO, err error) + func (client AlterationsClient) GetPreparer(ctx context.Context) (*http.Request, error) + func (client AlterationsClient) GetResponder(resp *http.Response) (result WordAlterationsDTO, err error) + func (client AlterationsClient) GetSender(req *http.Request) (*http.Response, error) + func (client AlterationsClient) Replace(ctx context.Context, wordAlterations WordAlterationsDTO) (result autorest.Response, err error) + func (client AlterationsClient) ReplacePreparer(ctx context.Context, wordAlterations WordAlterationsDTO) (*http.Request, error) + func (client AlterationsClient) ReplaceResponder(resp *http.Response) (result autorest.Response, err error) + func (client AlterationsClient) ReplaceSender(req *http.Request) (*http.Response, error) + type AlterationsDTO struct + Alterations *[]string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + type ContextDTO struct + IsContextOnly *bool + Prompts *[]PromptDTO + type CreateKbDTO struct + Files *[]FileDTO + Name *string + QnaList *[]QnADTO + Urls *[]string + type CreateKbInputDTO struct + Files *[]FileDTO + QnaList *[]QnADTO + Urls *[]string + type DeleteKbContentsDTO struct + Ids *[]int32 + Sources *[]string + type EndpointKeysClient struct + func NewEndpointKeysClient(endpoint string) EndpointKeysClient + func (client EndpointKeysClient) GetKeys(ctx context.Context) (result EndpointKeysDTO, err error) + func (client EndpointKeysClient) GetKeysPreparer(ctx context.Context) (*http.Request, error) + func (client EndpointKeysClient) GetKeysResponder(resp *http.Response) (result EndpointKeysDTO, err error) + func (client EndpointKeysClient) GetKeysSender(req *http.Request) (*http.Response, error) + func (client EndpointKeysClient) RefreshKeys(ctx context.Context, keyType string) (result EndpointKeysDTO, err error) + func (client EndpointKeysClient) RefreshKeysPreparer(ctx context.Context, keyType string) (*http.Request, error) + func (client EndpointKeysClient) RefreshKeysResponder(resp *http.Response) (result EndpointKeysDTO, err error) + func (client EndpointKeysClient) RefreshKeysSender(req *http.Request) (*http.Response, error) + type EndpointKeysDTO struct + InstalledVersion *string + LastStableVersion *string + PrimaryEndpointKey *string + SecondaryEndpointKey *string + type EndpointSettingsClient struct + func NewEndpointSettingsClient(endpoint string) EndpointSettingsClient + func (client EndpointSettingsClient) GetSettings(ctx context.Context) (result EndpointSettingsDTO, err error) + func (client EndpointSettingsClient) GetSettingsPreparer(ctx context.Context) (*http.Request, error) + func (client EndpointSettingsClient) GetSettingsResponder(resp *http.Response) (result EndpointSettingsDTO, err error) + func (client EndpointSettingsClient) GetSettingsSender(req *http.Request) (*http.Response, error) + func (client EndpointSettingsClient) UpdateSettings(ctx context.Context, endpointSettingsPayload EndpointSettingsDTO) (result String, err error) + func (client EndpointSettingsClient) UpdateSettingsPreparer(ctx context.Context, endpointSettingsPayload EndpointSettingsDTO) (*http.Request, error) + func (client EndpointSettingsClient) UpdateSettingsResponder(resp *http.Response) (result String, err error) + func (client EndpointSettingsClient) UpdateSettingsSender(req *http.Request) (*http.Response, error) + type EndpointSettingsDTO struct + ActiveLearning *EndpointSettingsDTOActiveLearning + type EndpointSettingsDTOActiveLearning struct + Enable *string + type EnvironmentType string + const Prod + const Test + func PossibleEnvironmentTypeValues() []EnvironmentType + type Error struct + Code ErrorCodeType + Details *[]Error + InnerError *InnerErrorModel + Message *string + Target *string + type ErrorCodeType string + const BadArgument + const EndpointKeysError + const ExtractionFailure + const Forbidden + const KbNotFound + const NotFound + const OperationNotFound + const QnaRuntimeError + const QuotaExceeded + const SKULimitExceeded + const ServiceError + const Unauthorized + const Unspecified + const ValidationFailure + func PossibleErrorCodeTypeValues() []ErrorCodeType + type ErrorResponse struct + Error *ErrorResponseError + type ErrorResponseError struct + Code ErrorCodeType + Details *[]Error + InnerError *InnerErrorModel + Message *string + Target *string + type FileDTO struct + FileName *string + FileURI *string + type InnerErrorModel struct + Code *string + InnerError *InnerErrorModel + type KnowledgebaseClient struct + func NewKnowledgebaseClient(endpoint string) KnowledgebaseClient + func (client KnowledgebaseClient) Create(ctx context.Context, createKbPayload CreateKbDTO) (result Operation, err error) + func (client KnowledgebaseClient) CreatePreparer(ctx context.Context, createKbPayload CreateKbDTO) (*http.Request, error) + func (client KnowledgebaseClient) CreateResponder(resp *http.Response) (result Operation, err error) + func (client KnowledgebaseClient) CreateSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) Delete(ctx context.Context, kbID string) (result autorest.Response, err error) + func (client KnowledgebaseClient) DeletePreparer(ctx context.Context, kbID string) (*http.Request, error) + func (client KnowledgebaseClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client KnowledgebaseClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) Download(ctx context.Context, kbID string, environment EnvironmentType) (result QnADocumentsDTO, err error) + func (client KnowledgebaseClient) DownloadPreparer(ctx context.Context, kbID string, environment EnvironmentType) (*http.Request, error) + func (client KnowledgebaseClient) DownloadResponder(resp *http.Response) (result QnADocumentsDTO, err error) + func (client KnowledgebaseClient) DownloadSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) GetDetails(ctx context.Context, kbID string) (result KnowledgebaseDTO, err error) + func (client KnowledgebaseClient) GetDetailsPreparer(ctx context.Context, kbID string) (*http.Request, error) + func (client KnowledgebaseClient) GetDetailsResponder(resp *http.Response) (result KnowledgebaseDTO, err error) + func (client KnowledgebaseClient) GetDetailsSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) ListAll(ctx context.Context) (result KnowledgebasesDTO, err error) + func (client KnowledgebaseClient) ListAllPreparer(ctx context.Context) (*http.Request, error) + func (client KnowledgebaseClient) ListAllResponder(resp *http.Response) (result KnowledgebasesDTO, err error) + func (client KnowledgebaseClient) ListAllSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) Publish(ctx context.Context, kbID string) (result autorest.Response, err error) + func (client KnowledgebaseClient) PublishPreparer(ctx context.Context, kbID string) (*http.Request, error) + func (client KnowledgebaseClient) PublishResponder(resp *http.Response) (result autorest.Response, err error) + func (client KnowledgebaseClient) PublishSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) Replace(ctx context.Context, kbID string, replaceKb ReplaceKbDTO) (result autorest.Response, err error) + func (client KnowledgebaseClient) ReplacePreparer(ctx context.Context, kbID string, replaceKb ReplaceKbDTO) (*http.Request, error) + func (client KnowledgebaseClient) ReplaceResponder(resp *http.Response) (result autorest.Response, err error) + func (client KnowledgebaseClient) ReplaceSender(req *http.Request) (*http.Response, error) + func (client KnowledgebaseClient) Update(ctx context.Context, kbID string, updateKb UpdateKbOperationDTO) (result Operation, err error) + func (client KnowledgebaseClient) UpdatePreparer(ctx context.Context, kbID string, updateKb UpdateKbOperationDTO) (*http.Request, error) + func (client KnowledgebaseClient) UpdateResponder(resp *http.Response) (result Operation, err error) + func (client KnowledgebaseClient) UpdateSender(req *http.Request) (*http.Response, error) + type KnowledgebaseDTO struct + HostName *string + ID *string + LastAccessedTimestamp *string + LastChangedTimestamp *string + LastPublishedTimestamp *string + Name *string + Sources *[]string + Urls *[]string + UserID *string + type KnowledgebasesDTO struct + Knowledgebases *[]KnowledgebaseDTO + type MetadataDTO struct + Name *string + Value *string + type Operation struct + CreatedTimestamp *string + ErrorResponse *ErrorResponse + LastActionTimestamp *string + OperationID *string + OperationState OperationStateType + ResourceLocation *string + UserID *string + type OperationStateType string + const Failed + const NotStarted + const Running + const Succeeded + func PossibleOperationStateTypeValues() []OperationStateType + type OperationsClient struct + func NewOperationsClient(endpoint string) OperationsClient + func (client OperationsClient) GetDetails(ctx context.Context, operationID string) (result Operation, err error) + func (client OperationsClient) GetDetailsPreparer(ctx context.Context, operationID string) (*http.Request, error) + func (client OperationsClient) GetDetailsResponder(resp *http.Response) (result Operation, err error) + func (client OperationsClient) GetDetailsSender(req *http.Request) (*http.Response, error) + type PromptDTO struct + DisplayOrder *int32 + DisplayText *string + Qna *PromptDTOQna + QnaID *int32 + type PromptDTOQna struct + Answer *string + Context *QnADTOContext + ID *int32 + Metadata *[]MetadataDTO + Questions *[]string + Source *string + type QnADTO struct + Answer *string + Context *QnADTOContext + ID *int32 + Metadata *[]MetadataDTO + Questions *[]string + Source *string + type QnADTOContext struct + IsContextOnly *bool + Prompts *[]PromptDTO + type QnADocumentsDTO struct + QnaDocuments *[]QnADTO + type ReplaceKbDTO struct + QnAList *[]QnADTO + type String struct + Value *string + type UpdateContextDTO struct + IsContextOnly *bool + PromptsToAdd *[]PromptDTO + PromptsToDelete *[]int32 + type UpdateKbContentsDTO struct + Name *string + QnaList *[]UpdateQnaDTO + Urls *[]string + type UpdateKbOperationDTO struct + Add *UpdateKbOperationDTOAdd + Delete *UpdateKbOperationDTODelete + Update *UpdateKbOperationDTOUpdate + type UpdateKbOperationDTOAdd struct + Files *[]FileDTO + QnaList *[]QnADTO + Urls *[]string + type UpdateKbOperationDTODelete struct + Ids *[]int32 + Sources *[]string + type UpdateKbOperationDTOUpdate struct + Name *string + QnaList *[]UpdateQnaDTO + Urls *[]string + type UpdateMetadataDTO struct + Add *[]MetadataDTO + Delete *[]MetadataDTO + type UpdateQnaDTO struct + Answer *string + Context *UpdateQnaDTOContext + ID *int32 + Metadata *UpdateQnaDTOMetadata + Questions *UpdateQnaDTOQuestions + Source *string + type UpdateQnaDTOContext struct + IsContextOnly *bool + PromptsToAdd *[]PromptDTO + PromptsToDelete *[]int32 + type UpdateQnaDTOMetadata struct + Add *[]MetadataDTO + Delete *[]MetadataDTO + type UpdateQnaDTOQuestions struct + Add *[]string + Delete *[]string + type UpdateQuestionsDTO struct + Add *[]string + Delete *[]string + type WordAlterationsDTO struct + WordAlterations *[]AlterationsDTO Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v24 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v29 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48