AI Assistant Capabilities (Test‐cases) - Waiviogit/waivio GitHub Wiki

AI Assistant Capabilities

The Waivio AI Assistant can perform the following functions:

Search Capabilities

Search by Map/Coordinates:

  • Search for objects (restaurants, businesses, hotels, etc.) using geographic coordinates
  • Search within bounding box coordinates (top-right and bottom-left points)
  • Search by city name or location
  • Filter search results by object type (restaurant, business, hotel, etc.)
  • Search with tag filters in geographic areas

Search Objects:

  • Search for object (site-specific if it is social site)
  • Search with multiple keywords
  • Search with object type filters
  • Search across all sites when no results found (fallback search)
  • Get results with links when available

Search Users:

  • Search for user accounts by username (exact or partial)
  • Search handles case sensitivity

Search Campaigns:

  • Find active campaigns on the site
  • Search for objects with active campaigns by keywords
  • Search campaigns by product name
  • Search campaigns by brand name
  • Search campaigns by location
  • Search campaigns by object type
  • Combine campaign search with general object search

Contact Information:

  • Get site owner contact information
  • Get customer support contacts

Knowledge Base Search (Vector Search)

UserTools Information:

  • Answer questions about account settings
  • Answer questions about notifications
  • Answer questions about profile management
  • Answer questions about wallet and WAIV tokens
  • Answer questions about drafts and bookmarks
  • Answer questions about user affiliate codes
  • Answer questions about new accounts (VIP tickets)
  • Answer questions about inviting users
  • Answer questions about managing user shops
  • Answer questions about favorites

CampaignManagement Information:

  • Answer questions about campaign creation
  • Answer questions about campaign management
  • Provide step-by-step instructions for campaigns

EarnCampaign Information:

  • Answer questions about creating review posts
  • Answer questions about earning crypto rewards
  • Explain campaign participation process
  • Explain campaign requirements and eligibility
  • Explain reward system and WAIV tokens

ObjectImport Information:

  • Answer questions about importing objects to Waivio
  • Explain object import process
  • Provide formatting requirements for imports

SitesManagement Information:

  • Answer questions about creating social shopping sites
  • Answer questions about site customization
  • Answer questions about site configuration
  • Answer questions about site settings
  • Answer questions about domain setup
  • Answer questions about affiliate codes
  • Answer questions about administrators, moderators, and authorities

WaivioObjects Information:

  • Answer questions about how objects work
  • Answer questions about creating objects
  • Answer questions about filling objects with information
  • Answer questions about object types
  • Explain object structure and properties

WaivioGeneral Information:

  • Answer general questions about Waivio platform
  • Explain how Waivio works
  • Answer questions about posts and newsfeeds
  • Answer questions about shops
  • Answer questions about Hive accounts
  • Provide platform overview and features

User Tools

User Account Information:

  • Get user's current voting power (VP) percentage
  • Get user's current resource credits (mana) percentage
  • Get user profile data (social links, about, images)
  • Get user's recent post titles
  • Check if user has activated object import service
  • Handle guest users and logged-out states
  • Search for user accounts by username

Page Context:

  • Retrieve content from user's current page
  • Proofread posts from current page
  • Answer questions about current page content

Image Tools

Image Generation:

  • Generate images from text prompts using /imagine command
  • Edit images from text prompts (when images are provided)
  • Generate images in different sizes (1024x1024, 1536x1024, 1024x1536)

Image Analysis:

  • Analyze and describe images provided by user
  • Analyze product images
  • Analyze location/place images
  • Answer questions about images
  • Handle multiple images

Content Services

Translation and Proofreading:

  • Translate content to multiple languages
  • Proofread posts and content
  • Provide grammar and style corrections

Contextual Responses:

  • Provide contextual follow-up questions
  • Maintain conversation context across multiple queries
  • Adapt responses based on user login status
  • Provide host-specific information and links

Combined Functionality

Multi-Tool Integration:

  • Combine object search with campaign search
  • Combine general search with map search and campaign search
  • Combine user tools with object and campaign searches
  • Combine vector search with API-based search tools
  • Combine site search with campaign search and user tools
  • Use multiple tools together for comprehensive answers

Advanced Search:

  • Search with multiple filters (object type + location + campaign)
  • Search with coordinates and object type
  • Search with tag and location
  • Search with time-based context
  • Search with price range context
  • Search with rating context
  • Search with distance context
  • Search with availability context
  • Search with category context

Error Handling and Edge Cases

Robust Handling:

  • Handle searches with no results gracefully
  • Handle tool unavailability with fallback behavior
  • Handle invalid input (special characters, empty queries, very long queries)
  • Handle SQL injection attempts
  • Handle XSS attempts
  • Handle invalid coordinates
  • Handle malformed input
  • Handle ambiguous locations
  • Handle misspelled locations
  • Handle mixed languages in queries
  • Handle queries with emojis, URLs, emails, phone numbers, hashtags

Performance and Integration

Scalability:

  • Handle large result sets
  • Handle multiple concurrent tool calls
  • Handle complex nested queries
  • Maintain acceptable response times

User Journey Support:

  • Support complete flow from search to campaign participation
  • Support flow from object creation to search
  • Support flow from site setup to product search
  • Maintain session persistence across queries
  • Work across different host domains

Response Quality

Enhanced Responses:

  • Include relevant links and images when available
  • Provide host-specific customization
  • Use bullet points when appropriate
  • Keep responses concise and user-friendly
  • Personalize messages using user's name when available