Al_B
BBuildShip
•Created by Al_B on 9/11/2024 in #❓・buildship-help
CORS Issue from FlutterFlow
Also, total aside, but @Stu thanks for all your video tutorials! I have found them super helpful in the journey to build my first app 🙂
10 replies
BBuildShip
•Created by Al_B on 9/11/2024 in #❓・buildship-help
CORS Issue from FlutterFlow
Hi @Gaurav Chadha @Stu , thanks for the response! I'm new to the CORS subject matter so apologies if I'm misunderstanding, but I'm under the impression that the Access-Control-Allow-Origin would need to be added in the Buildship response header, not in the Flutterflow API request.
Is it possible to add the Access-Control-Allow-Origin header in my Buildship API setup? If so, any chance you can point me in the right direction of where I would do so?
Thanks again!
10 replies
BBuildShip
•Created by Al_B on 7/15/2024 in #❓・buildship-help
Using Firestore Collection Query Output in OpenAI Assistant Prompt
In case someone else runs into this issue, I found the best solution in this case was to create an empty node with code to transform the Firestore output into JSON string. (I used ChatGPT to generate this code.) I then reference the empty node's output directly in the Assistant's user prompt.
To me, this is much more preferable than storing the empty node as a function within the assistant. Functions require additional instructions to the Assistant to access, which can sometimes be unreliable and take additional processing time.
11 replies
BBuildShip
•Created by Al_B on 7/15/2024 in #❓・buildship-help
Using Firestore Collection Query Output in OpenAI Assistant Prompt
11 replies
BBuildShip
•Created by Al_B on 7/2/2024 in #❓・buildship-help
Errors using Firestore Collection Query as a function of OpenAI Assistant
@Gaurav Chadha @Christopher30 - Thank you both for your insights, much appreciated! I will take a look and report back soon 👍
One thing I did notice today is that the functionality works well when I:
1) Delete 'Order By' but keep and Auto-Fill 'Filters'
2) Provide field by field details of the collection in the Assistant instructions
The 'Order By' seems to be the culprit in my testing!
5 replies