Skip to content

Improve ergonomics of streaming predictions #269

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

Merged
merged 4 commits into from
Mar 19, 2024
Merged

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Mar 19, 2024

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 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