feat: Enhance wiki extraction and configuration options
- Introduced extraction granularity settings in the wiki configuration, allowing users to control the level of detail in entity and concept extraction (focused, standard, exhaustive). - Updated the UI to reflect these new options, including tooltips for better user guidance. - Refactored the knowledge base editor to support the new extraction granularity feature, ensuring a seamless user experience. - Improved the backend logic for wiki ingest tasks to utilize the new granularity settings, enhancing the accuracy of extracted content. - Added tests to validate the new extraction granularity functionality and ensure robust performance across different configurations.
This commit is contained in:
@@ -29,11 +29,9 @@ export function createKnowledgeBase(data: {
|
||||
extract_config?: any;
|
||||
faq_config?: { index_mode: string; question_index_mode?: string };
|
||||
wiki_config?: {
|
||||
enabled: boolean;
|
||||
auto_ingest?: boolean;
|
||||
synthesis_model_id?: string;
|
||||
wiki_language?: string;
|
||||
max_pages_per_ingest?: number;
|
||||
extraction_granularity?: 'focused' | 'standard' | 'exhaustive';
|
||||
};
|
||||
indexing_strategy?: {
|
||||
vector_enabled: boolean;
|
||||
@@ -60,11 +58,9 @@ export function updateKnowledgeBase(id: string, data: {
|
||||
image_processing_config?: any;
|
||||
faq_config?: any;
|
||||
wiki_config?: {
|
||||
enabled: boolean;
|
||||
auto_ingest?: boolean;
|
||||
synthesis_model_id?: string;
|
||||
wiki_language?: string;
|
||||
max_pages_per_ingest?: number;
|
||||
extraction_granularity?: 'focused' | 'standard' | 'exhaustive';
|
||||
};
|
||||
indexing_strategy?: {
|
||||
vector_enabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user