version

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

This package handles the versioning in the API both async and streaming

This package handles the versioning in the API both async and streaming

This package handles the versioning in the API both async and streaming

This package handles the versioning in the API both async and streaming

Index

Constants

View Source
const (
	AsyncAPIVersion string = "v1"

	// processing audio
	ProcessAudioURI    string = "https://api.symbl.ai/%s/process/audio?name=%s"
	ProcessAudioURLURI string = "https://api.symbl.ai/%s/process/audio/url"

	// processing video
	ProcessVideoURI    string = "https://api.symbl.ai/%s/process/video?name=%s"
	ProcessVideoURLURI string = "https://api.symbl.ai/%s/process/video/url"

	// processing text
	ProcessTextURI       string = "https://api.symbl.ai/%s/process/text"
	ProcessAppendTextURI string = "https://api.symbl.ai/%s/process/text/%s"

	// job status
	JobStatusURI string = "https://api.symbl.ai/%s/job/%s"

	// intelligence
	TopicsURI      string = "https://api.symbl.ai/%s/conversations/%s/topics"
	QuestionsURI   string = "https://api.symbl.ai/%s/conversations/%s/questions"
	FollowUpsURI   string = "https://api.symbl.ai/%s/conversations/%s/follow-ups"
	EntitiesURI    string = "https://api.symbl.ai/%s/conversations/%s/entities"
	ActionItemsURI string = "https://api.symbl.ai/%s/conversations/%s/action-items"
	MessagesURI    string = "https://api.symbl.ai/%s/conversations/%s/messages"
	AnalyticsURI   string = "https://api.symbl.ai/%s/conversations/%s/analytics"
	TrackersURI    string = "https://api.symbl.ai/%s/conversations/%s/trackers"
	TranscriptURI  string = "https://api.symbl.ai/%s/conversations/%s/transcript"

	// bookmarks
	BookmarksURI            string = "https://api.symbl.ai/%s/conversations/%s/bookmarks"
	BookmarksByIdURI        string = "https://api.symbl.ai/%s/conversations/%s/bookmarks/%s"
	BookmarkSummaryURI      string = "https://api.symbl.ai/%s/conversations/%s/bookmarks/%s/summary"
	SummariesOfBookmarksURI string = "https://api.symbl.ai/%s/conversations/%s/bookmarks-summary"

	// summary ui
	SummaryURI string = "https://api.symbl.ai/%s/conversations/%s/experiences"

	// Insights Ui
	InsightsListUiURI    string = "https://api.symbl.ai/%s/conversations/experiences/insights/list?includeCallScore=true"
	InsightsDetailsUiURI string = "https://api.symbl.ai/%s/conversations/experiences/insights/details/%s?includeCallScore=true"
	UpdateMediaURI       string = "https://api.symbl.ai/%s/conversations/%s/experiences/url"

	// Conversations
	ConversationsURI string = "https://api.symbl.ai/%s/conversations"
	ConversationURI  string = "https://api.symbl.ai/%s/conversations/%s"

	// Members
	MembersURI  string = "https://api.symbl.ai/%s/conversations/%s/members"
	MemberURI   string = "https://api.symbl.ai/%s/conversations/%s/members/%s"
	SpeakersURI string = "https://api.symbl.ai/%s/conversations/%s/speakers"

	// Call Score
	CallScoreStatusURI string = "https://api.symbl.ai/%s/conversations/%s/callscore/status"
	InsightStatusURI   string = "https://api.symbl.ai/%s/conversations/%s/lm-insights/status"
	CallScoreURI       string = "https://api.symbl.ai/%s/conversations/%s/callscore"
)
View Source
const (
	ManagementAPIVersion string = "v1"

	// trackers
	ManagementTrackerURI     string = "https://api.symbl.ai/%s/manage/trackers"
	ManagementTrackerByIdURI string = "https://api.symbl.ai/%s/manage/trackers/%s"

	// entity
	ManagementEntitiesURI          string = "https://api.symbl.ai/%s/manage/entities"
	ManagementEntitiesBulkURI      string = "https://api.symbl.ai/%s/manage/entities/bulk"
	ManagementEntitiesByIdURI      string = "https://api.symbl.ai/%s/manage/entities/%s"
	ManagementEntitiesBySubTypeURI string = "https://api.symbl.ai/%s/manage/entities?subType=%s"

	// conversation groups
	ManagementConversationGroupURI     string = "https://api.symbl.ai/%s/manage/group"
	ManagementConversationGroupsURI    string = "https://api.symbl.ai/%s/manage/groups"
	ManagementConversationGroupByIdURI string = "https://api.symbl.ai/%s/manage/group/%s"
)
View Source
const (
	NebulaAsyncAPIVersion string = "v1"

	// processing audio
	AskNebulaURI string = "https://api-nebula.symbl.ai/%s/model/generate"
)
View Source
const (
	StreamAPIVersion string = "v1"

	// StreamPath string = "%s/streaming/%s?access_token=%s"
	// StreamPath string = "%s/realtime/insights/%s?access_token=%s" // this is bad for library ? -> %3F
	StreamPath string = "%s/realtime/insights/%s"
)

Variables

This section is empty.

Functions

func GetAsyncAPI

func GetAsyncAPI(URI string, args ...interface{}) string

func GetManagementAPI

func GetManagementAPI(URI string, args ...interface{}) string

func GetNebulaAsyncAPI

func GetNebulaAsyncAPI(URI string, args ...interface{}) string

func GetStreamingAPI

func GetStreamingAPI(URI string, args ...interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL