Esim RAG bot enhacements harvi (Includes all Enhancements from Hariom + More )#468
Open
Harvi-2215 wants to merge 37 commits intoFOSSEE:masterfrom
Open
Esim RAG bot enhacements harvi (Includes all Enhancements from Hariom + More )#468Harvi-2215 wants to merge 37 commits intoFOSSEE:masterfrom
Harvi-2215 wants to merge 37 commits intoFOSSEE:masterfrom
Conversation
Refactor Application.py to improve structure and readability. Added chatbot integration and updated comments for clarity.
Updated context menu actions for project handling and added netlist analysis functionality.
Removed unnecessary message box for plot confirmation and fixed typo in Flag assignment.
Add eSim netlist analysis output contract documentation
Added a comprehensive eSim netlist analysis output contract document detailing workflow, schematic design, SPICE rules, simulation types, components, common errors, and IC availability.
Implement core functionality for eSim Copilot, including error detection, question classification, and image analysis handling.
Updated the eSim netlist analysis output contract to define chatbot response requirements and provide detailed instructions for users.
Added detailed documentation for eSim Copilot, including features, installation instructions, and system dependencies.
Added instructions for ingesting manuals for RAG.
Add installation command for paddlepaddle version 2.5.2.
Added RAG fallback mechanism to improve response accuracy. Implemented semantic topic switch detection for better context handling.
Updated installation instructions and added repository cloning steps.
…DB path fix Made-with: Cursor
…ix, launch script, session summary Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
… copy button, tests, deploy script Made-with: Cursor
…ts branch Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…al-time hints
Priority 3 – One-click netlist fix (Chatbot.py)
- After every netlist analysis, detect fixable issues from stored FACT dict
- Show/hide "Apply Fixes" button automatically
- _apply_netlist_fixes(): writes .options gmin, .model stubs, bleed resistors
before .end; creates .bak backup before modifying
Priority 4 & 7 – Batch netlist/image analysis (Chatbot.py)
- New BatchWorker QThread: runs static FACT detectors on N netlists or
analyze_and_extract() on N images without blocking the UI
- "Batch" button opens picker dialog; streams per-file progress into chat;
emits summary on completion
Priority 5 – Model selection in settings (ollama_runner.py + Chatbot.py)
- ollama_runner.py: load_model_settings / save_model_settings / reload_model_settings
persist text+vision model choice to ~/.local/share/esim-copilot/settings.json
- list_available_models() queries live Ollama list for the dialog
- CopilotSettingsDialog: QComboBox for text & vision model; saves + hot-reloads
- Settings button (gear icon) in chatbot header opens the dialog
Priority 8 – Real-time KiCad hints (Chatbot.py)
- Watch toggle button (eye icon) in chatbot header
- QTimer fires every 30 s; runs _detect_floating_nodes, _detect_missing_models,
_netlist_ground_info on the active project's .cir (no LLM call)
- Only posts a hint when the set of detected issues changes (de-duplicated)
- Timer stopped cleanly on window close
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Purpose
Approach