Skip to content

bug while using a custom embedding model #5

Open
@ShukriChiu

Description

@ShukriChiu

for example, if I use "jina-embeddings-v2-base-zh" embedding model, the dimension size should be 768

File "/root/.cache/pypoetry/virtualenvs/shujian-knowledge-server-GJO3bz0z-py3.11/lib/python3.11/site-packages/timescale_vector/client.py", line 1196, in upsert
cur.executemany(query, records)
psycopg2.errors.DataException: expected 1536 dimensions, not 768

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions