-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: [Orchestration] Improve Streaming Sample Code #243
Conversation
"Can you give me the first " | ||
+ numberOfFibonacci | ||
+ " numbers of the Fibonacci sequence?"); | ||
"Please create a small story about developing a software project with around 700 words."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Minor/Comment)
For sake of sample code quality and "real world" application, I would probably still prefer a service method parameter.
"Please create a small story about developing a software project with around 700 words."); | |
"Please create a small story about "+topic+" with around 700 words."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides @newtork 's point this looks good to me!
Context
Gemini consistently refuses to generate enough numbers, and with the default chunk size of 100 barely any streaming occurs. The new prompt is more reliable