Generator
Also written: generators, yield
A Python function that uses `yield` to hand out values one at a time instead of returning everything at once. Streaming model functions are generators, which is how words can appear as they are produced.
Also written: generators, yield
A Python function that uses `yield` to hand out values one at a time instead of returning everything at once. Streaming model functions are generators, which is how words can appear as they are produced.