# ChatGPT with History

**URL:** <https://community.glideapps.com/t/chatgpt-with-history/62883>\
**Category:** Ask for Help\
**Created:** [June 17, 2023, 10:02pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883 "2023-06-17T22:02:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitchell\_Francis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mitchell_francis/32/45916_2.png) [@Mitchell\_Francis](https://community.glideapps.com/u/Mitchell_Francis)\
**Post date:** [June 17, 2023, 10:02pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883/1 "2023-06-17T22:02:42Z")

</div>

Hey Guys, Hope you all well,

Would appreciate some help here. Just trying to create a general chatbot with history. Not sure what im doing wrong :

Heres my Users table (There is a row ID)

 ![Screenshot 2023-06-18 at 00.00.12](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/3/63ed3b5c7df38cb840c19b3dd97c603548655f49.png)  
Here is my chatHistory column :  
 ![Screenshot 2023-06-17 at 23.58.52](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8ce208ef42d77923c1ac369ee28d8b203376cf6a.png)  
Here is my Form settings  
 ![Screenshot 2023-06-18 at 00.01.17](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/2/727df27815e4627d4123df97488440b8bf563c09.png)  
Here is the error I get :  
 ![Screenshot 2023-06-18 at 00.01.46](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6c254a5e3e75e448a4761831c63447c699d48b6.png)

Any help would be appreciated!  
Mitch

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 17, 2023, 10:45pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883/2 "2023-06-17T22:45:04Z")

</div>

Why is your response setup not pointing anywhere? If you set it to the Content column would it work?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 17, 2023, 11:17pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883/3 "2023-06-17T23:17:30Z")

</div>

Here’s how I set it up (21:00)

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/c/2c92dd3507dbedc75a48969d1cc358b779661af8.jpeg "Glide Integrations: Open AI UNLEASHED (Full Build)") ](https://www.youtube.com/watch?v=Jjgy6uO1ENE)

---

<div class="post-metadata">

**Author:** ![Mitchell\_Francis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mitchell_francis/32/45916_2.png) [@Mitchell\_Francis](https://community.glideapps.com/u/Mitchell_Francis)\
**Post date:** [June 18, 2023, 12:26pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883/4 "2023-06-18T12:26:30Z")

</div>

Hey Robert,

Actually following along with your video lol…But I think there may be an issue with the session Id’s, Because yours had a recipe to look up on wheres mine is just a general chatbot I think I may have messed something up with the SesionID’s. Even if i do put the repsonse column in it dosent work

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 18, 2023, 5:11pm UTC](https://community.glideapps.com/t/chatgpt-with-history/62883/5 "2023-06-18T17:11:24Z")

</div>

If you want history, you need to have some sort of session ID, otherwise, the chat won’t know the thread to follow.

So, you’ll need to concoct some sort of session ID for the bot to follow. When is the chat being used? What’s the purpose of the chat?
