Rag architecture

From vamseeachanta/workspace-hub · View interactive version

Rag architecture is an AI agent skill from the GitHub repository vamseeachanta/workspace-hub. Sub-skill of ai-prompting: RAG Architecture (+2).

How to use this skill

Skill file

RAG Architecture (+2)

RAG Architecture

User Query --> Embedding --> Vector Search --> Context Assembly --> LLM --> Response
     |                            |                   |               |
     +-- Query expansion         +-- Reranking       +-- Chunking    +-- Citations
     +-- Intent detection        +-- Filtering       +-- Templates   +-- Validation

Prompt Optimization Pipeline

Initial Prompt --> Generate Outputs --> Evaluate --> Optimize --> Deploy
      |                  |                 |            |            |
      +-- Template      +-- Test cases   +-- Metrics  +-- Search   +-- Monitor
      +-- Variables     +-- Edge cases   +-- Human    +-- Iterate  +-- A/B test

Agent Architecture

User Request --> Plan --> Tool Selection --> Execution --> Reflection --> Response
      |           |             |                |              |             |
      +-- Parse  +-- Decompose +-- Available    +-- Retry     +-- Verify    +-- Format
      +-- Intent +-- Prioritize+-- Constraints  +-- Timeout   +-- Correct   +-- Cite
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.