Skip to main content
Solved

Chat GPT for Data Analysis


omf
Forum|alt.badge.img+5
  • Participating Frequently
  • 7 replies

I'm trying to use ChatGPT to analyze written data from airtable surveys, but ChatGPT is unable to access the information from a csv file. Is it possible to connect ChatGPT to Airtable in order to give it access to specific tables? The idea would be to be able to ask ChatGPT questions such as "What are the top 3 things guests enjoy about this trip?" based on the survey responses.

Best answer by GavinA

 I have recently written a guide for doing something like this:

https://www.csvgetter.com/blog/enable-airtable-ai-analysis-with-perplexity

 

View original
Did this topic help you find an answer to your question?

18 replies

Lom_Labs
Forum|alt.badge.img+12
  • Inspiring
  • 48 replies
  • April 28, 2023

Hello @omf ,

I have built a free extension you can use for that purpose here!


ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8806 replies
  • April 28, 2023

@omf 

Yes, you can very easily integrate & automate ChatGPT for free with Airtable by using Make’s ChatGPT module.

I also show off how to do this on this episode of the BuiltOnAir podcast.

And we are having tons of ChatGPT and Airtable discussions here.


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • April 28, 2023

ask ChatGPT questions such as "What are the top 3 things guests enjoy about this trip?" based on the survey responses.

I don't get the sense that either of the responses (from @ScottWorld or @Lom_Labs) addresses this requirement using GPT. I would love to see how [exactly] GPT can give you this outcome.


ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8806 replies
  • April 29, 2023

You would have to aggregate records together and then send the data to ChatGPT to analyze. For example, Make has several "aggregator tools", which can aggregate data from multiple Airtable records together into various outputs (i.e. text, tables, arrays, JSON, etc.). Make's documentation is absolutely terrible, but they have a Text Aggregator Tool, a Table Aggregator Tool, an Array Aggregator Tool, a Number Aggregator Tool, JSON creation tools, and more. 

However, ChatGPT has a limit on how much data you can send it in a request, so that would limit the amount of data you can aggregate together in Airtable to send to ChatGPT.


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • April 30, 2023

This might help.

 


Lom_Labs
Forum|alt.badge.img+12
  • Inspiring
  • 48 replies
  • April 30, 2023
Bill_French wrote:

ask ChatGPT questions such as "What are the top 3 things guests enjoy about this trip?" based on the survey responses.

I don't get the sense that either of the responses (from @ScottWorld or @Lom_Labs) addresses this requirement using GPT. I would love to see how [exactly] GPT can give you this outcome.


Hello @Bill_French !

It is easy to do this by  first creating a summary table that can aggregate and consolidate the survey responses. This can be accomplished by utilizing rollup fields, which allow us to group and merge data from multiple records from the survey response table.

Once the survey responses have been merged and consolidated in the summary table, a formula field can be added to concatenate a prompt to the consolidated responses. This will enhance the clarity and cohesiveness of the final message that is to be sent to ChatGPT.

Finally, an extension can be utilized to send the combined and enhanced data to ChatGPT!


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • April 30, 2023
Lom_Labs wrote:

Hello @Bill_French !

It is easy to do this by  first creating a summary table that can aggregate and consolidate the survey responses. This can be accomplished by utilizing rollup fields, which allow us to group and merge data from multiple records from the survey response table.

Once the survey responses have been merged and consolidated in the summary table, a formula field can be added to concatenate a prompt to the consolidated responses. This will enhance the clarity and cohesiveness of the final message that is to be sent to ChatGPT.

Finally, an extension can be utilized to send the combined and enhanced data to ChatGPT!


My hatred for Khoros continues. I had a really nice post with code and everything. It was lost when I accidentally changed views.

So, I recreated it here. Enjoy...


omf
Forum|alt.badge.img+5
  • Author
  • Participating Frequently
  • 7 replies
  • May 2, 2023

After reading through everything (particularly @Bill_French 's fascinating article), it seems as though what I'm looking for - essentially a direct connection between AirTable and ChatGPT, where ChatGPT can access the information in AirTable on command, is not an option. The solutions proposed are a bit over my level at the moment but if I'm able to figure it out, I'll post an update here!


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • May 3, 2023
omf wrote:

After reading through everything (particularly @Bill_French 's fascinating article), it seems as though what I'm looking for - essentially a direct connection between AirTable and ChatGPT, where ChatGPT can access the information in AirTable on command, is not an option. The solutions proposed are a bit over my level at the moment but if I'm able to figure it out, I'll post an update here!


> ... essentially a direct connection between AirTable and ChatGPT, where ChatGPT can access the information in AirTable on command, is not an option.

If you want your data users to access Airtable data directly from the ChatGPT user interface, you must build a ChatGPT Plugin. This complex approach requires security and API code that will make it seamless for your users to access their private data from OpenAI's UI products. I have my doubts that you actually want this; here's why.

As I explained in the article, if you want your users to be able to use their data with ChatGPT (not to be confused with inside ChatGPT), you need to build an extension app like I demonstrated, that blends your table data with AI to create a UI that allows users to query the data through natural language. Example query...

 


Forum|alt.badge.img+2
  • New Participant
  • 2 replies
  • October 13, 2023
Bill_French wrote:

> ... essentially a direct connection between AirTable and ChatGPT, where ChatGPT can access the information in AirTable on command, is not an option.

If you want your data users to access Airtable data directly from the ChatGPT user interface, you must build a ChatGPT Plugin. This complex approach requires security and API code that will make it seamless for your users to access their private data from OpenAI's UI products. I have my doubts that you actually want this; here's why.

As I explained in the article, if you want your users to be able to use their data with ChatGPT (not to be confused with inside ChatGPT), you need to build an extension app like I demonstrated, that blends your table data with AI to create a UI that allows users to query the data through natural language. Example query...

 


Hey Bill. I really want to read these articles, but I'm having trouble with the payment page. Can you assist on the following three:


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • October 13, 2023
GrantBot wrote:

Hey Bill. I really want to read these articles, but I'm having trouble with the payment page. Can you assist on the following three:


I can help as soon as I know the email address you are using to access my Substack. I just tested the payment process, and it works flawlessly, but Substack itself handled almost a million transactions since you wrote this, and almost every one of them succeeded. I have a thousand subscribers and have never had an issue with their payment gateway.

Feel free to message me at bill.french@gmail.com.


GavinA
Forum|alt.badge.img+13
  • Inspiring
  • 84 replies
  • Answer
  • January 12, 2024

 I have recently written a guide for doing something like this:

https://www.csvgetter.com/blog/enable-airtable-ai-analysis-with-perplexity

 


omf
Forum|alt.badge.img+5
  • Author
  • Participating Frequently
  • 7 replies
  • January 15, 2024

@GavinA This is exactly what I was looking for! Sadly, I'm still not getting the analysis I wanted, but in terms of a GPT referencing data from Airtable, this is a simple solution.


Forum|alt.badge.img+19
  • Inspiring
  • 3264 replies
  • January 15, 2024
omf wrote:

@GavinA This is exactly what I was looking for! Sadly, I'm still not getting the analysis I wanted, but in terms of a GPT referencing data from Airtable, this is a simple solution.


I'm still not getting the analysis I wanted ...

Then, by definition, it is not what you are looking for. 😉 Using Perplexity for data analysis is the first mistake. It is best suited to generating ideas and identifying sources - like a blend of ChatGPT and web search.


GavinA
Forum|alt.badge.img+13
  • Inspiring
  • 84 replies
  • January 16, 2024
omf wrote:

@GavinA This is exactly what I was looking for! Sadly, I'm still not getting the analysis I wanted, but in terms of a GPT referencing data from Airtable, this is a simple solution.


No problem! Feel free to DM me with more info on what you are trying to do and maybe we can get it sorted.


omf
Forum|alt.badge.img+5
  • Author
  • Participating Frequently
  • 7 replies
  • January 16, 2024
GavinA wrote:

No problem! Feel free to DM me with more info on what you are trying to do and maybe we can get it sorted.


Thank you! Sent a DM.


Forum|alt.badge.img+2
  • Participating Frequently
  • 5 replies
  • March 19, 2024

What are the advantages of using ChatGPT for data analysis tasks, particularly regarding efficiency and scalability?


Forum|alt.badge.img+4
  • New Participant
  • 2 replies
  • September 26, 2024

Reply