pinecone-io / semantic-search-example Goto Github PK
View Code? Open in Web Editor NEWA TypeScript demo app using the Pinecone vector database
Home Page: https://www.pinecone.io
A TypeScript demo app using the Pinecone vector database
Home Page: https://www.pinecone.io
Hello! I appreciate your efforts in creating this.
May I inquire if it's feasible to incorporate OpenAI embeddings? If it is, how challenging would it be to integrate both the current and OpenAI embeddings in this script?
If you can direct me on how to do it, I would gladly assist in adding that feature. I am unfamiliar with Pinecone, so any assistance would be beneficial. Thank you!
No response
No response
No response
No response
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
The application should load the column question1
into the index semantic-search
Follow the instructions in README.md
:
npm start -- load --csvPath=test.csv --column=question1
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.
No response
When I run npm start -- load --csvPath=test.csv --column=question2
, I get the following error:
PineconeUnmappedHttpError: An unexpected error occured while calling the https://controller.us-east4-gcp.pinecone.io/databases endpoint. index semantic-search already exists Status: 409.
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.
The npm start -- load --csvPath=test.csv --column=question2
command in the ReadMe executes without issue and the second column of questions is uploaded.
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.No response
- **OS**:
- **Language version**:
- **Pinecone client version**:
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.