Implement AI onboarding and recommendation features in company service
- Added new AI onboarding and recommendation endpoints in the company handler for starting onboarding and retrieving ranked tender recommendations. - Introduced `StartAIOnboarding` and `GetAIRecommendations` methods in the company service to handle AI interactions. - Updated the company service constructor to include the AI recommendation client. - Enhanced the AI summarizer client with methods for onboarding and fetching recommendations. - Added response structures for onboarding and recommended tenders in the company form. This update enhances the tender management system by integrating AI capabilities for onboarding and tender recommendations, improving user experience and operational efficiency.
This commit is contained in:
@@ -291,6 +291,14 @@ func RegisterPublicRoutes(e *echo.Echo, customerHandler *customer.Handler, tende
|
||||
companiesGP.GET("", companyHandler.MyCompany)
|
||||
}
|
||||
|
||||
// AI tender recommendation routes
|
||||
recommendationGP := v1.Group("")
|
||||
recommendationGP.Use(customerHandler.AuthMiddleware())
|
||||
{
|
||||
recommendationGP.POST("/onboarding", companyHandler.StartOnboarding)
|
||||
recommendationGP.POST("/recommend", companyHandler.RecommendTenders)
|
||||
}
|
||||
|
||||
// Public Inquiry Routes
|
||||
inquiryGP := v1.Group("/inquiries")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user