Replies: 2 comments
-
Hey @YZx0pa |
Beta Was this translation helpful? Give feedback.
-
Hey @YZx0pa |
Beta Was this translation helpful? Give feedback.
-
Hey @YZx0pa |
Beta Was this translation helpful? Give feedback.
-
Hey @YZx0pa |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I set up pgvector db as below
vector_db = PgVector(
db_url=db_url,
schema="ai",
table_name="embeddings",
search_type=SearchType.hybrid,
distance=Distance.cosine, # Use cosine distance for similarity search
reranker=True,
)
when I use the vector_db.search(query), is there a way to return the score together with the document (eg. disance) .
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions