rag_agent / README.md
Cheh Kit Hong
fixing gradio
aa018e3
|
raw
history blame
1.19 kB

rag_agent/ β”œβ”€β”€ app.py # Main Gradio application entry point β”œβ”€β”€ config.py # Configuration hub (models, chunk sizes, providers) β”œβ”€β”€ util.py # PDF to markdown conversion β”œβ”€β”€ core/ # Core RAG components orchestration β”‚ β”œβ”€β”€ chat_interface.py
β”‚ β”œβ”€β”€ document_manager.py
β”‚ └── rag_system.py
β”œβ”€β”€ knowledge_base/ # for create chromadb β”œβ”€β”€ chroma_data/ # chroma vectorstore data β”œβ”€β”€ agent_logic/ # LangGraph agent workflow β”‚ β”œβ”€β”€ edges.py # Conditional routing logic β”‚ β”œβ”€β”€ graph.py # Graph construction and compilation β”‚ β”œβ”€β”€ graph_state.py # State definitions β”‚ β”œβ”€β”€ nodes.py # Processing nodes (summarize, rewrite, agent) β”‚ β”œβ”€β”€ prompts.py # System prompts β”‚ β”œβ”€β”€ schemas.py # Pydantic data models β”‚ └── tools.py # Retrieval tools └── ui/ # User interface └── gradio_app.py # Gradio interface components