Documentation
¶
Index ¶
- type Handlers
- func (h *Handlers) HandleAddMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleCleanupMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleDeleteMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleIgnoreMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleListMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleMemorySessionSummary(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleMemoryStats(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandlePromoteMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleRecallMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleSearchMemory(writer http.ResponseWriter, request *http.Request)
- func (h *Handlers) HandleUpdateMemory(writer http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
Handlers 封装记忆 HTTP handlers。
func (*Handlers) HandleAddMemory ¶
func (h *Handlers) HandleAddMemory(writer http.ResponseWriter, request *http.Request)
HandleAddMemory 手动新增记忆。
func (*Handlers) HandleCleanupMemory ¶ added in v0.1.9
func (h *Handlers) HandleCleanupMemory(writer http.ResponseWriter, request *http.Request)
HandleCleanupMemory 清理孤立的 session 摘要和 checkpoint。
func (*Handlers) HandleDeleteMemory ¶
func (h *Handlers) HandleDeleteMemory(writer http.ResponseWriter, request *http.Request)
HandleDeleteMemory 删除记忆。
func (*Handlers) HandleIgnoreMemory ¶
func (h *Handlers) HandleIgnoreMemory(writer http.ResponseWriter, request *http.Request)
HandleIgnoreMemory 忽略候选记忆。
func (*Handlers) HandleListMemory ¶
func (h *Handlers) HandleListMemory(writer http.ResponseWriter, request *http.Request)
HandleListMemory 返回结构化记忆列表。
func (*Handlers) HandleMemorySessionSummary ¶
func (h *Handlers) HandleMemorySessionSummary(writer http.ResponseWriter, request *http.Request)
HandleMemorySessionSummary 返回会话摘要。
func (*Handlers) HandleMemoryStats ¶
func (h *Handlers) HandleMemoryStats(writer http.ResponseWriter, request *http.Request)
HandleMemoryStats 返回记忆统计。
func (*Handlers) HandlePromoteMemory ¶
func (h *Handlers) HandlePromoteMemory(writer http.ResponseWriter, request *http.Request)
HandlePromoteMemory 提升候选记忆到热记忆。
func (*Handlers) HandleRecallMemory ¶
func (h *Handlers) HandleRecallMemory(writer http.ResponseWriter, request *http.Request)
HandleRecallMemory 返回运行时注入片段。
func (*Handlers) HandleSearchMemory ¶
func (h *Handlers) HandleSearchMemory(writer http.ResponseWriter, request *http.Request)
HandleSearchMemory 执行记忆检索。
func (*Handlers) HandleUpdateMemory ¶
func (h *Handlers) HandleUpdateMemory(writer http.ResponseWriter, request *http.Request)
HandleUpdateMemory 更新记忆。
Click to show internal directories.
Click to hide internal directories.