Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenCounter ¶
func NewTokenCounter()
Types ¶
type RouteConfig ¶
type RouteConfig struct { Path string `json:"path"` TargetUrl string `json:"target_url"` StreamLocation string `json:"stream_location"` ModelLocation string `json:"model_location"` RequestPromptLocation string `json:"request_prompt_location"` ResponseCompletionLocation string `json:"response_completion_location"` StreamEndWord string `json:"stream_end_word"` StreamResponseCompletionLocation string `json:"stream_response_completion_location"` StreamMaxEmptyMessages int `json:"stream_max_empty_messages"` }
type UpdateProvider ¶ added in v1.3.1
type UpdateProvider struct { UpdatedAt int64 `json:"updated_at"` RouteConfigs []*RouteConfig `json:"route_configs"` AuthenticationParam *string `json:"authentication_param"` }
Click to show internal directories.
Click to hide internal directories.