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,19 @@
|
||||
// ignore_for_file: invalid_annotation_target
|
||||
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'onboarding_data.freezed.dart';
|
||||
part 'onboarding_data.g.dart';
|
||||
|
||||
/// Payload returned by `POST /api/v1/onboarding`.
|
||||
///
|
||||
/// Onboarding is asynchronous on the AI side, so the only field is a coarse
|
||||
/// [status] (e.g. `started`). Recommendations may stay empty until the AI
|
||||
/// service finishes indexing.
|
||||
@freezed
|
||||
abstract class OnboardingData with _$OnboardingData {
|
||||
const factory OnboardingData({required String? status}) = _OnboardingData;
|
||||
|
||||
factory OnboardingData.fromJson(Map<String, dynamic> json) =>
|
||||
_$OnboardingDataFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user