Skip to main content

16 posts tagged with "AWS Titan"

View All Tags

How to build an AI agent with LlamaIndex that can handle multiple color requirements

· 48 min read
Norah Sakal
AI Consultant

How to build an AI agent with LlamaIndex that can handle multiple color requirements

When an e-commerce customer asks for something like women's black shoes with red details, naive chatbots often struggle to apply multiple color filters simultaneously.

In this post, learn how to build a more advanced AI agent using Python, Pinecone and LlamaIndex, complete with metadata filtering and real-world code examples to handle multi-color product queries seamlessly.

Advent Calendar Day 14: How AI Agents Handle Budget-Focused Searches

· 8 min read
Norah Sakal
AI Consultant

Advent Calendar Day 14: How AI Agents Handle Budget-Focused Searches

This December, I'm highlighting how naive chatbots fail at budget-focused inquiries and how AI agents get it right.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors, negations, new color requirements, multi-color requests and special occasions.

In yesterday's issue, we saw how AI agents handle multiple product requests in a single query.

Today, we focus on a budget-focused searches.

A customer says, "Do you have blue sports shoes under $60?"

A naive chatbot may ignore the price constraint or claim none exist. An AI agent, on the other hand, applies both color and price filters, returning exactly what the user needs.

Advent Calendar Day 13: How AI Agents Handle Multiple Product Requests in One Query

· 10 min read
Norah Sakal
AI Consultant

Advent Calendar Day 13: How AI Agents Handle Multiple Product Requests in One Query

This December, I'm highlighting how naive chatbots fail at numeric filters and how AI agents get it right.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors, negations, new color requirements, multi-color requests and special occasions.

In yesterday's issue, we explored numeric filters for lower heel heights.

Today, we look at a new scenario: a user wants "red heels" and "blue men's sneakers" in the same message.

A naive chatbot may only focus on one part of the request or return random mismatched products. An AI agent, however, will parse both requests and provide accurate matches for each.

Advent Calendar Day 12: How AI Agents Handle Numeric Height Queries

· 8 min read
Norah Sakal
AI Consultant

Advent Calendar Day 12: How AI Agents Handle Numeric Height Queries

This December, I'm highlighting how naive chatbots fail at numeric filters and how AI agents get it right.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors, negations, new color requirements and multi-color requests.

Yesterday, we saw how AI agents handle formal requirements. Today, we focus on a request for lower heel heights.

When a customer says, "I need women's heels with a heel height less than 2 inches", a naive chatbot might find only one option or ignore some products.

An AI agent, however, uses numeric filtering to find all matches.

Advent Calendar Day 11: How AI Agents Handle Special Occasions

· 8 min read
Norah Sakal
AI Consultant

Advent Calendar Day 11: How AI Agents Handle Special Occasions

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors, negations, new color requirements and multi-color requests.

Today, we focus on how agent handle special occasions.

When a customer says, "I need women's shoes for a gala night", a naive chatbot returns casual items.

An AI agent, however, understands the need for formal shoes, filtering the database to find elegant heels perfect for the occasion.

Advent Calendar Day 10: How AI Agents Handle Multi-Color Requirements

· 8 min read
Norah Sakal
AI Consultant

Advent Calendar Day 10: How AI Agents Handle Multi-Color Requirements

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors, negations and new color requirements.

Today, we focus on multi-color requirements.

When a customer wants "women's black shoes with blue details" a naive chatbot can't handle the combined color request. It either returns no results or random items. An AI agent, on the other hand, understands the request fully and finds the exact product that matches both colors.

Advent Calendar Day 9: How AI Agents Improve Naive Chatbots by Remembering Color Requirements

· 10 min read
Norah Sakal
AI Consultant

Advent Calendar Day 9: How AI Agents Improve Naive Chatbots by Remembering Color Requirements

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions, unavailable colors and negations.

Today, we focus on remembering color requirements while keeping the original product constraints intact.

When a customer first asks for men's running shoes and then follows up with a color preference, a naive chatbot might forget the original request. An AI agent, however, remembers both the category and the color, delivering results that match the entire conversation.

Advent Calendar Day 8: How AI Agents Handle Negations in Queries

· 7 min read
Norah Sakal
AI Consultant

Advent Calendar Day 8: How AI Agents Handle Negations in Queries

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters, style suggestions and unavailable colors.

Today, the customer wants men's casual shoes but not in black. The naive chatbot still includes black shoes.

The AI agent, however, filters out black shoes and shows other colors.

Advent Calendar Day 7: How AI Agents Handle Unavailable Colors Gracefully

· 10 min read
Norah Sakal
AI Consultant

Advent Calendar Day 7: How AI Agents Handle Unavailable Colors Gracefully

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query, price filters and style suggestions.

Today, the customer wants shoes in burgundy or maroon. The naive chatbot finds nothing and just says no. The AI agent, however, asks for details, then shows similar colors that might appeal to the customer.

Advent Calendar Day 6: How AI Agents Offer Style Suggestions

· 9 min read
Norah Sakal
AI Consultant

Advent Calendar Day 6: How AI Agents Offer Style Suggestions

This December, I'm showing how naive chatbots fail and how AI agents make shopping easier.

We've seen naive chatbots fail at clarifying questions, context shifts, numerical requirements, multiple requests in one query and price filters.

Today, the customer wants shoes that match a blue dress. The naive chatbot just returns random blue shoes. The AI agent asks a clarifying question, then finds shoes that fit the style request.