Sep 20, 2024
Search for rules
Searches for Recommend rules.
Use an empty query to list all rules for this recommendation scenario.
Usage
Required ACL:
settings
Copy
1
2
3
4
5
6
7
8
9
import 'package:algolia_client_recommend/algolia_client_recommend.dart';
final client = RecommendClient(
appId: 'ALGOLIA_APPLICATION_ID', apiKey: 'ALGOLIA_API_KEY');
final response = await client.searchRecommendRules(
indexName: "ALGOLIA_INDEX_NAME",
model: RecommendModels.fromJson("related-products"),
);
Did you find this page helpful?