Dokumentace FoodRetailor Help

Suggestion obecného produktu pro produkty

Navrhne obecný produkt vybrané produkty

API specifikace

/admin/g-product/suggest

Given a list of product IDs, returns suggested generalized products based on embedding similarity. Uses vector similarity search to find the closest matching generalized products for each input product.

Request parameters

[ "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002", "550e8400-e29b-41d4-a716-446655440003" ]

Responses

{ "550e8400-e29b-41d4-a716-446655440001": [ { "id": "660e8400-e29b-41d4-a716-446655440000", "name": "Premium Coffee Beans", "score": 0.95 }, { "id": "660e8400-e29b-41d4-a716-446655440001", "name": "Organic Coffee", "score": 0.87 } ], "550e8400-e29b-41d4-a716-446655440002": [ { "id": "660e8400-e29b-41d4-a716-446655440002", "name": "Green Tea Collection", "score": 0.92 } ] }
23 January 2026