agenticAI_pipeline — Gemini Agents | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiAgentsagenticAI_pipeline
    Back to Agents
    agenticAI_pipeline

    agenticAI_pipeline

    bujo-eayn June 10, 2025
    3 copies 0 downloads

    A modular multi-agent AI system that performs deep scientific research using a supervisor-worker architecture. It combines foundational and specialized language models to reason, plan, and execute tasks for document and chart analysis in scientific domains.

    Agent Definition
    # Agentic Document Intelligence with GPT-4 & SmolDocling
    
    This project is an agentic AI pipeline that uses GPT-4 as the primary agent and integrates SmolDocling as a tool to deeply analyze uploaded documents. It allows users to upload various document formats and extract structured content automatically, with an intelligent evaluation and feedback loop.
    
    ---
    
    ## šŸš€ Features
    
    * Upload documents in multiple formats (PDF, Word, etc.)
    * Automatic conversion to PDF if needed
    * Dual extraction using GPT-4 and SmolDocling
    * Evaluation of extracted content using BLEU, overlap, and Jaccard similarity
    * Iterative feedback to SmolDocling to improve accuracy
    * Final structured output in Word and PDF formats
    * User prompt execution on final extracted document
    * Streamlit UI for ease of use
    * Dockerized for simple deployment
    
    ---
    
    ## 🧠 Pipeline Overview
    
    1. **Upload Document**: User uploads a file and provides a prompt.
    2. **Preprocessing**: The document is converted to PDF (if not already).
    3. **GPT-4 Extraction**: Extracts text, tables, images, and structural elements.
    4. **SmolDocling Extraction**: Sends static prompt to SmolDocling backend for extraction.
    5. **Evaluation**: Compares GPT-4 vs SmolDocling outputs using:
    
       * Textual overlap ratio
       * BLEU score
       * Jaccard similarity
    6. **Consistency Check**:
    
       * āœ… If consistent: build final doc and apply user prompt.
       * āŒ If inconsistent: identify differences and retry SmolDocling with feedback.
    7. **Final Output**: Assemble and export the cleaned, structured document.
    
    ---
    
    ## šŸ—‚ļø Folder Structure
    
    ```
    .
    ā”œā”€ā”€ app.py                  # Streamlit UI
    ā”œā”€ā”€ Dockerfile              # Docker configuration
    ā”œā”€ā”€ requirements.txt
    │
    ā”œā”€ā”€ graph/                  # LangGraph logic
    │   ā”œā”€ā”€ graph_builder.py
    │   └── nodes/              # Nodes in the pipeline
    │       ā”œā”€ā”€ user_input.py
    │       ā”œā”€ā”€ preprocess_doc.py
    │       ā”œā”€ā”€ gpt_extract.py
    │       ā”œā”€ā”€ smoldocling_call.py
    │       ā”œā”€ā”€ evaluate.py
    │       ā”œā”€ā”€ retry_node.py
    │       ā”œā”€ā”€ fina

    Tags

    agentic-aigeminigptmulti-agent-systemssmoldocling

    Comments

    More Agents

    View all
    research

    NotebookLM

    Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.

    G
    Google
    browser

    Project Mariner (Browser Agent)

    Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.

    G
    Google DeepMind
    multimodal

    Project Astra (Multimodal Agent)

    Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.

    G
    Google DeepMind
    enterprise

    Gemini Enterprise Agent Platform

    Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.

    G
    Google Cloud
    research

    Gemini Deep Research Agent

    Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.

    G
    Google
    canvas

    Gemini Canvas Agent

    Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.

    G
    Google

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    Ā© 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.