mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #96] [CLOSED] fix: use self.embeddings.aembed_* in async methods #161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-postgres/pull/96
Author: @liunux4odoo
Created: 8/6/2024
Status: ❌ Closed
Base:
main← Head:feat📝 Commits (1)
c262718fix: use self.embeddings.aembed_* in async methods📊 Changes
1 file changed (+12 additions, -12 deletions)
View changed files
📝
langchain_postgres/vectorstores.py(+12 -12)📄 Description
using sync methods of embeddings in PGVector async methods harms performance.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.