Case study – a chatbot using AI to assist users in ordering products
Chatbots have become a popular way for companies to assist with tasks such as placing orders. In this section, we will examine a case study of a chatbot created by the fictional company Herencia Inc., which produces artisanal beers, to help convenience store owners purchase different types of beers on Herencia’s website or chatbot.
An LLM can assist buyers when ordering products, provided it has access to the specs, prices, and other relevant information. One limitation when using the LLM API (GPT-4 or Claude API) is the number of tokens that it has available to load the data directly into the prompt. In the next chapter, we will explore how that can be solved for more complex scenarios through plugins or managing embeddings and integrations with vector databases.
Some of the tasks that such a chatbot can perform are as follows:
- Product recommendations: An LLM can analyze a buyer’...