In the NextGenAiAssistant module, threads represent individual content generation sessions initiated whenever a prompt is sent. Each thread is an interaction between your store’s data and the AI model, where the Assistant processes product, category, or other relevant information to generate the requested content.
Here’s how threads function:
- Thread Initiation: A new thread is created every time you send a prompt related to a product, category, or other data. This begins the content generation process, leveraging the Assistant’s knowledge.
- Thread Parameters: When initiating a thread, you can set parameters such as auto-save, backup, and more. These settings determine how the generated content is processed and stored. Learn more about thread parameters here.
- Managing Threads: Threads can be managed from the product or category pages, or via a centralized thread management table with filters. This allows for easy organization and monitoring of all active or completed threads.
- Approving and Saving Content: If the auto-save option wasn’t selected during thread creation, you can manually review and accept the generated content from the thread management interface. Once accepted, you can trigger the data to be saved to the database.
- Managing Backups: From the thread management interface, you can also handle backups, allowing you to restore previous data if needed. Learn more about backups here.
- Continuing Threads: You can choose to continue a thread, which enables further refinement or corrections to the generated data by engaging in an ongoing interaction with the AI. This functionality is ideal for fine-tuning content to meet your exact requirements.
Threads offer a structured, flexible way to interact with the AI model, giving you full control over content generation, approval, and storage.