-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Missing metric
parameter in pinecone.createIndex
#6
Comments
Having this issue as well |
After some research I checked pinecone-io/pinecone-ts-client#81 and I added the 'cosine' metric to
however, I'm still getting the same issue |
@grancalavera I was able to find a way. So oddly in the docs if you don't add the metric field you should be fine because it defaults to So a steps
Another alternative way is to create the index on the dashboard with the properties in the ui dashboard. Tho ultimately, there still seems to be a bug where if you don't specify the metric, it doesn't default to the value? |
Is this a new bug?
Current Behavior
The application throws a runtime error when trying to load the column
question1
into the indexsemantic-search
See:
src/load.ts
, missing parametermetric
Expected Behavior
The application should load the column
question1
into the indexsemantic-search
Steps To Reproduce
Follow the instructions in
README.md
:npm start -- load --csvPath=test.csv --column=question1
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: