feat: implement chat and conversation history management with database schema and API endpoints
All checks were successful
Build and Release / release (push) Successful in 1m30s

This commit is contained in:
2026-05-08 21:03:26 +07:00
parent 4d4640c20a
commit 600246426b
17 changed files with 1306 additions and 33 deletions

View File

@@ -0,0 +1,18 @@
package response
import (
"time"
)
type ChatbotHistoryDto struct {
ID string `json:"id"`
UserID string `json:"user_id"`
Question string `json:"question"`
Answer string `json:"answer"`
CreatedAt *time.Time `json:"created_at,omitempty"`
}
type GetChatbotHistoryResponse struct {
Items []*ChatbotHistoryDto `json:"items"`
PreCursor string `json:"pre_cursor,omitempty"`
}