hf_text-generation-inference/router/client
Daniël de Kok df71aafdcc router: send the input as chunks to the backend
Before this change, the generation input was sent to the backend as a
single string, encoding images as Base64 and packing them in
Markdown-style links.

This change adds a new chunked input representation that separates text
chunks from images chunks. Image chunks contain binary data (for smaller
message sizes) and the image's MIME type.

The stringly-typed inputs are still sent to support backends that do not
support chunked inputs yet.
2024-06-03 17:02:41 +02:00
..
src router: send the input as chunks to the backend 2024-06-03 17:02:41 +02:00
Cargo.toml router: send the input as chunks to the backend 2024-06-03 17:02:41 +02:00
build.rs feat: add distributed tracing (#62) 2023-02-13 13:02:45 +01:00