50e4f43738
Implement company AI onboarding/recommendation models, services, repository, and tender UI integration with supporting tests. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
602 B
Dart
15 lines
602 B
Dart
/// 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';
|
|
}
|