The Catalog Agent (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/geremyjampiersalasgarcia-eng/Caso_Practico_Semillero_IA/llms.txt
Use this file to discover all available pages before exploring further.
agente_catalogo) is the go-to specialist for anything related to Patito S.A.’s product lineup. When the LangGraph classifier detects the intent catalogo_precios, it routes the query directly to this agent. The agent retrieves the most relevant chunks from the col_catalogo ChromaDB collection — populated from 01_Catalogo_Productos_Precios.txt — injects them into its system prompt, and calls Gemini to produce a structured answer that always includes product name, list price (USD, pre-tax, pre-discount), and availability status.
Agent properties
| Property | Value |
|---|---|
name | agente_catalogo |
collection_name | col_catalogo |
system_prompt_path | backend/app/prompts/catalogo_prompt.md |
| Knowledge document | 01_Catalogo_Productos_Precios.txt |
| Intent trigger | catalogo_precios |
Source class
CatalogoAgent inherits the full RAG pipeline from BaseAgent and only needs to declare the four abstract properties. No override of process_query is required.
Example queries
The following examples illustrate the kinds of questions this agent handles and what a correct answer looks like. 1. List price and availability¿Cuál es el precio de lista y la disponibilidad del producto Patito Pro 2026?Expected answer shape:
- Producto: Patito Pro 2026
- Precio de lista: USD listed in the catalog (pre-tax, pre-discount)
- Disponibilidad: EN STOCK or bajo pedido
- Source cited:
01_Catalogo_Productos_Precios.txt
¿Qué productos de la línea Patito Lite están disponibles?Expected answer shape: list of Patito Lite 2026 and Patito Lite Mini with their respective prices and stock status. 3. Accessory lookup
¿Qué accesorios vende Patito S.A. y cuánto cuestan?Expected answer shape: list of accessories (Funda protectora, Cargador rápido 65W, Mouse inalámbrico Patito) with unit prices and availability. 4. Out-of-scope graceful fallback
¿Qué descuentos puedo ofrecer en el Patito Pro Max 2026?Expected answer: the agent returns the list price and notes that discount policies are handled by the Policies Agent, not this one.
Response format
EveryAgentResult returned by agente_catalogo follows this structure:
| Field | Description |
|---|---|
agent_name | Always "agente_catalogo" |
answer | Markdown-formatted text with product name, list price in USD, availability (EN STOCK / bajo pedido), and estimated delivery time if applicable. Prices are stated as pre-tax and pre-discount. |
sources | List of SourceInfo objects: document_name (01_Catalogo_Productos_Precios.txt), content_snippet (first 200 chars of the matched chunk), relevance_score (cosine similarity from ChromaDB). |
tokens_input | Gemini input token count for this call. |
tokens_output | Gemini output token count for this call. |