Skip to content

Commit

Permalink
Remove scoreDetails exp feature
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza committed Feb 16, 2024
1 parent 9e17f7d commit df89d74
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions lib/src/results/experimental_features.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ part 'experimental_features.g.dart';
class ExperimentalFeatures {
@JsonKey(name: 'vectorStore')
final bool vectorStore;
@JsonKey(name: 'scoreDetails')
final bool scoreDetails;

const ExperimentalFeatures({
required this.vectorStore,
required this.scoreDetails,
});

factory ExperimentalFeatures.fromJson(Map<String, dynamic> src) {
Expand All @@ -34,12 +31,9 @@ class ExperimentalFeatures {
class UpdateExperimentalFeatures {
@JsonKey(name: 'vectorStore')
final bool? vectorStore;
@JsonKey(name: 'scoreDetails')
final bool? scoreDetails;

const UpdateExperimentalFeatures({
this.vectorStore,
this.scoreDetails,
});

Map<String, dynamic> toJson() => _$UpdateExperimentalFeaturesToJson(this);
Expand Down
2 changes: 0 additions & 2 deletions lib/src/results/experimental_features.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions test/search_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,9 @@ void main() {
// setUp(() async {
// features = await client.http.updateExperimentalFeatures(
// UpdateExperimentalFeatures(
// scoreDetails: true,
// vectorStore: true,
// ),
// );
// expect(features.scoreDetails, true);
// expect(features.vectorStore, true);

// uid = randomUid();
Expand Down

0 comments on commit df89d74

Please sign in to comment.