feat: add AI recommendations flow for tenders
Implement company AI onboarding/recommendation models, services, repository, and tender UI integration with supporting tests. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/// Backend endpoints that power AI-based tender recommendations.
|
||||
///
|
||||
/// The app talks only to the backend; it gathers company data, forwards it to
|
||||
/// the AI service and returns results in the standard API envelope. The
|
||||
/// `company_id` is read from the JWT, so neither endpoint takes a request body.
|
||||
class CompanyAiApi {
|
||||
CompanyAiApi._();
|
||||
|
||||
/// Registers the company with the AI service. Asynchronous on the AI side.
|
||||
static const String onboarding = '/api/v1/onboarding';
|
||||
|
||||
/// Fetches ranked AI tender recommendations for the company.
|
||||
static const String recommend = '/api/v1/recommend';
|
||||
}
|
||||
Reference in New Issue
Block a user