Preferences
The preferences object is the powerhouse of InBe's search.
The preferences
object is where you define what kind of venues you're looking for. It's the heart of InBe's intelligent matching system, allowing you to specify establishment types, dietary needs, atmospheres, and more to get results that perfectly match your users' requirements.
Structure
Preferences
It is not advised to use all of these preferences at once as some are very similar, but trade control for speed. This page will provide an overview, but we have a deep dive for each preference type.
Core preference types
Genre
Filter by venue type: Italian, Fish and Chips, coffee shops, bars, etc.
Good For
Find venues that are good for specific use cases: romantic dates, business meetings, etc.
Caters Filters
Find venues that accommodate specific diets: vegan, gluten-free, vegetarian, nut-allergy, etc.
Establishment Filters
Find venues that serve breakfast, lunch, dinner, are good for sports or family, or have free wifi, etc.
Chain Preferences
Control whether chains or independent venues are preferred.
Opening Conditions
Find venues that are open now or at specific times.
Special Features
Access features like Michelin recommendations, or enterprise features.
Non-Compromise
Define must-have requirements that can't be compromised, such as genre
or
catersFilters
. This is a powerful tool, but should be used sparingly.
How preferences work together
InBe uses a sophisticated scoring system that considers all your preferences together:
- Base matching: Venues that meet your basic criteria
- Preference weighting: Venues that better match your preferences get higher scores
- Result ranking: Results are ordered by how well they match your preferences
- Smart defaults: Missing preferences use sensible defaults for better results
Real-world examples
Preference strategies
Start simple, then refine
Begin with basic establishment types and add preferences as needed:
Use non-compromise sparingly
Non-compromise preferences are strict requirements that can significantly reduce results:
Balance specificity with results
Too many specific preferences may return few or no results:
Non-compromise
It's unlikely (but not impossible) you'll find a Michelin-starred Alpine place that serves vegetarian, gluten-free, and nut-free food and also has live music.
Best practice
- Genre: When you can, specify what kind of venue you want
- Add dietary needs early: These are often deal-breakers for users
- Use goodFor: This is a quick way to get venue characteristics without having to specify a genre, caters filters, or establishment filters
- Consider opening times: Users may need venues that are open now, or when they want to meet
Next steps
Establishment Types
Learn how to filter by venue categories and types.
Dietary Needs
Find venues that accommodate specific dietary requirements.
Atmosphere & Purpose
Match venues to specific use cases and atmospheres.
Special Features
Find venues with special features like Michelin stars, or enterprise features.