querying db through chatgpt: 400 Invalid schema for function
I am trying to query a firestore database through chatgpt. I always receive an error statement:
"400 Invalid schema for function 'firestore-Collection-Query': In context=('properties', 'orderBy'), array schema missing items"
My chatgpt instructions include: "When you are given tools to use, you must use them following the guidelines for each tool.
Guidelines:
1. When you start the conversation, you must use the 'firestore-collection-query' tool to retrieve relevant keywords."
The firebase node works if not used in context of the chatgpt query...
Thanks!
"400 Invalid schema for function 'firestore-Collection-Query': In context=('properties', 'orderBy'), array schema missing items"
My chatgpt instructions include: "When you are given tools to use, you must use them following the guidelines for each tool.
Guidelines:
1. When you start the conversation, you must use the 'firestore-collection-query' tool to retrieve relevant keywords."
The firebase node works if not used in context of the chatgpt query...
Thanks!

Solution
@Thomas You can make the query outside the Assistant node and then add an empty node inside the Assistant then store the variable output of the Firestore Collection Query node to make your workflow work, or remove the filter or orderBy form the node, alternatively, you can add the use our Firestore Collection Video - https://www.youtube.com/watch?v=B0g0FWqWSLg.
