run-llama / LlamaIndexTS

LlamaIndex in TypeScript
https://ts.llamaindex.ai
MIT License
1.78k stars 339 forks source link

Python compatibility of SimpleVectorStore #862

Open omonnin-ynov opened 4 months ago

omonnin-ynov commented 4 months ago

It's pretty much all in the title.

I was trying to import a simple vector store, index store and document store, and it kept crashing as it was loading.

Turns out, the TS library expects the JSON variables in camelCase and not snake_case. I believe the TS library should use the same naming convention as the Python one for compatibility purposes.

Godspeed.

marcusschiesser commented 3 months ago

as @omonnin-ynov points out, SimpleVectorStore is not compatible between Python and TS versions. This ticket is to fix this