-
Notifications
You must be signed in to change notification settings - Fork 67
feat(knowledge): add document preview and edit functionality #792
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
base: main
Are you sure you want to change the base?
Conversation
- Add PublicRetrieverService for managing system-level retrievers (user_id=0) - Add admin API endpoints for public retriever CRUD operations - Update retriever_kinds_service to include public retrievers with fallback - Add PublicRetrieverList frontend component for admin management - Add public retriever tab to admin navigation - Update RetrievalSettingsSection to display source type labels (Personal/Public/Group) - Add i18n translations for public retriever features
…ptions - Add complete index strategy options (per_user, per_dataset, fixed, rolling) - Add retrieval methods configuration with checkboxes (vector, keyword, hybrid) - Add connection test functionality - Add storage type specific auth fields (username/password for ES, API key for Qdrant) - Add password visibility toggles - Add dynamic retrieval methods loading from API - Match personal retriever configuration page layout and functionality
Add logging to help diagnose why public retrievers are not being returned in the list API. Logs the count of found public retrievers and each added retriever name.
…-retriever-support
- Add RetrieverFormFields component for reusable form fields - Update PublicRetrieverList with create/edit/delete functionality - Add API endpoints for public retriever CRUD operations - Update storage base to support public retriever configuration - Update DocumentList and RetrievalSettingsSection for retriever selection
- Add public retriever support in RetrievalSettingsSection - Update useEmbeddingModels and useRetrievers hooks to fetch public models - Fix storage base to handle retriever configuration properly - Add i18n translations for public model labels
…-retriever-support
…-retriever-support
Add the ability to preview and edit knowledge base documents: - Add GET/PUT endpoints for document content - Implement right-side drawer for document preview - Support Markdown editor with live preview for text files - Add PDF viewer with zoom and download support - Trigger automatic re-indexing when content is updated
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Test plan