Comments (3)
You can use:
CREATE TABLE items (embedding numeric[]);
INSERT INTO items (embedding) VALUES ('{1.23456789123456789, 2, 3}');
SELECT * FROM items;
Note that this doesn't use/require pgvector.
from pgvector.
Oh! Of course I still want to use pgvector. And that's why I couldn't find a solution to insert numeric values to pgvector table.
Do you have any idea how to insert and keep exact numbers to pgvector and query them?
from pgvector.
pgvector stores values as floats as mentioned in #46, so it's not possible.
from pgvector.
Related Issues (20)
- Postgres refuses to use HNSW index HOT 2
- pgvector.control missing HOT 1
- Issues updating from 0.1.1 to 0.2.0 HOT 1
- Support vector type nested in jsonb HOT 4
- Installation Invalid Syntax Python HOT 2
- Cant find PGXS during install HOT 2
- Passing CFLAGS to the Makefile HOT 4
- How to upgrade the vector extension version from 0.44 to 0.5.0. HOT 2
- Is subtraction operator self-commutative ? HOT 1
- why does the parameter ivfflat.probes losts when reconnecting the session? HOT 2
- 0.6.1 Plan HOT 1
- Building hnsw index fail with memory is temporarily unavailable HOT 1
- Build a hierarchical structure for each tenant HOT 3
- Query with HNSW index returns only small portion of results HOT 4
- Is here any possibility to crush? HOT 4
- Performance profile of `UPDATE` vs `INSERT`? HOT 1
- Does postgres extension support primary-secondary synchronization? HOT 1
- How to add to existing docker postgresql ? HOT 2
- HNSW Index scan is not called with vector_cosine_ops HOT 3
- little advice:add a tip in windows install (nmake may need root) HOT 4
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 pgvector.