run-llama / LlamaIndexTS

LlamaIndex in TypeScript

Home Page:https://ts.llamaindex.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python compatibility with PineconeVectorStore

kilimchoi opened this issue · comments

Hi, I noticed that in

export enum NodeRelationship {
, 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?

@kilimchoi which vector store did you use? we have a ticket for SimpleVectorStore, see #862

@marcusschiesser PineconeVectorStore