Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Produktivität · 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

Skill-Dokumentation

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

Gespeicherte Skills