package routes import ( "bugulma/backend/internal/handler" "github.com/gin-gonic/gin" ) // RegisterAIRoutes registers all AI-related routes func RegisterAIRoutes(router *gin.RouterGroup, aiHandler *handler.AIHandler) { ai := router.Group("/ai") { ai.POST("/extract/text", aiHandler.ExtractFromText) ai.POST("/extract/file", aiHandler.ExtractFromFile) ai.POST("/analyze/symbiosis", aiHandler.AnalyzeSymbiosis) ai.POST("/web-intelligence", aiHandler.GetWebIntelligence) ai.POST("/search-suggestions", aiHandler.GetSearchSuggestions) ai.POST("/generate/description", aiHandler.GenerateDescription) ai.POST("/generate/historical-context", aiHandler.GenerateHistoricalContext) ai.POST("/chat", aiHandler.SendMessage) } }