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

Component

core/ai-agent/gemini

A Gemini assistant hosted on Google's generative-language API, realized as an external reference (no in-cluster compute). The model runs in Google's service and the deployment holds a contract and a key; the assistant's behaviour is carried in the system instruction and the per-request options the application sends, including whether search grounding is enabled. The realization emits only the wiring a consuming application needs, which is the API endpoint and the model string to call it with. The endpoint defaults to the fixed generative-language host and is sourced from infra so an operator may repoint it at a gateway or proxy.

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:f972d8b3f0e8e8be0593cf2e47cffbaa1fa1c71f5f3f21713cab9f9205d1ae71
Đã xuất bản
2026-11-10T10:08:03Z
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:e4e2adc6c4e8b415ec3a3bbcacfd2684b0a78e6e7e64422d5db1ea60293bb0a5

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

oci://hub.aggrega.ai/component/core/ai-agent/gemini:1.0.0

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

Các giá trị mà nhà phát triển đặt trong Aggregate.

Mở rộng BaseComponents#/schemas/BaseAgentParameter

TênKiểuMặc địnhBắt buộcMô tả
modelstring—có—
system_instructionstring—không—
enable_google_search_groundingbooleanfalsecó—
temperaturenumber (min 0, max 2)0.7có—

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
endpointstringhttps://generativelanguage.googleapis.comkhông—

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

TênKiểuMặc địnhBắt buộcMô tả
endpointstring—cóBase URL an application sends the assistant's requests to. It follows the endpoint set in the Release, so an operator may point it at a gateway or proxy without the application changing.
modelstring—cóName of the model the assistant runs on, carried through from the model the Aggregate declared. An application sends it with each request, alongside the system instruction that carries the assistant's behaviour.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

Chưa khai báo socket uses nào.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

Chưa khai báo đường ống tự tiêm 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.

Sử dụng

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

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

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ư