Esta página foi traduzida automaticamente. Ler o original em inglês.

Component

core/ai-agent/llamaindex

A LlamaIndex agent, run in-cluster as an application image the Release supplies. LlamaIndex offers several distinct ways for an agent to reach an answer rather than one — reasoning and acting a step at a time, delegating tool selection to the model's own tool-calling, or planning the whole sequence before any of it runs — and that choice is the value this component insists on, alongside the system prompt the agent works under and a ceiling on how many tool calls a single run may make. Deploying it gives that agent as a worker wired to a model on the `model` socket, so one image runs against any model in the catalog. The catalog supplies no image for it — LlamaIndex is published as a library an application is built around, so there is no upstream image to pin — and until a Release sets `infra.image` the build halts naming the container image and renders nothing. An `inject:` block on the model connection delivers the names the application reads, as variables or as files, in place of the model-name variable the Recipes choose by default; the endpoint variable the client SDK reads and the attached key stay. Its Recipes deliver each own value under a default variable name; the component's own `inject:` block takes `env` and `file` entries, and one reading a value alone replaces that value's default name.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:8ecb518fa9de94671a0dc115d59b47db1ebf8835e53c68feb4fd0d652144c8de
Publicado
2026-11-10T10:08:24Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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:26402593d105f586ba18855c8a532104886790e416f02ce496276808d58c6c0e

Referência nesta versão

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

Parâmetros do programador

Valores que o programador define no Aggregate.

Estende BaseComponents#/schemas/BaseAgentParameter

NomeTipoPredefiniçãoObrigatórioDescrição
agent_modestring (react | openai_tools | rewoo)reactsim—
system_promptstring—não—
max_function_callsinteger10sim—
log_levelstring (DEBUG | INFO | WARNING | ERROR | CRITICAL)INFOsimLog verbosity the agent emits. At DEBUG the agent narrates each step of its reasoning as it works; INFO and above report progress and problems only.

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
imagestring—nãoContainer image running the LlamaIndex application code.

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

Nenhum valor de saída declarado.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

model

Seletor
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
Injeção
env, file

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimOptional credential the agent presents to the model this connection reaches. When attached, the Recipe delivers it to the application as OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

Slots de acoplamento

Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de autorizações de autoinjeção

env, file

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade