otel

package
v0.0.0-...-d39df66 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnableDebug     = false
	EnableTelemetry = false
)

Functions

func Setup

func Setup(serviceName, serviceVersion string) error

func Transport

func Transport(rt http.RoundTripper) http.RoundTripper

Types

type Chain

type Chain interface {
	Observable
	chain.Provider
}

func NewChain

func NewChain(provider, model string, p chain.Provider) Chain

type Completer

type Completer interface {
	Observable
	provider.Completer
}

func NewCompleter

func NewCompleter(provider, model string, p provider.Completer) Completer

type Embedder

type Embedder interface {
	Observable
	provider.Embedder
}

func NewEmbedder

func NewEmbedder(provider, model string, p provider.Embedder) Embedder

type Extractor

type Extractor interface {
	Observable
	extractor.Provider
}

func NewExtractor

func NewExtractor(provider string, p extractor.Provider) Extractor

type Index

type Index interface {
	Observable
	index.Provider
}

func NewIndex

func NewIndex(provider, index string, p index.Provider) Index

type KeyValue

type KeyValue = attribute.KeyValue

func String

func String(key string, val string) KeyValue

func Strings

func Strings(key string, val []string) KeyValue

type Observable

type Observable interface {
	// contains filtered or unexported methods
}

type Renderer

type Renderer interface {
	Observable
	provider.Renderer
}

func NewRenderer

func NewRenderer(provider, model string, p provider.Renderer) Renderer

type Reranker

type Reranker interface {
	Observable
	provider.Reranker
}

func NewReranker

func NewReranker(provider, model string, p provider.Reranker) Reranker

type Segmenter

type Segmenter interface {
	Observable
	segmenter.Provider
}

func NewSegmenter

func NewSegmenter(provider string, p segmenter.Provider) Segmenter

type Synthesizer

type Synthesizer interface {
	Observable
	provider.Synthesizer
}

func NewSynthesizer

func NewSynthesizer(provider, model string, p provider.Synthesizer) Synthesizer

type Tool

type Tool interface {
	Observable
	tool.Tool
}

func NewTool

func NewTool(provider string, p tool.Tool) Tool

type Transcriber

type Transcriber interface {
	Observable
	provider.Transcriber
}

func NewTranscriber

func NewTranscriber(provider, model string, p provider.Transcriber) Transcriber

type Translator

type Translator interface {
	Observable
	translator.Provider
}

func NewTranslator

func NewTranslator(provider, model string, p translator.Provider) Translator

Jump to

Keyboard shortcuts

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