ba11b0y
08/05/2025, 6:46 PMba11b0y
08/05/2025, 6:48 PMba11b0y
08/05/2025, 6:57 PMfunction StreamTest() -> string {
client GeminiPro
prompt #"
Tell a long story
"#
}
import { b } from "../src/baml_client";
const stream = b.stream.StreamTest();
for (const partial of stream) {
console.log(partial);
}ba11b0y
08/05/2025, 6:59 PMba11b0y
08/05/2025, 7:01 PMfunction StreamTest() -> string {
client GeminiPro
prompt #"
Tell a long story
"#
}
import { b } from "../src/baml_client";
const stream = b.stream.StreamTest();
for (const partial of stream) {
console.log(partial);
}ba11b0y
08/05/2025, 7:03 PMfunction StreamTest() -> string {
client GeminiPro
prompt #"
Tell a long story
"#
}
import { b } from "../src/baml_client";
const stream = b.stream.StreamTest();
for (const partial of stream) {
console.log(partial);
}bammy
08/05/2025, 7:17 PMba11b0y
08/05/2025, 7:22 PM