UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

client-and-protocols

client-and-protocols

Use Jina Client calls, protocol selection, streaming, retries, callbacks, request parameters, and target-executor routing.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: client-and-protocols description: "Use Jina Client calls, protocol selection, streaming, retries, callbacks, request parameters, and target-executor routing." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Client and Protocols

Use this sub-skill when a task involves sending requests to a running Flow or Deployment, selecting gRPC/HTTP/WebSocket protocols, configuring retries or callbacks, streaming generators, or debugging protocol/TLS and request-routing problems.

Read first

  • Client API for Client construction and post() semantics.
  • Streaming and retries for async clients, callbacks, batching, target executors, and failure handling.
  • Troubleshooting for protocol mismatch, TLS, callback, retry, ordering, and streaming issues.
  • Use smoke_client_roundtrip.py for a tiny local roundtrip check when a Flow or Deployment is already running.

Quick example

from jina import Client
from docarray import BaseDoc

client = Client(host="grpc://localhost:12345")
resp = client.post("/", BaseDoc(), return_responses=True)

Boundaries

保存したスキル