koala-13b· UC Berkeley
Arena Human Preference 55K
Convert the API for Apple's nearbyinteraction framework to yaml
- User
Convert the API for Apple's nearbyinteraction framework to yaml
- Assistant
Sure, here's an example of the API for Apple's NearbyInteraction framework in YAML format:
name: NearbyInteraction version: 1.0 description: A framework for providing contextual information and experiences to users in proximity to Apple products and services. requires: - AppleCore - LocationService - NotificationService - UserProfile defines: - InteractionType: - PushNotification - Badge - Message - Location - Context: - UserLocation - LocationCategory - UserBehavior - Analytics: - UserEngagement - UserConversion - Actions: - ShowNotification - ShowBadge - SendPrompt - GenerateSpeech - PlaySound - GenerateAnimation - Experiences: - UserLocationUpdate - LocationCategoryUpdate - UserBehaviorUpdate - UserProfileUpdate - TargetUser: - UserId - UserProfileId - UserLocation - UserCategory - UserBehavior - UserProfile - TargetService: - ServiceId - ServiceName - ServiceCategory - ServiceLocation - ServiceUserProfile - TargetAction: - ActionId - ActionName - ActionCategory - ActionType - ActionTarget - ActionTargetUser - ActionTargetService - TargetExperience: - ExperienceId - ExperienceName - ExperienceCategory - ExperienceType - ExperienceTargetUser - ExperienceTargetService - ExperienceTargetProfile - TargetAnalytics: - UserAnalyticsId - UserAnalyticsName - UserAnalyticsCategory - UserAnalyticsType - UserAnalyticsTargetUser - UserAnalyticsTargetService - UserAnalyticsTargetProfile