Feature - Create KB#57
Merged
enzosakamoto merged 40 commits intodevfrom Aug 18, 2025
Merged
Conversation
…serInfo pages for improved consistency
…d sync functionalities
… and synchronization
…file functionality
…ading state handling
… base details and file management
…mproved data handling
…card title to displayName
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 several new features and improvements related to the knowledge base functionality, including new domain types, UI components, and hooks for managing knowledge bases and chat interactions. The most important changes are grouped below by theme.
Knowledge Base Domain and API Integration
KnowledgeBaseandKnowledgeBaseFileinsrc/domain/knowledge-base.tsto define the structure and properties of a knowledge base and its files.src/features/user-area/hooks/use-kb.tsfor creating knowledge bases, deleting files, and fetching knowledge base data from the API.Chat Playground Feature
src/features/playground/pages/playground.tsxthat allows users to interact with a selected knowledge base using AI models, send messages, and view responses in a conversational UI.useChatWithKnowledgeBaseMutationinsrc/features/playground/hooks/use-chat.tsto handle chat requests with the knowledge base using React Query.Knowledge Base Detail Modal
knowledge-base-detail-modal.tsxinsrc/features/user-area/components/to display detailed information about a knowledge base, list files, and provide actions to add/remove files and test the knowledge base in the playground.Dependency and Script Updates
package.jsonto include new dependencies for Radix UI components and improved the dev script to automatically open the browser when running the app. [1] [2]