VaikerAI Docs
  • How VaikerAI works?
  • Streaming
  • Webhooks
  • What is Fine Tuning a model?
  • API References
    • Client Libraries
    • HTTP API
  • Guides
    • Fine-tune an Image model
    • Running Models on VaikerAI Using Python
  • ICO Docs
    • Introduction
    • Problem
    • Solution
    • Incentivize Nodes
    • VAIK Token
    • Tokenomics
    • Buy VAIK Token
  • Useful Links
    • FAQ
    • Twitter
    • Discord
    • Telegram
    • Website
Powered by GitBook
On this page

Streaming

VaikerAI’s API supports server-sent event streams (SSEs) for language models, allowing you to receive real-time output as it’s generated. This guide will walk you through how to consume streaming output.

What is Streaming Output?

Streaming output enables you to receive progressive updates in real-time as a language model processes your input. Instead of waiting for the entire prediction to complete, you can access results as they’re produced, which is especially useful for applications like chatbots that require immediate feedback.

How Streaming Output Works

  1. Initiate a Prediction with Streaming: Start by creating a prediction using the stream option.

  2. Receive a Streaming URL: VaikerAI will return a prediction object that includes a URL for accessing the streaming output.

  3. Connect to the Stream: Connect to the provided URL to receive a continuous stream of updates as the prediction progresses.

PreviousHow VaikerAI works?NextWebhooks

Last updated 9 months ago