feat: add knowledge base pages#657
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds knowledge bases functionality to the application, introducing new API endpoints and pages for managing knowledge bases within teams. The feature allows users to create, view, edit, and delete knowledge bases with data sources and embedding models.
- Adds comprehensive knowledge base API endpoints (CRUD operations)
- Implements knowledge base overview and create/edit pages with proper validation
- Integrates knowledge base navigation into the main application menu
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/redux/otomiApi.ts | Adds AI models and knowledge base/agent API endpoints with type definitions |
| src/pages/knowledge-bases/overview/KnowledgeBasesOverviewPage.tsx | Implements knowledge base listing page with table view |
| src/pages/knowledge-bases/index.tsx | Exports knowledge base page components |
| src/pages/knowledge-bases/create-edit/create-edit-knowledgeBases.validator.ts | Validation schema for knowledge base form |
| src/pages/knowledge-bases/create-edit/KnowledgeBasesCreateEditPage.tsx | Form page for creating and editing knowledge bases |
| src/components/NavConfig.tsx | Adds knowledge bases navigation menu item |
| src/App.tsx | Adds routing for knowledge base pages |
| public/i18n/en/common.json | Adds translation keys for knowledge base UI |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
ElderMatt
approved these changes
Oct 1, 2025
CasLubbers
requested changes
Oct 2, 2025
CasLubbers
approved these changes
Oct 2, 2025
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.
📌 Summary
This PR adds knowledge base pages.
Ticket: https://track.akamai.com/jira/browse/APL-1134
PRs: apl-api
🔍 Reviewer Notes
Testing:
otomi-apiapp _rawValues in your cluster:otomi-consoleapp _rawValues in your cluster:pgvectordatabase usingpgvector-clusterchart in the catalog pagek8s-deploymentchart (example below)Knowledge Basepages work as expectedConsiderations