package
0.0.0-20240624181418-df6d72de9bde
Repository: https://github.com/einstack/glide.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetChatRequest get objects from the pool.
GetChatResponse get objects from the pool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReleaseChatRequest release objects from the pool.
ReleaseChatResponse release objects from the pool.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ChatMessage is a message in a chat request.
ChatParams represents a chat request params that overrides the default model params from configs.
ChatRequest defines Glide's Chat Request Schema unified across all language models.
ChatResponse defines Glide's Chat Response Schema unified across all language models.
ChatStreamChunk defines a message for a chunk of streaming chat response.
No description provided by the author
No description provided by the author
ChatStreamRequest defines a message that requests a new streaming chat.
Error / Error contains more context than the built-in error type, so we know information like error code and message that are useful to propagate to clients.
No description provided by the author
No description provided by the author
ModelParamsOverride allows to redefine chat message and model params based on the model ID
Glide provides an abstraction around concreate models and this is a way to be able to provide model-specific params if needed.
ModelResponse is the unified response from the provider.
RouterListSchema returns list of active configured routers.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author