หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

Feature

core/target-selection

Declares which way an AI gateway chooses among several targets that can serve the same request. Its strategy is latency, which picks the target observed to answer quickest, or cost, which picks the target that is cheapest to call. It is the choice between targets rather than the routing itself: which targets are candidates comes from the gateway's own routing table, so a table that publishes each model alias once leaves nothing to choose between. The developer attaches it in the Aggregate, since the strategy is a value, and a Release binds its realization in the Manifest. On core/gateway/litellm, target-selection-litellm writes latency as the proxy's routing strategy and refuses cost by name: the proxy's price table does not name OpenAI's and Anthropic's models in the provider/model form the gateway's targets take, so it would choose by order. On core/gateway/kong-enterprise and core/gateway/traefik-hub, target-selection-kong-enterprise and target-selection-traefik-hub halt every attachment, since each of their model routes carries one target. On core/gateway/higress, target-selection-higress halts every attachment, since the gateway can measure a service's latency but cannot make its choice route the request, and chooses no target by cost. On core/gateway/agentgateway, target-selection-agentgateway halts every attachment, since the gateway takes the quickest target only when a random draw picks it, and chooses no target by cost. Each halts on any other gateway.

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:c7a10d9f41d54c0ad064c453ef2cfd8bd4a3b5c73bcb8c6ac4ecf4ba92c969d8
เผยแพร่
2026-11-10T10:17:33Z
ตัวตนผู้ลงลายเซ็น
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

ลายเซ็น

  • ทางการapplication/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:3343d53b93ceabea6203effc1027a397ff31888cfefe88cddc5515dcf0b057ba

เอกสารอ้างอิงในเวอร์ชันนี้

oci://hub.aggrega.ai/feature/core/target-selection:1.0.0
นำไปใช้กับ
gateway.aggrega.ai/intelligence=semantic
ขัดแย้งกับ
—

พารามิเตอร์ของนักพัฒนา

ค่าที่นักพัฒนากำหนดเมื่อแนบฟีเจอร์นี้

ต่อยอดจาก BaseComponents#/schemas/BaseFeatureParameter

ชื่อชนิดค่าเริ่มต้นจำเป็นคำอธิบาย
strategystring (latency | cost)latencyใช่How the gateway chooses among the targets that can serve a request: latency, the target observed to answer quickest; or cost, the target cheapest to call.

สัญญาเอาต์พุต

ค่าที่ฟีเจอร์นี้เผยแพร่ให้ผู้บริโภค

ไม่มีค่าเอาต์พุตที่ประกาศ

คำอธิบายประกอบ

ไม่มีคำอธิบายประกอบที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

ใช้โดย

เอกสารอ้างอิงแนวคิดของ Feature

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว