Convert Gdrive document download into string to send to GPT

Hi all,

I am trying to get GPT to analyse a file for me. The file is in csv format and thus not supported by the assistant file upload path.

I now have the file on Gdrive and downloard it with the respective make module. I think the resulting data is in base64 (?), how do I convert this into a (csv) string or some format that I can feed into GPT?

Thanks a lot!! :slight_smile:

1 Like

Welcome to the Make community!

You can use the built-in function toString

e.g.:

{{ toString(7.data) }}

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

β€” @samliew

2 Likes

Thanks a lot! This worked, only GPTs maths skills dont seem up to par :'D

I have one other issue that I am stuck with, maybe you know the answer there as well - would be super helpful!

Link:Dynamically call a previous value

No problem, glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too β€”

Getting Started

Help Centre Basics

Articles & Videos

Partner & Custom Apps

Hope this helps! Let me know if there are any further questions or issues.

β€” @samliew