---
title: Stream Helpers
description: Learn to use help functions that help stream generations from different providers.
collapsed: true
---

<IndexCards
  cards={[
    {
      title: 'AIStream',
      description: 'Create a readable stream for AI responses.',
      href: '/docs/reference/stream-helpers/ai-stream',
    },
    {
      title: 'StreamingTextResponse',
      description: 'Create a streaming response for text generations.',
      href: '/docs/reference/stream-helpers/streaming-text-response',
    },
    {
      title: 'streamtoResponse',
      description: 'Pipe a ReadableStream to a Node.js ServerResponse object.',
      href: '/docs/reference/stream-helpers/stream-to-response',
    },
    {
      title: 'OpenAIStream',
      description:
        "Transforms the response from OpenAI's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/openai-stream',
    },
    {
      title: 'AnthropicStream',
      description:
        "Transforms the response from Anthropic's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/anthropic-stream',
    },
    {
      title: 'AWSBedrockStream',
      description:
        "Transforms the response from AWS Bedrock's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/aws-bedrock-stream',
    },
    {
      title: 'AWSBedrockMessagesStream',
      description:
        "Transforms the response from AWS Bedrock Message's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/aws-bedrock-messages-stream',
    },
    {
      title: 'AWSBedrockCohereStream',
      description:
        "Transforms the response from AWS Bedrock Cohere's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/aws-bedrock-cohere-stream',
    },
    {
      title: 'AWSBedrockLlama-2Stream',
      description:
        "Transforms the response from AWS Bedrock Llama-2's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/aws-bedrock-llama-2-stream',
    },
    {
      title: 'CohereStream',
      description:
        "Transforms the response from Cohere's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/cohere-stream',
    },
    {
      title: 'GoogleGenerativeAIStream',
      description:
        "Transforms the response from Google's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/google-generative-ai-stream',
    },
    {
      title: 'HuggingFaceStream',
      description:
        "Transforms the response from Hugging Face's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/hugging-face-stream',
    },
    {
      title: 'LangChainStream',
      description:
        "Transforms the response from LangChain's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/langchain-adapter',
    },
    {
      title: 'MistralStream',
      description:
        "Transforms the response from Mistral's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/mistral-stream',
    },
    {
      title: 'ReplicateStream',
      description:
        "Transforms the response from Replicate's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/replicate-stream',
    },
    {
      title: 'InkeepsStream',
      description:
        "Transforms the response from Inkeeps's language models into a readable stream.",
      href: '/docs/reference/stream-helpers/inkeep-stream',
    },
  ]}
/>
