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

How to use streaming mode in a non-interactive environment #220

Open
SupreethRao99 opened this issue Jun 11, 2023 · 0 comments
Open

How to use streaming mode in a non-interactive environment #220

SupreethRao99 opened this issue Jun 11, 2023 · 0 comments

Comments

@SupreethRao99
Copy link

Hello,

I would like to use streaming in a non interactive environment to get around OpenAI's timeout issue when generative long sequences. when stream=True in a guidance program and I try to access the output by subscripting the output using square brackets. I get a generator object cannot be subscripted error. is there an elegant way to get around this issue?

Thank You!

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

No branches or pull requests

1 participant