Hi, I noticed that in https://github.com/run-llama/LlamaIndexTS/blob/b963782137c7e8e1142701f3dddade3c9d8db6f4/packages/core/src/Node.ts#L4, all the enum values are in string. But if I use the python llamaindex to do queries after embedding documents with llamaindex.ts, I get an error message value is not a valid enumeration member; permitted: '1', '2', '3', '4', '5'. This seems to be happening because python's NodeRelationship is using an integer value for SOURCE, PREVIOUS, NEXT, PARENT, and etc. Is there a reason why the typescript package is using the string instead?
Hi, I noticed that in https://github.com/run-llama/LlamaIndexTS/blob/b963782137c7e8e1142701f3dddade3c9d8db6f4/packages/core/src/Node.ts#L4, all the enum values are in string. But if I use the python llamaindex to do queries after embedding documents with llamaindex.ts, I get an error message
value is not a valid enumeration member; permitted: '1', '2', '3', '4', '5'
. This seems to be happening because python's NodeRelationship is using an integer value forSOURCE
,PREVIOUS
,NEXT
,PARENT
, and etc. Is there a reason why the typescript package is using the string instead?