- Introduced `enrichChunkImageInfo` function to populate image information for text chunks by retrieving data from child chunks, ensuring that image-related content is not lost during processing. - Updated `reconstructContent` to `reconstructEnrichedContent`, allowing for the inclusion of OCR text and captions from images, improving the quality of content sent to the LLM. - Added `writeDedupItemXML` and `xmlEscape` functions to format entity and concept entries as structured XML, enhancing clarity and preventing nonsensical merges in deduplication prompts. - Refined the `deduplicateExtractedBatch` method to utilize the new XML formatting for better output consistency. These changes significantly improve the handling of image data and the overall clarity of deduplication prompts, contributing to a more effective wiki content management system. |
||
|---|---|---|
| .. | ||
| memory | ||
| skills | ||
| token | ||
| tools | ||
| act.go | ||
| const.go | ||
| engine.go | ||
| engine_image_test.go | ||
| engine_test.go | ||
| finalize.go | ||
| observe.go | ||
| prompts.go | ||
| prompts_wiki.go | ||
| think.go | ||