Skip to content
Snippets Groups Projects
Unverified Commit 99ae9fba authored by Ishaan Sehgal's avatar Ishaan Sehgal Committed by GitHub
Browse files

fix: Convert Embedding Functions to Async (#17888)

* fix: Convert Embedding Functions to Async

This PR updates the embedding functions to run asynchronously. By wrapping the synchronous implementations with asyncio.to_thread, both _aget_query_embedding and _aget_text_embedding now execute without blocking the event loop.

* Update pyproject.toml
parent 5dafcd2d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment