So, I basically have two documents in txt format within dropbox folder. I simply want to pass these two documents into a gpt module for some work I wish gpt to do. I am going around and around with this without both documents being made available to the gpt module. Can someone please give me a steer on how to do this?
Hi Grant, Welcome to the community.
Can you please share which module you’re are using for this?
Best,
Prem
Welcome to the Make Community!
Use a search module, followed by a text aggregator.
The Make Academy explains how to use an aggregator.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
I have been using chatgpt to guide me in this process and this is the latest stage I am at after multiple failed attempts.
I am not convinced that it will even work but I cant help but feel this is a hugely long winded route to just get two documents into a gpt module!
Do you want to attach those 2 txt docs from automation module to GPT module in same automation?
Yes. Its basically a reconciliation task for the two docs in gpt
Got it. In that case you need to use 3 OpenAI modules. 1. Upload files 2. Add files to Vector store > Create new vector store 3. Message an Assistant as OpenAI Chat completion only supports images files, not documents.
This is the sample flow that you can replicate.
After uploading the file i am using text aggregator to combine file Ids with comma as separator
Make sure that you use source module which retuned 2 files in seperate bundles not operations
While creating and adding files to vector store use split function to add files at once from the string that was compiled by text aggregator.
At last use Message an Assistant module to add that vector store in file search. and your files will be analyzed by GPT model based on instructions and user prompt
I hope this helps.
Let me know if you need more help!
Best,
@Prem_Patel