L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · 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

Documentation de la Skill

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

Skills enregistrées