Documentation
¶
Index ¶
- type Langfuse
- func (l *Langfuse) Event(e *model.Event, parentID *string) (*model.Event, error)
- func (l *Langfuse) Flush(ctx context.Context)
- func (l *Langfuse) Generation(g *model.Generation, parentID *string) (*model.Generation, error)
- func (l *Langfuse) GenerationEnd(g *model.Generation) (*model.Generation, error)
- func (l *Langfuse) Score(s *model.Score) (*model.Score, error)
- func (l *Langfuse) Span(s *model.Span, parentID *string) (*model.Span, error)
- func (l *Langfuse) SpanEnd(s *model.Span) (*model.Span, error)
- func (l *Langfuse) Trace(t *model.Trace) (*model.Trace, error)
- func (l *Langfuse) WithFlushInterval(d time.Duration) *Langfuse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Langfuse ¶
type Langfuse struct {
// contains filtered or unexported fields
}
func (*Langfuse) Generation ¶
func (l *Langfuse) Generation(g *model.Generation, parentID *string) (*model.Generation, error)
func (*Langfuse) GenerationEnd ¶
func (l *Langfuse) GenerationEnd(g *model.Generation) (*model.Generation, error)
Click to show internal directories.
Click to hide internal directories.