Chapter 8
Conversational UI
In Chapter 6, you used Azure OpenAI APIs in ASP.NET Core to create a simple virtual assistant. In Chapter 7, you employed LangChain and Streamlit to implement the RAG pattern to build a chatbot capable of responding based on a company’s knowledge base. In this chapter, you will use Semantic Kernel (SK) to construct a hotel reservation chatbot.
You will build a chat API for a chatbot designed for a hotel company, but not the entire graphical interface. You will learn how to use OpenAPI definitions to pass the hotel booking APIs to an SK planner (what LangChain calls an agent), which will autonomously determine when and how to call the booking endpoints to check room availability and make reservations.
To build the ...
Get Programming Large Language Models with Azure Open AI: Conversational programming and prompt engineering with LLMs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.