GenkitG
Genkit•14mo ago
rubber-blue

Streaming with dotprompt

hey all, is there a way to use dotprompt when using streaming response? all I can find in the docs is this:

const { response, stream } = await ai.generateStream({
  prompt: 'Suggest a complete menu for a pirate themed restaurant.',
  output: { schema: MenuSchema },
});
Was this page helpful?