
How Mintable is Revolutionising NFT Discovery with AWS
Mintable is a unified platform where you can create, trade, and interact with NFTs. Here is how they are re-imagining NFT search with Generative AI on AWS.
- S A Sureshkumar, Solutions Architect, Mintable
- Writom Guha Roy, Sr. Solutions Architect, AWS
- Users struggle to articulate complex visual concepts in simple keywords.
- Relevant NFTs are often missed due to inconsistent tagging or descriptions.
- The intent behind a search (browsing, buying, or researching) is lost in translation.
- Natural Language Understanding: Users can now search using conversational language. A query like "Find some pudgy penguins that I can buy" is perfectly valid and understood.
- Intent Recognition: The system identifies whether you're looking to buy, sell, research, or just browse, tailoring the results accordingly.
- Contextual Awareness: Previous searches, user preferences, and market trends are factored into the results, providing a personalized experience.
- Amazon Bedrock (Claude 3.5 Sonnet): This large language model forms the brain of their search system, interpreting natural language queries and understanding user intent.
- Amazon OpenSearch: Handles the heavy lifting of indexing and retrieving NFT metadata, ensuring lightning-fast and accurate results.
- AWS AppSync: Manages the API layer, allowing them to create flexible and efficient resolvers that orchestrate the search process.
- AWS Amplify (Gen 2): Provides the framework for their backend and frontend implementations, seamlessly integrating various AWS services.
- Amazon DynamoDB: Serves as the caching layer, improving performance for repeated queries.
- Query Reception and Cache Check When a user inputs a search query, their first AppSync resolver checks DynamoDB for a cached result. If found, they can quickly return the previously transformed OpenSearch query, significantly reducing response time for common searches.
- Context Preparation If there's no cache hit, their second resolver springs into action. It fetches the current OpenSearch mapping from their OpenSearch instance. This mapping is crucial as it defines the structure of their NFT data. Then they augment this with additional notes and instructions, crafting a comprehensive system message for Amazon Bedrock.
- Natural Language Processing with Amazon Bedrock Their third resolver sends this enriched prompt to Amazon Bedrock. Here, the Claude 3.5 Sonnet model works its magic, processing the natural language query and returning two key pieces of information:
- A structured OpenSearch query that will fetch relevant NFTs
- An identified intent, helping us understand exactly what the user wants to do
- Intent Recognition The system identifies the user's intent from a comprehensive list including actions like checking floor prices, listing NFTs for sale, transferring NFTs, and more. This intent is returned in a structured JSON format, including details like the NFT name, collection, ownership context, and price information.
- Query Enhancement Based on the identified intent and user context, they further refine the OpenSearch query. This might involve adding filters for the user's wallet addresses (for searches of owned NFTs), visibility settings, or other relevant parameters.
- Result Retrieval and Presentation Finally, they execute the enhanced OpenSearch query, retrieving a set of NFTs that precisely match the user's intent and context. These results are then presented to the user, often with actionable next steps based on the identified intent.
- Checking floor prices
- Listing NFTs for sale
- Transferring NFTs
- Buying or selling NFTs
- Creating or updating NFT listings
- Exploring transaction history
- Investigating ownership details
- Gathering collection information
- Managing favourites and watchlists
- Placing bids and managing offers
- Searching NFTs by price
- Intent Recognition: The system identifies this as a purchase-oriented query for the Pudgy Penguins collection.
- Contextual Search: It looks for Pudgy Penguin NFTs currently listed for sale, considering factors like the user's price range based on previous interactions.
- Result Presentation: The user is presented with a curated list of Pudgy Penguin NFTs available for purchase, complete with key details like price, rarity, and unique attributes.
- Actionable Links: Each result includes a direct "Buy Now" link, streamlining the purchase process.
- Additional Context: The system might also provide recent sales data for Pudgy Penguins or notify the user of any ongoing promotions related to the collection.
- Enhanced Discoverability: Unique and niche NFTs have a better chance of being found by interested collectors.
- Intuitive Navigation: Users can explore the NFT space more naturally, without needing to learn complex search techniques.
- Efficient Transactions: By understanding user intent, they can provide direct paths to purchase, list, or learn more about NFTs.
- Visual Search: Allowing users to search by uploading images or sketches.
- Multi-Modal Queries: Combining text, image, and even audio inputs for more precise searches.
- Voice-Activated Search: Enabling users to search for NFTs using voice commands, making the process even more intuitive.
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.