Documentation
¶
Index ¶
- func DownloadLog(c *response.Context, containerName string, stream io.ReadCloser)
- func WriteSSE(c *response.Context, stream io.ReadCloser)
- func WriteSSEChatCompletionStream(c *response.Context, stream *openai.ChatCompletionStream)
- func WriteSSEWithChannel(c *response.Context, logCh <-chan string, done chan struct{})
- func WriteWebSocketChatCompletionStream(c *response.Context, stream *openai.ChatCompletionStream)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadLog ¶
func DownloadLog(c *response.Context, containerName string, stream io.ReadCloser)
func WriteSSEChatCompletionStream ¶ added in v0.0.14
func WriteSSEChatCompletionStream(c *response.Context, stream *openai.ChatCompletionStream)
func WriteSSEWithChannel ¶
func WriteWebSocketChatCompletionStream ¶ added in v0.0.18
func WriteWebSocketChatCompletionStream(c *response.Context, stream *openai.ChatCompletionStream)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.