Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPoint ¶
type DataPoint struct {
TimeStamp int64 `json:"timeStamp"`
NumberOfRequests int64 `json:"numberOfRequests"`
CostInUsd float64 `json:"costInUsd"`
LatencyInMs int `json:"latencyInMs"`
PromptTokenCount int `json:"promptTokenCount"`
CompletionTokenCount int `json:"completionTokenCount"`
SuccessCount int `json:"successCount"`
Model string `json:"model"`
KeyId string `json:"keyId"`
}
type Event ¶
type Event struct {
Id string `json:"id"`
CreatedAt int64 `json:"created_at"`
Tags []string `json:"tags"`
KeyId string `json:"key_id"`
CostInUsd float64 `json:"cost_in_usd"`
Provider string `json:"provider"`
Model string `json:"model"`
Status int `json:"status"`
PromptTokenCount int `json:"prompt_token_count"`
CompletionTokenCount int `json:"completion_token_count"`
LatencyInMs int `json:"latency_in_ms"`
Path string `json:"path"`
Method string `json:"method"`
CustomId string `json:"custom_id"`
}
type ReportingRequest ¶
type ReportingResponse ¶
Click to show internal directories.
Click to hide internal directories.