In this section, you’ll learn how the NextGenAiAssistant module seamlessly communicates with OpenAI using an AWS-hosted API. We’ll walk you through the entire process—from how PrestaShop sends requests to the AWS API, to how responses are processed by the AI model and returned to your store. You’ll also discover how Assistants handle product-specific data, how threads are created, and the different prompt types available for various tasks. This section will give you a comprehensive understanding of the module’s inner workings, ensuring you can make the most of its capabilities.