La interfaz está localizada; las descripciones y documentos de las Skills se traducen automáticamente con IA a su idioma. El código, los comandos, rutas y términos técnicos se mantienen en el original, y prevalece el documento del autor.
Explorar Skills
Productividad · 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

Documentación 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 guardadas