Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
func NewEinoHistory ¶
NewEinoHistory 使用 DSN 创建 History 实例 DSN 格式: - MySQL: user:pass@tcp(host:port)/dbname?charset=utf8mb4&parseTime=True&loc=Local - SQLite: /path/to/file.db 或 /path/to/file.db?_journal_mode=WAL
func (*History) GetHistory ¶
GetHistory 根据convID获取聊天历史
Click to show internal directories.
Click to hide internal directories.