Trip

data class Trip(val travel: Travel? = null, val location: TripLocation? = null, val additionalContext: Map<String, String>? = null, val vibes: List<Vibe>? = null) : ExperienceContext

A journey, a place, or both.

Valid when it carries travel, a location, or both — a trip with neither has nothing to recommend against.

Constructors

Link copied to clipboard
constructor(travel: Travel? = null, location: TripLocation? = null, additionalContext: Map<String, String>? = null, vibes: List<Vibe>? = null)

Properties

Link copied to clipboard
open override val additionalContext: Map<String, String>? = null

Free-form hints passed through to generation.

Link copied to clipboard
val location: TripLocation? = null

Where to look; null for a pure travel trip.

Link copied to clipboard
val travel: Travel? = null

Flight or cruise; null for a location-only trip.

Link copied to clipboard
open override val vibes: List<Vibe>? = null

Moods to bias recommendations toward.