Skip to content

Build your personal knowledge base with Trilium Notes

rename files with the same name

perf3ct3fee82eaa55a
diff --git a/src/services/llm/context/chunking.ts b/src/services/llm/context/content_chunking.ts
similarity index 100%
rename from src/services/llm/context/chunking.ts
rename to src/services/llm/context/content_chunking.ts
diff --git a/src/services/llm/context/index.ts b/src/services/llm/context/index.ts
index 168a226fc1..df4842a29c 100644
--- a/src/services/llm/context/index.ts
+++ b/src/services/llm/context/index.ts
@@ -6,8 +6,8 @@
import becca from '../../../becca/becca.js';
import { getNoteContent, formatNoteContent, sanitizeHtmlContent } from './note_content.js';
import { detectLanguage, extractCodeStructure } from './code_handlers.js';
-import { chunkContent, semanticChunking } from './chunking.js';
-import type { ContentChunk, ChunkOptions } from './chunking.js';
+import { chunkContent, semanticChunking } from './content_chunking.js';
+import type { ContentChunk, ChunkOptions } from './content_chunking.js';
import { summarizeContent, extractKeyPoints } from './summarization.js';
import { getParentNotes, getParentContext, getChildContext, getLinkedNotesContext } from './hierarchy.js';
import { getSemanticContext } from './semantic_context.js';
diff --git a/src/services/llm/embeddings/chunking/chunking_interface.ts b/src/services/llm/embeddings/chunking/chunking_interface.ts
index 301bdec057..c59752c6cb 100644
--- a/src/services/llm/embeddings/chunking/chunking_interface.ts
+++ b/src/services/llm/embeddings/chunking/chunking_interface.ts
@@ -19,6 +19,6 @@ export interface ChunkingOperations {
* This function is implemented to break circular dependencies
*/
export async function getChunkingOperations(): Promise<ChunkingOperations> {
- const chunking = await import('./chunking.js');
+ const chunking = await import('./chunking_processor.js');
return chunking;
}
diff --git a/src/services/llm/embeddings/chunking/chunking.ts b/src/services/llm/embeddings/chunking/chunking_processor.ts
similarity index 100%
rename from src/services/llm/embeddings/chunking/chunking.ts
rename to src/services/llm/embeddings/chunking/chunking_processor.ts