-
-
Notifications
You must be signed in to change notification settings - Fork 603
refine json repair & graph db #1279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to 2a7ac73
Previous suggestions✅ Suggestions up to commit 2fc121e
|
|||||||||||||||||||||||||||||||||||||||
PR Type
Enhancement, Refactoring
Description
Refactored JSON repair service from plugin to core shared module
Enhanced graph database interface with async methods and expanded result model
Introduced
IGraphKnowledgeServiceto separate graph knowledge concernsAdded
JsonRepairOptionsfor flexible LLM configuration in JSON repairImproved
GraphSearchResultwith keys and values arrays for structured dataUpdated
GraphSearchOptionswith provider, graph ID, and arguments supportDiagram Walkthrough
File Walkthrough
14 files
Renamed Search to SearchAsync with optional parametersEnhanced with keys and values array propertiesAdded provider, graph ID, and arguments propertiesNew interface for graph knowledge search operationsRenamed methods to async and added options parameterNew options class for JSON repair configurationUpdated to use new RepairAsync method with optionsNew implementation with options and flexible LLM configAdded response format parameter to execute callInjected IGraphKnowledgeService and updated search methodAdded provider, graph ID, and arguments request propertiesRenamed Search to SearchAsync and updated return typesNew service implementing IGraphKnowledgeService interfaceNew Membase graph database implementation with async search8 files
Removed deprecated GraphSearchData model classRemoved graph search method from knowledge serviceRemoved non-ASCII regex and simplified JSON cleaningRemoved deprecated JSON repair plugin fileMoved to shared module with enhanced configurationUpdated to use IGraphKnowledgeService instead of direct serviceRemoved graph search implementation from knowledge serviceRemoved GetGraphDb helper method from knowledge service1 files
Improved code formatting and null check handling3 files
Registered JsonRepairService in instruction plugin DIRegistered GraphKnowledgeService in dependency injectionAdded folder reference and updated project structure