Documentation
¶
Index ¶
Constants ¶
View Source
const ( TopicMilestone = "llm.response.milestone" TopicUsage = "llm.response.usage" TopicObserved = "llm.response.observed" TopicFailed = "llm.response.failed" )
View Source
const Name = "llmobserve"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limits ¶
type Limits struct {
MaxSSEMetadataBytes int `json:"max-sse-metadata-bytes,omitempty"`
MaxRetainedBytes int `json:"max-retained-bytes,omitempty"`
MaxNestingDepth int `json:"max-nesting-depth,omitempty"`
MaxObjectMembers int `json:"max-object-members,omitempty"`
MaxKeyBytes int `json:"max-key-bytes,omitempty"`
}
type Observation ¶
type Observation string
const ( ObserveUsage Observation = "usage" ObservePerformance Observation = "performance" )
type Spec ¶
type Spec struct {
Protocol llmobserve.Protocol `json:"protocol"`
Observe []Observation `json:"observe"`
Limits Limits `json:"limits,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.