Versions in this module Expand all Collapse all v3 v3.0.4 Apr 1, 2024 v3.0.3 Nov 12, 2023 v3.0.2 Apr 9, 2023 v3.0.1 Jun 12, 2022 v3.0.0 May 31, 2022 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + DefinitionApi *DefinitionApiService + KeyManagementApi *KeyManagementApiService + MediaApi *MediaApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type BasicAuth struct + Password string + UserName string + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type DefinitionApiService service + func (a *DefinitionApiService) CreateKeywordSpottingGroup(ctx context.Context, groupId string, keywordSpottingGroup VbKeywordGroup) (VbKeywordGroup, *http.Response, error) + func (a *DefinitionApiService) CreateVocabulary(ctx context.Context, vocabularyId string, vocabulary VbVocabulary) (VbVocabulary, *http.Response, error) + func (a *DefinitionApiService) DeleteKeywordSpottingGroupById(ctx context.Context, groupId string) (*http.Response, error) + func (a *DefinitionApiService) DeleteVocabularyById(ctx context.Context, vocabularyId string) (*http.Response, error) + func (a *DefinitionApiService) GetClassifier(ctx context.Context, classifierId string) (VbClassifierModel, *http.Response, error) + func (a *DefinitionApiService) GetClassifiers(ctx context.Context) (VbClassifierModelsResponse, *http.Response, error) + func (a *DefinitionApiService) GetDetector(ctx context.Context, detectorId string) (VbDetectorModel, *http.Response, error) + func (a *DefinitionApiService) GetDetectors(ctx context.Context) (VbDetectorModelsResponse, *http.Response, error) + func (a *DefinitionApiService) GetKeywordSpottingGroupById(ctx context.Context, groupId string) (VbKeywordGroup, *http.Response, error) + func (a *DefinitionApiService) GetKeywordSpottingGroups(ctx context.Context) (VbKeywordGroupsResponse, *http.Response, error) + func (a *DefinitionApiService) GetSearchableFields(ctx context.Context) (VbSearchableFields, *http.Response, error) + func (a *DefinitionApiService) GetVocabularies(ctx context.Context) (VbVocabulariesResponse, *http.Response, error) + func (a *DefinitionApiService) GetVocabularyById(ctx context.Context, vocabularyId string) (VbVocabulary, *http.Response, error) + func (a *DefinitionApiService) SetSearchableFields(ctx context.Context, searchableFields VbSearchableFields) (VbSearchableFields, *http.Response, error) + type KeyManagementApiService service + func (a *KeyManagementApiService) CreateKey(ctx context.Context, key VbKeyConfiguration) (VbKey, *http.Response, error) + func (a *KeyManagementApiService) DeleteKeyById(ctx context.Context, keyId string) (*http.Response, error) + func (a *KeyManagementApiService) GetKeyById(ctx context.Context, keyId string) (VbKey, *http.Response, error) + func (a *KeyManagementApiService) GetKeys(ctx context.Context) (VbKeysResponse, *http.Response, error) + type MediaApiService service + func (a *MediaApiService) DeleteMediaById(ctx context.Context, mediaId string) (*http.Response, error) + func (a *MediaApiService) GetMediaById(ctx context.Context, mediaId string, localVarOptionals map[string]interface{}) (VbMedia, *http.Response, error) + func (a *MediaApiService) GetMetadataById(ctx context.Context, mediaId string) (VbMetadata, *http.Response, error) + func (a *MediaApiService) GetProgressById(ctx context.Context, mediaId string) (VbJob, *http.Response, error) + func (a *MediaApiService) GetStreamByMediaIdAndName(ctx context.Context, mediaId string, streamName string) (VbStream, *http.Response, error) + func (a *MediaApiService) GetStreamsById(ctx context.Context, mediaId string) (VbStreams, *http.Response, error) + func (a *MediaApiService) GetSubtitleDfxpById(ctx context.Context, mediaId string) (string, *http.Response, error) + func (a *MediaApiService) GetSubtitleWebVttById(ctx context.Context, mediaId string) (string, *http.Response, error) + func (a *MediaApiService) GetSubtitlesById(ctx context.Context, mediaId string) (string, *http.Response, error) + func (a *MediaApiService) GetTextById(ctx context.Context, mediaId string) (string, *http.Response, error) + func (a *MediaApiService) GetTranscript(ctx context.Context, mediaId string, localVarOptionals map[string]interface{}) (VbTranscript, *http.Response, error) + func (a *MediaApiService) MediaQuery(ctx context.Context, localVarOptionals map[string]interface{}) (VbMediaQueryResponse, *http.Response, error) + func (a *MediaApiService) PostMedia(ctx context.Context, localVarOptionals map[string]interface{}) (VbMedia, *http.Response, error) + func (a *MediaApiService) PostMediaById(ctx context.Context, mediaId string, localVarOptionals map[string]interface{}) (VbMedia, *http.Response, error) + func (a *MediaApiService) SetMetadataById(ctx context.Context, mediaId string, metadata VbMetadata) (VbMetadata, *http.Response, error) + type VbAudioRedactorConfiguration struct + Gain float32 + Tone int32 + type VbCallbackConfiguration struct + Format *VbCallbackFormatEnum + Include []VbIncludeTypeEnum + Method *VbHttpMethodEnum + Stream *VbCallbackStreamEnum + Type_ *VbCallbackTypeEnum + Url string + type VbCallbackFormatEnum string + const DFXP + const JSON + const SRT + const TEXT + const WEBVTT + type VbCallbackStreamEnum string + const ORIGINAL + const REDACTED_AUDIO + type VbCallbackTypeEnum string + const ANALYTICS + const MEDIA + const TRANSCRIPT + type VbChannelConfiguration struct + Ignore bool + SpeakerName string + SpeakerRole string + type VbClass struct + ClassLabel string + ClassValue int32 + type VbClassifier struct + ClassifierDisplayName string + ClassifierId string + ClassifierName string + ClassifierType string + PredictedClass int32 + PredictedClassLabel string + PredictionScore float64 + type VbClassifierConfiguration struct + ClassifierId string + ClassifierName string + Parameters []VbParameter + Version string + type VbClassifierModel struct + Classes []VbClass + ClassifierDescription string + ClassifierId string + ClassifierName string + ClassifierType string + ClassifierVersion string + Parameters []VbParameterDefinition + type VbClassifierModelsResponse struct + Classifiers []VbClassifierModel + type VbConfiguration struct + AdditionalSpeechModels []VbSpeechModelConfiguration + Ingest *VbIngestConfiguration + Knowledge *VbKnowledgeConfiguration + Prediction *VbPredictionConfiguration + Priority *VbPriorityEnum + Publish *VbPublishConfiguration + SpeechModel *VbSpeechModelConfiguration + Spotting *VbSpottingConfiguration + Transcript *VbTranscriptConfiguration + Vocabularies []VbVocabularyConfiguration + type VbContentFilteringConfiguration struct + EnableProfanityFiltering bool + type VbDetectedSegment struct + Occurrences []VbOccurrence + SpeakerName string + type VbDetection struct + DetectedSegments []VbDetectedSegment + DetectorClass int32 + DetectorClassLabel string + type VbDetector struct + Detections []VbDetection + DetectorDisplayName string + DetectorId string + DetectorName string + DetectorType string + type VbDetectorConfiguration struct + DetectorId string + DetectorName string + Parameters []VbParameter + Redactor *VbRedactorConfiguration + Version string + type VbDetectorModel struct + Classes []VbClass + DetectorDescription string + DetectorId string + DetectorName string + DetectorType string + DetectorVersion string + Parameters []VbParameterDefinition + type VbDetectorModelsResponse struct + Detectors []VbDetectorModel + type VbDiarization struct + Band string + Env string + Gender string + Length int64 + SpeakerLabel string + Start int64 + type VbError struct + Code int32 + Error_ string + type VbErrorResponse struct + Errors []VbError + Reference string + Status int32 + Warnings []VbMessage + type VbFormattingConfiguration struct + EnableNumberFormatting bool + type VbFrequency struct + E float64 + F float64 + type VbGroup struct + GroupName string + Score float64 + Spotted bool + SpottedKeywords []VbKeyword + type VbHttpMethodEnum string + const POST + const PUT + type VbIncludeTypeEnum string + const INCLUDE_KNOWLEDGE + const INCLUDE_METADATA + const INCLUDE_PREDICTION + const INCLUDE_SPOTTING + const INCLUDE_STREAMS + const INCLUDE_TRANSCRIPT + type VbIngestConfiguration struct + Channels []VbChannelConfiguration + SpeakerName string + SpeakerRole string + Stereo *VbStereoConfiguration + Tracks []VbTrackConfiguration + type VbJob struct + JobId string + MediaId string + Progress *VbProgress + type VbKey struct + BearerToken string + ExpirationDate time.Time + Expired bool + Id string + Issued time.Time + LastSix string + Scope string + type VbKeyConfiguration struct + Ephemeral bool + ExpirationDate time.Time + Scope string + TtlMillis int64 + type VbKeysResponse struct + Keys []VbKey + type VbKeyword struct + Keyword string + Mentions []VbMention + Relevance float64 + type VbKeywordGroup struct + GroupName string + Keywords []string + type VbKeywordGroupsResponse struct + Groups []VbKeywordGroup + type VbKnowledge struct + Keywords []VbKeyword + Topics []VbTopic + type VbKnowledgeConfiguration struct + EnableDiscovery bool + EnableExternalDataSources bool + type VbMedia struct + DateCreated time.Time + FormatVersion string + Job *VbJob + Knowledge *VbKnowledge + Length int64 + MediaContentType string + MediaId string + Metadata *VbMetadata + Prediction *VbPrediction + Spotting *VbSpotting + Status *VbStatusEnum + Streams []VbStream + Transcript *VbTranscript + Warnings []VbMessage + type VbMediaQueryResponse struct + Media []VbMediaSummary + type VbMediaSummary struct + DateCreated time.Time + FormatVersion string + MediaId string + Metadata *VbMetadata + Status *VbStatusEnum + type VbMention struct + Occurrences []VbOccurrence + SpeakerName string + type VbMessage struct + Code int32 + Message string + type VbMetadata struct + Description string + Extended map[string]interface{} + ExternalId string + Title string + type VbOccurrence struct + E int64 + Exact string + S int64 + type VbParameter struct + Parameter string + Value string + type VbParameterDefinition struct + DefaultValue string + Name string + Optional bool + Type_ string + ValueSet []string + type VbPrediction struct + Classifiers []VbClassifier + Detectors []VbDetector + type VbPredictionConfiguration struct + Classifiers []VbClassifierConfiguration + Detectors []VbDetectorConfiguration + type VbPriorityEnum string + const HIGH + const LOW + const NORMAL + type VbProgress struct + Finish string + JobId string + Start string + Status *VbTaskStatusEnum + Tasks []VbProgressTask + type VbProgressTask struct + Dependencies []string + Dependents []string + Display string + Phase string + Status *VbTaskStatusEnum + TaskId string + type VbPublishConfiguration struct + Callbacks []VbCallbackConfiguration + type VbRedactorConfiguration struct + Audio *VbAudioRedactorConfiguration + Transcript *VbTranscriptRedactorConfiguration + type VbReference struct + Name string + Score float64 + type VbSearchableFields struct + Fields []string + type VbSpeechModelConfiguration struct + Extensions []string + Features []string + Language string + type VbSpotting struct + Groups []VbGroup + type VbSpottingConfiguration struct + Groups []VbSpottingGroupConfiguration + type VbSpottingGroupConfiguration struct + GroupName string + type VbStatusEnum string + const ACCEPTED + const FAILED + const FINISHED + const RUNNING + const SCHEDULED + type VbStereoConfiguration struct + Left *VbChannelConfiguration + Right *VbChannelConfiguration + type VbStream struct + Comment string + Status int32 + StreamLocation string + StreamName string + type VbStreams struct + Streams []VbStream + type VbTaskStatusEnum string + const TASK_STATUS_ACCEPTED + const TASK_STATUS_CANCELLED + const TASK_STATUS_COMPLETED + const TASK_STATUS_EXCEEDEDRETRIES + const TASK_STATUS_EXPIRED + const TASK_STATUS_FAILED + const TASK_STATUS_FINISHED + const TASK_STATUS_LOADED + const TASK_STATUS_PENDING + const TASK_STATUS_SKIPPED + const TASK_STATUS_STARTED + const TASK_STATUS_STOPPED + const TASK_STATUS_STORED + type VbTopic struct + Keywords []VbKeyword + Relevance float64 + SubTopics []VbReference + TopicName string + type VbTrackConfiguration struct + Channels []VbChannelConfiguration + SpeakerName string + SpeakerRole string + TrackIndex int32 + type VbTranscript struct + AlternateFormats []VbTranscriptFormat + Confidence float64 + Words []VbWord + type VbTranscriptConfiguration struct + ContentFiltering *VbContentFilteringConfiguration + Formatting *VbFormattingConfiguration + type VbTranscriptFormat struct + Charset string + ContentEncoding string + ContentType string + Data string + Format string + type VbTranscriptRedactorConfiguration struct + Replacement string + type VbVocabulariesResponse struct + Vocabularies []VbVocabulary + type VbVocabulary struct + Scripts []VbVocabularyScript + Terms []VbVocabularyTerm + VocabularyName string + VocabularyType VbVocabularyType + type VbVocabularyConfiguration struct + Scripts []VbVocabularyScriptConfiguration + Terms []VbVocabularyTermConfiguration + VocabularyName string + type VbVocabularyScript struct + Script string + type VbVocabularyScriptConfiguration struct + Script string + type VbVocabularyTerm struct + SoundsLike []string + Term string + Weight int32 + type VbVocabularyTermConfiguration struct + SoundsLike []string + Term string + Weight int32 + type VbVocabularyType string + const SCRIPTS + const TERMS + type VbWord struct + C float64 + E int64 + Frq []VbFrequency + M *VbWordTypeEnum + P int32 + S int64 + V float64 + W string + type VbWordTypeEnum string + const DTMF + const PUNC + const TURN Other modules containing this package github.com/grokify/go-voicebase-v3