# ChatGPT Possibilities

**URL:** https://community.glideapps.com/t/chatgpt-possibilities/68494
**Category:** Ask for Help
**Created:** [December 7, 2023, 10:35pm UTC](https://community.glideapps.com/t/chatgpt-possibilities/68494 "2023-12-07T22:35:45Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [December 7, 2023, 11:41pm UTC](https://community.glideapps.com/t/chatgpt-possibilities/68494/2 "2023-12-07T23:41:17Z")

</div>

> [@Adam\_Chambers](#):
>
> When the app displays cities, in the city description it says “this is a good option for you given your desire for a low cost of living”

You would want to use a template column to integrate the inputs of the user into the prompt that is sent to generate the description you display on the frontend.

> [@Adam\_Chambers](#):
>
> For example, the user could ask “which city has average temperatures of more than 20 degrees and costs $3,000 per month or left to live in”, and it gives the responses, as ChatGPT would.

- Add a chat component.

- Add an “AI Response” user-specific column on top of the screen you’re building the chat on.

- Add a Chat Logs table, make sure you follow the guidelines in here with Complete Chat (with History).

> **[OpenAI and Glide | Glide Docs](https://www.glideapps.com/docs/automation/integrations/openai-and-glide#complete-chat-(with-history))**
>
> Leverage artificial intelligence to generate prompt-based text and images.

- In the on-submit action of the Chat component, add a step for Complete Chat (with History) and write it to the “AI Response” column. Immediately add another step to add a row to the Chat logs table with that response.

---

_[View the full topic](https://community.glideapps.com/t/chatgpt-possibilities/68494)._
