# Open Ai - Complete Prompt with 3.5-turbo

**URL:** https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712
**Category:** Ask for Help
**Created:** [March 26, 2023, 6:45pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712 "2023-03-26T18:45:38Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Spencer\_A](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencer_a/32/56241_2.png) [@Spencer\_A](https://community.glideapps.com/u/Spencer_A)
#### Post date: [March 26, 2023, 6:45pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/1 "2023-03-26T18:45:38Z")

</div>

![Screenshot 2023-03-26 at 1.44.11 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/c/9cb27549c2074d46d661d9c2a52ca51631a1424c.jpeg)

Why can’t I use gpt-3.5-turbo in the complete a prompt action? This is the far cheaper gpt option compared to text-003.

When I use Send Message to Bot, I get a message that says: Send message to bot: Your table must have “Role”, “Content”, “Session ID”, and “Timestamp” columns

How would I even set those?

---

<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: [March 27, 2023, 12:25am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/2 "2023-03-27T00:25:24Z")

</div>

@Jeremy might be able to help with this.

> [@Spencer\_A](#):
>
> When I use Send Message to Bot, I get a message that says: Send message to bot: Your table must have “Role”, “Content”, “Session ID”, and “Timestamp” columns

I haven’t tried that but have you added columns with the same name in your table?

---

<div class="post-metadata">

### Author: ![ServantDad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/servantdad/32/56282_2.png) [@ServantDad](https://community.glideapps.com/u/ServantDad)
#### Post date: [March 27, 2023, 4:09pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/3 "2023-03-27T16:09:22Z")

</div>

I’m also struggling with this. I added all of the columns in my table and selected the Columns in the action.

---

<div class="post-metadata">

### Author: ![Jeremy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeremy/32/29121_2.png) [@Jeremy](https://community.glideapps.com/u/Jeremy)
#### Post date: [March 27, 2023, 5:26pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/4 "2023-03-27T17:26:03Z")

</div>

Can you screenshot your message table and post here? The timestamp column should be timestamp type as well\*

---

<div class="post-metadata">

### Author: ![ServantDad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/servantdad/32/56282_2.png) [@ServantDad](https://community.glideapps.com/u/ServantDad)
#### Post date: [March 27, 2023, 6:41pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/5 "2023-03-27T18:41:04Z")

</div>

I got it to work, but manually set the timestamp.

---

<div class="post-metadata">

### Author: ![kavir](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kavir/32/56754_2.png) [@kavir](https://community.glideapps.com/u/kavir)
#### Post date: [April 4, 2023, 5:00pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/6 "2023-04-04T17:00:09Z")

</div>

Same issue for me too.

I also want to experiment with gpt-4 model for which I have API access, but I don’t get any output if I change the model to either gpt-3.5-turbo or gpt4

---

<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: [April 5, 2023, 12:43am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/7 "2023-04-05T00:43:27Z")

</div>

Probably Jeremy can clarify further on this, but the message on the original post suggests that there should be a change in the endpoint used to be able to achieve that.

This was the same issue I faced on the first day gpt-3.5-turbo was out. Since it used a different API endpoint, Make (formerly Integromat) didn’t allow me to specify gpt-3.5-turbo as the model to use for my calls. They build a solution some days later, and it uses a different “branch” in their options.

---

<div class="post-metadata">

### Author: ![harriskenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harriskenny/32/57540_2.png) [@harriskenny](https://community.glideapps.com/u/harriskenny)
#### Post date: [April 13, 2023, 6:56pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/8 "2023-04-13T18:56:30Z")

</div>

Does anyone have an example screenshot of what the table needs to look like to support this? The default `text-davinci-003` is more expensive and has lower quality outputs.

I’m not seeing anything that I can change on the API generation side at OpenAI so I believe the issue lies in how I’m sending the request to OpenAI via Glide.

---

<div class="post-metadata">

### Author: ![burningmikey](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/burningmikey/32/49706_2.png) [@burningmikey](https://community.glideapps.com/u/burningmikey)
#### Post date: [April 18, 2023, 3:49pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/9 "2023-04-18T15:49:47Z")

</div>

I have the same problem, using it with computed columns. Other models but 3.5-turbo works. Can anybody help on this matter? What is a “different API endpoint”?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/8/083eee60ede5a5f7cacc17a82e6e961d9bf62167.png)

---

<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: [April 19, 2023, 12:19am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/10 "2023-04-19T00:19:28Z")

</div>

It’s this for GPT-3.5.

> [https://api.openai.com/v1/chat/completions](https://api.openai.com/v1/chat/completions)

This for previous models.

> [https://api.openai.com/v1/completions](https://api.openai.com/v1/completions)

---

<div class="post-metadata">

### Author: ![harriskenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harriskenny/32/57540_2.png) [@harriskenny](https://community.glideapps.com/u/harriskenny)
#### Post date: [April 19, 2023, 12:39pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/11 "2023-04-19T12:39:38Z")

</div>

I’m sorry I don’t mean to be dumb but can anyone expand on this with a screenshot showing how they’re making it work?

---

<div class="post-metadata">

### Author: ![burningmikey](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/burningmikey/32/49706_2.png) [@burningmikey](https://community.glideapps.com/u/burningmikey)
#### Post date: [April 19, 2023, 6:01pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/12 "2023-04-19T18:01:28Z")

</div>

Thank you @ThinhDinh . Do you know how to use them to make it work?

---

<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: [April 19, 2023, 11:27pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/13 "2023-04-19T23:27:47Z")

</div>

Sorry, I don’t have insights on how Glide set this up under the hood. Personally I haven’t used this integration a lot, I had many modules set up in Make when the API first come out and haven’t moved over.

---

<div class="post-metadata">

### Author: ![harriskenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harriskenny/32/57540_2.png) [@harriskenny](https://community.glideapps.com/u/harriskenny)
#### Post date: [April 20, 2023, 2:20am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/14 "2023-04-20T02:20:43Z")

</div>

Noted and appreciate so much your time on this, @ThinhDinh. Could you share how you’re doing it with Make?

I have GPT working with Glide, it just won’t allow me to use the other models. I’m happy to do this through Make if necessary, it seems like others on this thread have gotten it to work but I’m not seeing how.

The main issue seems to be that OpenAI is requesting several things in that API call, such as a timestamp, that are not supported by Glide.

And there’s not an obvious way for how to do that besides perhaps creating additional columns somewhere, generating that data, and then somehow sending it over with the rest of the API call.

But I may be off-base here and don’t know what I’m talking about.

---

<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: [April 20, 2023, 2:57am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/15 "2023-04-20T02:57:53Z")

</div>

So are you using an action that have the “Timestamp” column? Have you set it to a column that is of date/time type?

---

<div class="post-metadata">

### Author: ![harriskenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harriskenny/32/57540_2.png) [@harriskenny](https://community.glideapps.com/u/harriskenny)
#### Post date: [April 20, 2023, 1:04pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/16 "2023-04-20T13:04:55Z")

</div>

I’m using it exactly as Spencer outlined above. I want to change the model to `gpt-3.5-turbo`

When I use this syntax from the [OpenAI docs](https://platform.openai.com/docs/models/continuous-model-upgrades) and the [Glide docs](https://www.glideapps.com/docs/reference/integrations/openai#input-and-output-of-complete-a-prompt), it fails to run. It also doesn’t generate an error so I have no idea why it isn’t working.

Here’s a screenshot:

 ![CleanShot 2023-04-20 at 06.59.01@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/f/dff6d9e1498f0166cc891db588084e5a9a47941c.jpeg)

I’m honestly just guessing that timestamp or something is missing from other comments here.

---

<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: [April 21, 2023, 12:16am UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/17 "2023-04-21T00:16:32Z")

</div>

Gotcha, back to my original point, I think it’s just different endpoints Glide is using here, since gpt-3.5-turbo operates on a different API endpoint, hence it fails. You can try routing the info to Make and use the “OpenAI” module until this is fixed.

---

<div class="post-metadata">

### Author: ![harriskenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harriskenny/32/57540_2.png) [@harriskenny](https://community.glideapps.com/u/harriskenny)
#### Post date: [May 3, 2023, 9:29pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/18 "2023-05-03T21:29:48Z")

</div>

Okay I will do this, if anyone has screenshots or any other ways they’re working around this limitation in Glide, I’d love to see them 🙂 Thank you @ThinhDinh !!

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)
#### Post date: [May 3, 2023, 9:51pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/19 "2023-05-03T21:51:25Z")

</div>

`Ask bot a question` uses 3.5-turbo

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [May 4, 2023, 9:52pm UTC](https://community.glideapps.com/t/open-ai-complete-prompt-with-3-5-turbo/59712/20 "2023-05-04T21:52:21Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
