Jippr
Jippr
BBuildShip
Created by Jippr on 9/4/2024 in #❓・buildship-help
get firebase collection data
Hi @Gaurav Chadha , I actually found how to solve the issue. In the Inputs of the Firestore node I need to add an "items" object in order to make OpenAI Assistant understand that the Order By parameters are a list of objects, instead of just a list like the node is defaulted on and which can only be set the right way through the code interpreter and not through UI as far as I know for now. So needed some analyzing effort of the code in order to pull this off correctly. "orderBy": { "items": { "required": [ "fieldName", "direction" ], "properties": { "direction": { "type": "string", "enum": [ "asc", "desc" ] }, "fieldName": { "type": "string" } }, "type": "object" }, "title": "Order By", "buildship": { "sensitive": false, "index": 4 }, "description": "Order results in desc or asc order.\nEg: [{fieldName: "asc"}] or [{fieldName: "desc"}]", "default": [], "type": "array", "pattern": "" }
7 replies
BBuildShip
Created by Jippr on 9/4/2024 in #❓・buildship-help
get firebase collection data
Hi @Gaurav Chadha , thanks for your help this brings me a bit further and apparently OpenAI Assistant or Buildship has some bug why it does not work. I still have to learn a lot I think about this Buildship platform, this 'empty node'-stuff is new to me. I found it, but now I am struggling with getting the data out in a way that OpenAI Assistant can actually do something with it. It does recognize that I have data, but it is not in the right format.
7 replies