Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SentHttpReqToModel ¶ added in v0.1.12
func SetSSEHeader ¶ added in v0.1.12
func SetSSEHeader(w http.ResponseWriter)
Types ¶
type Answer ¶ added in v0.2.1
type Answer struct {
Code int `json:"code"`
Response string `json:"response"`
Tokens int64 `json:"tokens"`
}
func CreateStreamChat ¶
func SentModelSSEResp ¶ added in v0.1.12
Click to show internal directories.
Click to hide internal directories.