issues Search Results · repo:pgvector/pgvector-python language:Python
Filter by
97 results
(79 ms)97 results
inpgvector/pgvector-python (press backspace or delete to remove)When I use the python code:
Article.objects.all().queryset.annotate(
distance=CosineDistance( title_vector , [1,2,3])
).filter(pub_date__gte= 2021-01-01 ).order_by( distance )[:100]
It returns ...
ayang
- 3
- Opened 1 hour ago
- #121
when using pgvecto.rs it refuses to register_vector
File /site-packages/pgvector/psycopg2/register.py , line 21, in register_vector
raise psycopg2.ProgrammingError( vector type not found in the ...
danya0123
- Opened 25 days ago
- #120
Hi,
I m encountering an issue with my PostgreSQL + PGVector setup:
I have a table containing vectors and a category_id, and I always need to filter on a specific category_id. However,
since I have hundreds ...
ggalpra
- 1
- Opened 28 days ago
- #119
Hi,
I m facing a few issues with using Alembic and SQLAlchemy when creating halfvec indices.
1. The DLL generated by alembic given the index is invalid
My index:
Index(
ix_chunks_vector ,
...
jleguina
- 1
- Opened on Feb 7
- #118
moghadas76
- 1
- Opened on Feb 6
- #117
This example does not work for SparseVector and HalfVector:
from pgvector.sqlalchemy import Vector
class Item(Base):
embedding = mapped_column(Vector(3))
When importing using:
from pgvector.sqlalchemy ...
tux-type
- 1
- Opened on Jan 28
- #116
Here is my data in table called items :
ID: 1, embedding: [1. 2. 3.]
ID: 2, embedding: [4. 5. 6.]
ID: 3, embedding: [ 11. 233. 48.]
ID: 4, embedding: [ 11. 233. 48.]
ID: 5, embedding: [ 14. 22. ...
sky92archangel
- 1
- Opened on Jan 23
- #115
When running a SELECT or ADD query with cosine_distance on the embedding column, I encountered the following error:
(sqlalchemy.dialects.postgresql.asyncpg.Error) class asyncpg.exceptions.DataError ...
SharkSyl
- 2
- Opened on Jan 23
- #114
Currently, when using pgvector with type checkers like mypy, I encounter the following error:
error: Skipping analyzing pgvector.sqlalchemy : module is installed, but missing library stubs or py.typed ...
abrichr
- 1
- Opened on Jan 18
- #113
I have a table messages (model shown below) with a BIT(64) column in PostgreSQL, and I m trying to insert or update data
into that column using SQLAlchemy (via pgvector-python). However, I m getting an ...
ivanstepanovftw
- 2
- Opened on Jan 6
- #112

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.