# Customized OpenAI for Generating Answer Based on Analyzing Data in Specific Glide Data Table Request

**URL:** https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093
**Category:** Ask for Help
**Tags:** ai
**Created:** [September 13, 2023, 2:47pm UTC](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093 "2023-09-13T14:47:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kevin\_Lau](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kevin_lau/32/63911_2.png) [@Kevin\_Lau](https://community.glideapps.com/u/Kevin_Lau)
#### Post date: [September 13, 2023, 2:47pm UTC](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093/1 "2023-09-13T14:47:33Z")

</div>

Is there a function on Glide/ Open AI API that I can customized OpenAI for generating answer (eg. look up specific data row) based on analyzing data in specific Glide data table?

---

<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: [September 14, 2023, 1:36am UTC](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093/2 "2023-09-14T01:36:23Z")

</div>

You have 2 ways to do it:

- Use an “Answer question about a table” action. This will take X most related rows from your database to try to answer your question (I’m not sure what the number of X is, maybe that’s 1).

> **[OpenAI and Glide](https://www.glideapps.com/docs/automation/integrations/openai-and-glide#answer-question-about-a-table)**
>
> Leverage artificial intelligence to generate prompt-based text and images.

- Create a JSON/CSV structure containing your data and add that as part of your prompt. This will limit the number of tokens left you can use to ask the question, though.

---

<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: [September 14, 2023, 1:39am UTC](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093/3 "2023-09-14T01:39:11Z")

</div>

This is a duplicate of this post, please don’t post multiple topics about the same thing. Thank you.

> [@Customized OpenAI for Generating Answer Based on Analyzing Data in Specific Glide Data Table](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table/66078):
>
> Is there a function on Glide/ Open AI API that I can customized OpenAI for generating answer (eg. look up specific data row) based on analyzing data in specific Glide data table?

This post will now be locked.

---

<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: [September 14, 2023, 1:39am UTC](https://community.glideapps.com/t/customized-openai-for-generating-answer-based-on-analyzing-data-in-specific-glide-data-table-request/66093/4 "2023-09-14T01:39:18Z")

</div>


