package
0.0.0-20240624181418-df6d72de9bde
Repository: https://github.com/einstack/glide.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
HealthHandler
@id glide-health @Summary Gateway Health @Description @tags Operations @Accept json @Produce json @Success 200 {object} schemas.HealthSchema @Router /v1/health/ [get].
LangChatHandler
@id glide-language-chat @Summary Language Chat @Description Talk to different LLM Chat APIs via unified endpoint @tags Language @Param router path string true "Router ID" @Param payload body schemas.ChatRequest true "Request Data" @Accept json @Produce json @Success 200 {object} schemas.ChatResponse @Failure 400 {object} schemas.Error @Failure 404 {object} schemas.Error @Router /v1/language/{router}/chat [POST].
LangRoutersHandler
@id glide-language-routers @Summary Language Router List @Description Retrieve list of configured active language routers and their configurations @tags Language @Accept json @Produce json @Success 200 {object} schemas.RouterListSchema @Router /v1/language/ [GET].
LangStreamChatHandler
@id glide-language-chat-stream @Summary Language Chat @Description Talk to different LLM Stream Chat APIs via a unified websocket endpoint @tags Language @Param router path string true "Router ID" @Param Connection header string true "Websocket Connection Type" @Param Upgrade header string true "Upgrade header" @Param Sec-WebSocket-Key header string true "Websocket Security Token" @Param Sec-WebSocket-Version header string true "Websocket Security Token" @Accept json @Success 101 @Failure 426 @Failure 404 {object} schemas.Error @Router /v1/language/{router}/chatStream [GET].
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author