Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add and use post endpoint for streaming #6093

Merged
merged 16 commits into from
Oct 25, 2023
5 changes: 5 additions & 0 deletions docs/concepts/serving/executor/add-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ Streaming endpoints receive one Document as input and yields one Document at a t
:class: note

Streaming endpoints are only supported for HTTP and gRPC protocols and for Deployment and Flow with one single Executor.

For HTTP deploymnent streaming executors generate both a GET and POST endpoint.
JoanFM marked this conversation as resolved.
Show resolved Hide resolved
The GET endpoint support documents with string, integer, or float fields only,
whereas, POST requests support all docarrays.
The Jina client uses the POST endpoints.
JoanFM marked this conversation as resolved.
Show resolved Hide resolved
```

A streaming endpoint has the following signature:
Expand Down
Loading