transcript

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIResponseParameters added in v1.11.0

type AIResponseParameters struct {
	System       string  `json:"system"`
	Assistant    string  `json:"assistant"`
	Output       string  `json:"output"`
	Model        string  `json:"model"`
	Temperature  float64 `json:"temperature"`
	MaxTokens    int     `json:"maxTokens"`
	QueryTokens  int     `json:"queryTokens"`
	AnswerTokens int     `json:"answerTokens"`
	Tokens       int     `json:"tokens"`
	Multiplier   float64 `json:"multiplier"`
}

type Annotation

type Annotation struct {
	ID struct {
		UtteranceAddedCount int    `json:"utteranceAddedCount"`
		UtteranceAddedTo    string `json:"utteranceAddedTo"`
	} `json:"_id"`
}

type BlockPayload added in v1.11.0

type BlockPayload struct {
	BlockID string `json:"blockID"`
}

type Children added in v1.11.0

type Children struct {
	Text string `json:"text"`
}

type Content added in v1.11.0

type Content struct {
	Children []Children `json:"children"`
}

type DebugPayload added in v1.11.0

type DebugPayload struct {
	Type    string `json:"type,omitempty"`
	Message string `json:"message"`
}

type FlowPayload added in v1.11.0

type FlowPayload struct {
	DiagramID string `json:"diagramID"`
}

type Intent added in v1.11.0

type Intent struct {
	Name string `json:"name"`
}

type IntentPayload added in v1.11.0

type IntentPayload struct {
	Query      string        `json:"query"`
	Intent     Intent        `json:"intent"`
	Entities   []interface{} `json:"entities"`
	Confidence float64       `json:"confidence"`
}

type Payload added in v1.11.0

type Payload struct {
	Time    int64       `json:"time,omitempty"`
	Type    string      `json:"type,omitempty"`
	Payload interface{} `json:"payload,omitempty"`
}

func (Payload) GetIntentPayload added in v1.11.0

func (p Payload) GetIntentPayload() (*IntentPayload, error)

Add GetIntentPayload method

func (Payload) GetRequestPayload added in v1.11.0

func (p Payload) GetRequestPayload() (*RequestPayload, error)

func (Payload) GetTextPayload added in v1.11.0

func (p Payload) GetTextPayload() (*TextPayload, error)

GetTextPayload extracts TextPayload from generic Payload

type RequestPayload added in v1.11.0

type RequestPayload struct {
	Type    string        `json:"type"`
	Payload IntentPayload `json:"payload"`
}

type Slate added in v1.11.0

type Slate struct {
	ID                       string    `json:"id"`
	Content                  []Content `json:"content"`
	MessageDelayMilliseconds int       `json:"messageDelayMilliseconds"`
}

type TextPayload added in v1.11.0

type TextPayload struct {
	Slate   Slate  `json:"slate"`
	Message string `json:"message"`
	Delay   int    `json:"delay"`
	AI      bool   `json:"ai"`
}

type TranscriptInformation

type TranscriptInformation struct {
	ProjectID   string     `json:"projectID,omitempty"`
	SessionID   string     `json:"sessionID,omitempty"`
	Browser     string     `json:"browser,omitempty"`
	Device      string     `json:"device,omitempty"`
	OS          string     `json:"os,omitempty"`
	ReportTags  []string   `json:"reportTags,omitempty"`
	Unread      bool       `json:"unread,omitempty"`
	Annotations Annotation `json:"annotations,omitempty"`
	CreatorID   int        `json:"creatorID,omitempty"`
	CreatedAt   string     `json:"createdAt,omitempty"`
	UpdatedAt   string     `json:"updatedAt,omitempty"`
	Name        string     `json:"name,omitempty"`
	Image       string     `json:"image,omitempty"`
	ID          string     `json:"_id,omitempty"`
}

type Turn added in v1.11.0

type Turn struct {
	TurnID    string    `json:"turnID"`
	Format    string    `json:"format"`
	Type      string    `json:"type"`
	Payload   Payload   `json:"payload"`
	StartTime time.Time `json:"startTime"`
}

Jump to

Keyboard shortcuts

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