[Bug] Cannot upsert second column of questions with current behavior of load.ts #9
Open
2 tasks done
Labels
bug
Something isn't working
Is this a new bug?
Current Behavior
When I run
npm start -- load --csvPath=test.csv --column=question2
, I get the following error:After discussion with Roie, there should be a simple fix in
load.ts
that can properly check for the existence of the index and properly connect to the existing index to allow for the upload of the second column.Expected Behavior
The
npm start -- load --csvPath=test.csv --column=question2
command in the ReadMe executes without issue and the second column of questions is uploaded.Steps To Reproduce
npm run build
.npm start -- load --csvPath=test.csv --column=question1
npm start -- load --csvPath=test.csv --column=question2
and observe the error noted above.Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: