Documentation ¶
Index ¶
Constants ¶
View Source
const OLLAMA_CHAT_URL = "http://localhost:11434/api/chat"
Variables ¶
View Source
var GinWriter *logr.Writer
View Source
var Logger *logr.Logger
View Source
var Support *logr.Logger
Functions ¶
Types ¶
type BinancePrice ¶
type BitfinexPrice ¶
func (*BitfinexPrice) UnmarshalJSON ¶
func (b *BitfinexPrice) UnmarshalJSON(buf []byte) error
type ChatHistory ¶ added in v1.0.38
type ChatHistory []*ChatHistoryItem
type ChatHistoryItem ¶ added in v1.0.47
type HitbtcPrice ¶
type RequestBody ¶ added in v1.0.38
type RequestBody struct { Model string `json:"model"` Messages ChatHistory `json:"messages"` Stream bool `json:"stream"` }
type ResponseBody ¶ added in v1.0.38
type ResponseBody struct { Model string `json:"model"` Message ChatHistoryItem `json:"message"` Done bool `json:"done"` }
Click to show internal directories.
Click to hide internal directories.