[PR #96] [CLOSED] fix: use self.embeddings.aembed_* in async methods #161

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/96
Author: @liunux4odoo
Created: 8/6/2024
Status: Closed

Base: mainHead: feat


📝 Commits (1)

  • c262718 fix: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/96 **Author:** [@liunux4odoo](https://github.com/liunux4odoo) **Created:** 8/6/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat` --- ### 📝 Commits (1) - [`c262718`](https://github.com/langchain-ai/langchain-postgres/commit/c2627182e25263cebf1b5941608477f4c4be6171) fix: use self.embeddings.aembed_* in async methods ### 📊 Changes **1 file changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/vectorstores.py` (+12 -12) </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:48 -05:00
yindo closed this issue 2026-02-16 05:16:48 -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#161