Documentation
¶
Index ¶
- func ContextValueObserverInstance(ctx context.Context) any
- func ContextValueParentID(ctx context.Context) string
- func ContextValueTraceID(ctx context.Context) string
- func ContextWithObserverInstance(ctx context.Context, instance any) context.Context
- func ContextWithParentID(ctx context.Context, parentID string) context.Context
- func ContextWithTraceID(ctx context.Context, traceID string) context.Context
- type ContextKey
- type Embedding
- type Event
- type Generation
- type Score
- type Span
- type Trace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextValueParentID ¶
func ContextValueTraceID ¶
func ContextWithParentID ¶
Types ¶
type ContextKey ¶
type ContextKey string
const ( ContextKeyParentID ContextKey = "observerParentID" ContextKeyTraceID ContextKey = "observerTraceID" ContextKeyObserverInstance ContextKey = "observerInstance" )
type Generation ¶
Click to show internal directories.
Click to hide internal directories.