Skip to content

Improve ergonomics of streaming predictions - #269

Merged
mattt merged 4 commits into
mainfrom
mattt/stream-prediction
Mar 19, 2024
Merged

mattt merged 4 commits into
mainfrom
mattt/stream-prediction

Conversation

@mattt

@mattt mattt commented Mar 19, 2024 •

Copy link
Copy Markdown

A few folks have expressed confusion about how to stream output from a prediction. This PR updates the README with documentation and adds a missing async_stream instance method on prediction.

@mattt
mattt force-pushed the mattt/stream-prediction branch from 6e49110 to 348bd29 Compare March 19, 2024 11:59
Mattt Zmuda added 3 commits March 19, 2024 05:01
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt
mattt force-pushed the mattt/stream-prediction branch from 348bd29 to 333d090 Compare March 19, 2024 12:01
Pass REPLICATE_API_TOKEN environment variable

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt
mattt merged commit 5a74724 into main Mar 19, 2024
@mattt
mattt deleted the mattt/stream-prediction branch March 19, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant