Is this a new bug?
Current Behavior
The application throws a runtime error when trying to load the column question1 into the index semantic-search
See: src/load.ts, missing parameter metric
Expected Behavior
The application should load the column question1 into the index semantic-search
Steps To Reproduce
Follow the instructions in README.md:
- build the application
- run
npm start -- load --csvPath=test.csv --column=question1
Relevant log output
PineconeUnmappedHttpError: An unexpected error occured while calling the https://controller.gcp-starter.pinecone.io/databases endpoint. Failed to deserialize the JSON body into the target type: missing field `metric` at line 1 column 42 Status: 422.
Environment
- OS: macOS Ventura 13.6
- Language version: typescript
- Pinecone client version: ^1.0.0
Additional Context
No response
Is this a new bug?
Current Behavior
The application throws a runtime error when trying to load the column
question1into the indexsemantic-searchSee:
src/load.ts, missing parametermetricExpected Behavior
The application should load the column
question1into the indexsemantic-searchSteps To Reproduce
Follow the instructions in
README.md:npm start -- load --csvPath=test.csv --column=question1Relevant log output
Environment
Additional Context
No response