[PR #97] [MERGED] fix: use self.embeddings.aembed_* in async methods #163

Closed
opened 2026-02-16 05:16:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/97
Author: @liunux4odoo
Created: 8/6/2024
Status: Merged
Merged: 9/12/2024
Merged by: @eyurtsev

Base: mainHead: feat2


📝 Commits (4)

  • 4ef1426 fix: use self.embeddings.aembed_* in async methods
  • 14136e9 Merge branch 'main' into feat2
  • 01a7f05 x
  • 76fdbb3 Merge branch 'main' into feat2

📊 Changes

1 file changed (+10 additions, -10 deletions)

View changed files

📝 langchain_postgres/vectorstores.py (+10 -10)

📄 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/97 **Author:** [@liunux4odoo](https://github.com/liunux4odoo) **Created:** 8/6/2024 **Status:** ✅ Merged **Merged:** 9/12/2024 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `feat2` --- ### 📝 Commits (4) - [`4ef1426`](https://github.com/langchain-ai/langchain-postgres/commit/4ef142674b34533d05112d4d3714540746c33dc3) fix: use self.embeddings.aembed_* in async methods - [`14136e9`](https://github.com/langchain-ai/langchain-postgres/commit/14136e9c43bda9a337269eecc25c11def4eb82fc) Merge branch 'main' into feat2 - [`01a7f05`](https://github.com/langchain-ai/langchain-postgres/commit/01a7f05125a55a45158759802b01cf336ad73d06) x - [`76fdbb3`](https://github.com/langchain-ai/langchain-postgres/commit/76fdbb3af3781d82262e9010186a328e234bc2a7) Merge branch 'main' into feat2 ### 📊 Changes **1 file changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/vectorstores.py` (+10 -10) </details> ### 📄 Description using sync methods of embeddings in PGVector async methods harms performance. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:16:49 -05:00
yindo closed this issue 2026-02-16 05:16:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#163