Streaming Chat Inference

Official

Stream AI chat with 0G compute settlement

AuthorVocaid
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill orchestrates verified 0G Compute chat providers to deliver streamed or standard conversational responses while ensuring provider acknowledgement, usage tracking, and fee settlement.

Core Features & Use Cases

  • Streaming and non-streaming modes: Works with DeepSeek, Qwen, Gemma, or GPT-OSS models to stream tokens or return completed responses.
  • Provider lifecycle management: Handles broker initialization, metadata retrieval, auth headers, and usage reporting that prevents settlement failures.
  • Use Case: Deploy a customer-facing chatbot that streams replies, captures chat IDs from headers, and calls processResponse after each request so provider fees settle automatically.

Quick Start

Use streaming chat inference to send a user prompt through the broker, collect the chat id from headers, and immediately invoke processResponse with the reported usage.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Streaming Chat Inference
Download link: https://github.com/Vocaid/vocaid-hub/archive/main.zip#streaming-chat-inference

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.