Skip to content

Add run_async methods to components in the Jina integration #3134

@maxdswain

Description

@maxdswain

Is your feature request related to a problem? Please describe.
Requests to the Jina API is blocking and I'd like run_async methods to allow benefits from using components from this integration in an AsyncPipeline.

Describe the solution you'd like
Add run_async methods to the embedding components, connectors and rankers using httpx. It would also be good to replace the usage of requests in for the sync run methods aligning with what was done in deepset-ai/haystack#11047.

Describe alternatives you've considered
Only using httpx for the run_async methods.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions