Spaces:
Sleeping
Sleeping
| <mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36" version="28.0.7"> | |
| <diagram name="LexPilot System Architecture" id="ProSystem"> | |
| <mxGraphModel dx="1489" dy="753" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> | |
| <root> | |
| <mxCell id="0" /> | |
| <mxCell id="1" parent="0" /> | |
| <mxCell id="user" value="π€ User (Student/Researcher)" style="shape=ellipse;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="100" y="80" width="200" height="80" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="frontend" value="π Frontend ( Hugging Face Spaces)" style="shape=rectangle;rounded=1;fillColor=#f8cecc;strokeColor=#b85450;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="380" y="60" width="320" height="120" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="api" value="π REST API Layer (FastAPI/ Endpoints)" style="shape=rectangle;rounded=1;fillColor=#fff2cc;strokeColor=#d6b656;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="760" y="60" width="320" height="120" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="preprocess" value="βοΈ Preprocessing\n- File Reader (.pdf, .docx, .txt)\n- Whisper Speech-to-Text\n- Text Normalization" style="shape=process;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1"> | |
| <mxGeometry x="340" y="240" width="540" height="100" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="summarizer" value="π Summarizer\nModel: BART-Large-CNN\nTask: Generate concise summaries" style="shape=process;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1"> | |
| <mxGeometry x="150" y="400" width="450" height="100" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="qa" value="β Question Answering\nModel: BERT (SQuAD2)\nTask: Extractive QA + Confidence" style="shape=process;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1"> | |
| <mxGeometry x="720" y="400" width="450" height="100" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="summary_out" value="π Summary Output (Key Insights)" style="shape=terminator;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="300" y="580" width="240" height="80" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="qa_out" value="π‘ Answer + Confidence Score" style="shape=terminator;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="720" y="580" width="280" height="80" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="notebooklm" value="π NotebookLM Knowledge Base\n- Raw Transcripts (Whisper)\n- Summaries (ChatGPT/Gemini)\n- Documentation + Code Snippets" style="shape=rectangle;rounded=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;" parent="1" vertex="1"> | |
| <mxGeometry x="520" y="720" width="880" height="100" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a1" parent="1" source="user" target="frontend" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a2" parent="1" source="frontend" target="api" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a3" parent="1" source="api" target="preprocess" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a4" parent="1" source="preprocess" target="summarizer" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a5" parent="1" source="preprocess" target="qa" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a6" parent="1" source="summarizer" target="summary_out" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a7" parent="1" source="qa" target="qa_out" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a8" parent="1" source="summary_out" target="notebooklm" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| <mxCell id="a9" parent="1" source="qa_out" target="notebooklm" edge="1"> | |
| <mxGeometry relative="1" as="geometry" /> | |
| </mxCell> | |
| </root> | |
| </mxGraphModel> | |
| </diagram> | |
| </mxfile> | |