Información sobre documentos
En este flujo se ingiere un documento fuente y utiliza un agente de IA para analizar su contenido. Basado en los temas y conceptos clave identificados, el agente utiliza una herramienta de búsqueda web para encontrar recursos externos relevantes
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
ParseData-sqlix[<div><img src="/_astro/braces.Djq0PW4_.svg" style="height: 20px !important;width: 20px !important"/></div>Obtener Texto]
style ParseData-sqlix stroke:#a170ff
AdvancedAgent-krlv0[Agent2]
style AdvancedAgent-krlv0 stroke:#a170ff
GoogleGenerativeAIModel-0mubo[Gemini]
style GoogleGenerativeAIModel-0mubo stroke:#a170ff
SearXng-5tzhk[Web Search SearXng]
style SearXng-5tzhk stroke:#a170ff
GDriveFilesComponent-rkwzv[<div><img src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager]
style GDriveFilesComponent-rkwzv stroke:#a170ff
TextInput-uane6[<div><img src="/_astro/type.Dy26vmDy.svg" style="height: 20px !important;width: 20px !important"/></div>URL del documento]
style TextInput-uane6 stroke:#a170ff
TextOutput-4fn4w[<div><img src="/_astro/type.Dy26vmDy.svg" style="height: 20px !important;width: 20px !important"/></div>Text Output]
style TextOutput-4fn4w stroke:#a170ff
ParseData-sqlix -.- AdvancedAgent-krlv0
linkStyle 0 stroke:#a170ff
GoogleGenerativeAIModel-0mubo -.- AdvancedAgent-krlv0
linkStyle 1 stroke:#a170ff
SearXng-5tzhk -.- AdvancedAgent-krlv0
linkStyle 2 stroke:#a170ff
GDriveFilesComponent-rkwzv -.- ParseData-sqlix
linkStyle 3 stroke:#a170ff
TextInput-uane6 -.- GDriveFilesComponent-rkwzv
linkStyle 4 stroke:#a170ff
AdvancedAgent-krlv0 -.- TextOutput-4fn4w
linkStyle 5 stroke:#a170ff
Información sobre documentos
🧩 Overview
This workflow automates the process of extracting and enriching information from a document. It begins by loading a document from a source like Google Drive, extracts its plain text content, and then uses an AI agent to analyze it. The agent identifies key topics and concepts within the document and leverages a web search tool to find and propose relevant external resources, such as articles or documentation, to aid in understanding the content.
⚙️ Main Features
- Automatically retrieves and processes a document from a Google Drive URL.
- Extracts and converts the document's content into plain text for analysis.
- Employs an AI agent to read, comprehend, and identify the main themes of the document.
- Uses a web search tool to find related online resources based on the identified topics.
- Presents a final, curated list of proposed web pages with links in a clear text output.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| Text Input | Provides the Google Drive URL for the target document. | Document URL | Document URL |
| Drive File Manager | Retrieves the document file from Google Drive using the provided URL. | Document URL | Document File Data |
| Parse Data | Extracts and converts the raw document data into plain text. | Document File Data | Document Text |
| Google Generative AI Model | Serves as the language model that powers the reasoning and text generation for the AI agent. | Model Configuration | Language Model Instance |
| Web Search (SearXng) | Provides the AI agent with a tool to perform web searches for finding related resources. | Tool Configuration | Search Tool Instance |
| Advanced Agent | The core AI component that receives the document text, analyzes its content, uses the search tool to find relevant web pages, and formulates a final answer. | Document Text, Language Model, Search Tool | Agent's Final Response |
| Text Output | Displays the agent's final response, which is a list of proposed web pages with links. | Agent's Final Response | Formatted Text Output |
🧠 Notes
- The workflow requires a valid Google Drive URL for the document to be analyzed.
- The AI agent's performance and the relevance of search results depend on the configured language model and the agent's system prompt.
- The web search functionality relies on an external SearXNG instance.
- The final output is a text-based list; the workflow does not automatically fetch or summarize the content of the proposed links.