Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Feature

core/fallback-chain

Sends a request whose model fails on to other models, in an order the attachment names. Attached to an AI gateway that routes on the model named in a request, it takes chains, whose entries each name a model the gateway publishes and, in order, the models a failed request for it falls back to, tried in turn until one answers; and max_hops, which bounds how far along the chain a request is passed. Every name in chains is a name the gateway publishes. The build halts on a model listed among its own fallbacks and on a model given two entries, and a realization halts on a name its gateway does not publish. A request falls back once the gateway has given up on the model it asked for, after the gateway's own retries of that model, whose count core/retry-policy sets. It brings no resource of its own: the chain and its bound are written into the routing configuration the gateway's Recipe already renders.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:42f4905929fc9ecf651a289b6c5fbfd33ded4ea7d57b51df3bc37a99e291356e
Đã xuất bản
2026-11-10T10:17:08Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:0e38706b0fe1a767e26c4aa26e86ec3c50b1febfa7b815819cb71913b28d0ad6

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/feature/core/fallback-chain:1.0.0
Áp dụng cho
gateway.aggrega.ai/intelligence=semantic
Xung đột với
—

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt khi gắn tính năng này.

Mở rộng BaseComponents#/schemas/BaseFeatureParameter

TênKiểuMặc địnhBắt buộcMô tả
chainsarray (min 1)—cóFor each model that falls back, the models a failed request for it is sent on to. Each entry names one model and, in order, its fallbacks; a fallback that fails follows its own entry in turn, so a chain longer than one step is written as one entry per model along it.
max_hopsinteger (min 1)—cóHow far along the chain a request is passed. Once a request has fallen back this many times, a fallback that fails is not followed to its own entry: the request goes on to any model still left in the list it came from, and its failure is returned when none is. Each realization says how its gateway counts a fallback.

Hợp đồng đầu ra

Các giá trị mà tính năng này xuất bản cho bên tiêu thụ.

Chưa khai báo giá trị đầu ra nào.

Chú thích

Chưa khai báo chú thích nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Được sử dụng bởi

Tài liệu tham khảo khái niệm Feature →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư