Documentation
¶
Index ¶
Constants ¶
View Source
const ( HGModel = "livekit/turn-detector" ONNXFilename = "model_q8.onnx" MaxHistoryTokens = 128 MaxHistoryTurns = 6 RemoteInferenceTimeout = 2 * time.Second )
View Source
const ( PluginTitle = "rtp-agent.plugins.turn_detector" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.turn_detector" )
Variables ¶
This section is empty.
Functions ¶
func RemoteInferenceURL ¶ added in v0.0.15
Types ¶
type Model ¶ added in v0.0.15
type Model struct {
// contains filtered or unexported fields
}
func NewEnglishModel ¶ added in v0.0.15
func NewEnglishModel(opts ...ModelOption) *Model
func NewMultilingualModel ¶ added in v0.0.15
func NewMultilingualModel(opts ...ModelOption) *Model
func (*Model) InferenceMethod ¶ added in v0.0.15
func (*Model) ModelRevision ¶ added in v0.0.15
func (*Model) RemoteInferenceURL ¶ added in v0.0.15
type ModelOption ¶ added in v0.0.15
type ModelOption func(*Model)
func WithRemoteInferenceBaseURL ¶ added in v0.0.15
func WithRemoteInferenceBaseURL(urlBase string) ModelOption
func WithUnlikelyThreshold ¶ added in v0.0.15
func WithUnlikelyThreshold(threshold float64) ModelOption
Click to show internal directories.
Click to hide internal directories.