This example is taken from OpenAI's function calling demo and modified to show how the same functionality can be done more simply with AIConfig.
This notebook serves as a practical guide for leveraging AIConfig and function calling with OpenAI models. We start with a mock database of books and functions to list, search, and retrieve books. Function calling is enabled so the LLM can interpret a user's question, determine the appropriate function to call, and execute the function. Read more about Function Calling with Open AI and AIConfig for prompt and model management.