ThabangLenonyana / ShopWise

Our solution for the GitHub Constellation24 Hackathon
MIT License
0 stars 0 forks source link

Azure AI Search Feature #10

Open ThabangLenonyana opened 3 hours ago

ThabangLenonyana commented 3 hours ago

Wishlist/Grocery List Feature

User Story

As a user, I want to add items to my wishlist using natural language (e.g., "Add milk, bread, and eggs to my grocery list" or "I need some Nike running shoes size 10"), so that I can quickly create lists without browsing through categories.

High-Level Requirements

  1. Natural language input processing
  2. Azure AI Search integration
  3. Product mapping and suggestion

Technical Specification

1. Azure Resources

Implementation Steps

  1. Create Azure AI Search Service:

  2. Create Azure Language Service:

  3. Create Search Indexes:

example


{
  "name": "products-index",
  "fields": [
    { "name": "id", "type": "Edm.String", "key": true },
    { "name": "name", "type": "Edm.String", "searchable": true },
    { "name": "description", "type": "Edm.String", "searchable": true },
    { "name": "category", "type": "Edm.String", "filterable": true },
    { "name": "brand", "type": "Edm.String", "filterable": true },
    { "name": "price", "type": "Edm.Double", "filterable": true },
    { "name": "size", "type": "Edm.String", "filterable": true },
    { "name": "color", "type": "Edm.String", "filterable": true }
  ]
}```