Issue with "AI Thread" Data Type on Sessions Page After Following Tutorial

Hello Bubble Community,

I’ve been working on integrating an AI Assistant into my Sessions page, and I’ve encountered a problem that I could use some help with.

Background:

Sessions Page: Initially, this page didn’t have a specific data type. It’s designed to display session details.
AI Assistant Integration: I followed an excellent YouTube tutorial to add an AI (https://youtu.be/zMvBbxI4BRs?si=c75VOdfIjjMMzMvP) Assistant feature. The tutorial recommended setting the page’s content type to AI Thread to manage the AI conversation data, and I must say, the tutorial was one of the best I’ve come across it was incredibly detailed and easy to follow.
Data Types:
I created a data type called AI Thread to store the conversation threads for the AI Assistant, as instructed in the tutorial.

The Problem:

  • After setting the Sessions page’s content type to AI Thread and run the AI, I encountered an issue when navigating to this page from other areas of my app.
  • Bubble now requires that I provide “Data to Send” for the AI Thread type whenever I navigate to the Sessions page, and this field often appears red and empty, causing errors.
  • When I tried changing the data type of the Sessions page back to empty (as it was initially), 23 errors occurred related to the AI feature, making it clear that there’s a dependency on this data type being set.
    My Questions:

Are there any alternative methods for integrating the AI Assistant that would avoid this issue?

Thank you all in advance for your help, and again, big thanks to the creator of the tutorial it was truly one of the best I’ve seen, even if I hit this snag due to my specific setup. here is some of the errors when i out the data type to empty as it was initily
Screenshot 2024-08-22 131240
Screenshot 2024-08-22 131305
Screenshot 2024-08-22 131318
Screenshot 2024-08-22 131325
Screenshot 2024-08-22 131331

This topic was automatically closed after 70 days. New replies are no longer allowed.