ianmacartney / embeddings-in-convex Goto Github PK
View Code? Open in Web Editor NEWAn example of working with embeddings and the Pinecone vector database in Convex.
An example of working with embeddings and the Pinecone vector database in Convex.
I think with the new convex vector search we can remove Pinecone and it will work just fine ?
npx ts-node-esm scripts/addFiles.ts ./path/to/folder
THis command doesn't work. here is the error returned when execute:
node:internal/modules/cjs/loader:995
const err = new Error(message);
^
Error: Cannot find module './addFiles.ts'
Require stack:
- /home/razac/Documents/GitHub/embeddings-in-convex/script/imaginaryUncacheableRequireResolveScript
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.resolve (node:internal/modules/cjs/helpers:109:19)
at requireResolveNonCached (/home/razac/.nvm/versions/node/v18.12.1/lib/node_modules/ts-node/dist/bin.js:549:16)
at getProjectSearchDir (/home/razac/.nvm/versions/node/v18.12.1/lib/node_modules/ts-node/dist/bin.js:519:40)
at phase3 (/home/razac/.nvm/versions/node/v18.12.1/lib/node_modules/ts-node/dist/bin.js:267:27)
at bootstrap (/home/razac/.nvm/versions/node/v18.12.1/lib/node_modules/ts-node/dist/bin.js:47:30)
at Object.<anonymous> (/home/razac/.nvm/versions/node/v18.12.1/lib/node_modules/ts-node/dist/child/child-entrypoint.js:23:21)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/razac/Documents/GitHub/embeddings-in-convex/script/imaginaryUncacheableRequireResolveScript'
]
}
Node.js v18.12.1
OR
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^3.9.3" of package "typescript@>=^3.9.3": Tags may not have any characters that encodeURIComponent encodes.
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.