Comments (4)
Prisma is split between a JS client and a Rust query engine. The client passes the JS options to the engine, which builds the query, sends it and transforms the response for JS.
The engine and development guide is here. They also have a more high-level explanation of the engine here.
They have experimental support for e.g. PostGIS, so it might help to look at how that was implemented.
Edit: Hmm, it looks like they just support having the PostGIS extension, but don't support the actual index or data type based on this issue.
from pgvecto.rs.
Would integration with ORMs be within scope for this? We're working on moving to Prisma for Node.js, but the lack of support for the vector type makes it hard to work with (related).
from pgvecto.rs.
@mertalev We're interested but lacks of knowledge with that so far. The error message seems related to rust but I didn't see any rust file in prisma. Is there any development guide we can look at for custom type?
from pgvecto.rs.
Probably the most helpful resource is this PR that adds PostGIS types. It's massive, though, so I'm not sure how big an undertaking this would be.
from pgvecto.rs.
Related Issues (20)
- epic: Release 0.3.0 HOT 1
- benchmark: INT8 benchmark HOT 1
- test: 0.3 release test HOT 1
- chore: sync return when index creation
- Need a docker compose example HOT 4
- bug(cnpg): type "vector" does not exist HOT 1
- The default max_stack_depth parameter in the container image may be too small HOT 12
- How could I use AzureOpenAI to build LlamaIndex? HOT 2
- vector type not found in the database - pgvecto_rs.psycopg register_vector HOT 5
- copy with BINARY FORMAT fails with cannot find a dumper for type vector HOT 3
- sdk: Sparse vector indices type mismatch between sdk and function signature with numpy.ndarray
- How to find index size ? HOT 3
- Execute pg_resetwal in docker Unraid HOT 3
- feat: Support vector aggregation function HOT 1
- feat(fdw): How to be compatible with new pgvector types HOT 1
- feat: ANN benchmark HOT 3
- bench(fdw): Latency HOT 4
- fix(bench): Fix ZillizBench HOT 1
- feat: Add pgvecto.rs to vector hub HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgvecto.rs.