Conversation
…cluding Excel and HTML
…essing capabilities
…essing capabilities
…rage, and retrieval capabilities
…r pool status management
…ering capabilities
…r store interactions
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.
This pull request introduces major improvements and refactoring to the knowledge base (RAG) management module, including backend infrastructure, ORM models, error codes, and frontend API integration. The changes standardize API parameter mapping, add new configuration options, expand error handling, and lay the foundation for robust document processing and file management. The most important changes are grouped below:
Backend: Knowledge Base (RAG) ORM Models & Infrastructure
KnowledgeBaseandRagFileinknowledge_gen.pyto align with Java entity definitions, including enums for RAG types and file status, and detailed schema for both knowledge bases and files.ingest_file_to_chunks,load_and_split, etc.) for future extensibility and code clarity. [1] [2] [3] [4] [5] [6]Backend: Error Handling
Frontend: API Integration & Parameter Mapping
sizeis mapped topage_sizeandpagestarts from 1 as expected by the Python backend. [1] [2] [3]Frontend: Development Proxy Configuration
These changes collectively modernize the knowledge base management subsystem, improve maintainability, and prepare the codebase for advanced RAG features and integrations.
References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]