yao/yao
Max 1060c0f0e0 Enhance attachment manager with dual text content handling
- Updated `GetText` and `SaveText` methods to support both full content and a preview (first 2000 characters) for improved performance and usability.
- Added comprehensive tests in `manager_test.go` to validate the new functionality, including UTF-8 character handling and content retrieval scenarios.
- Modified the attachment model to include a `content_preview` field alongside the existing `content` field, ensuring efficient data management.
- Enhanced the README.md to document the new dual storage feature, providing clear examples for users on how to utilize the updated methods.
2025-12-03 18:29:24 +08:00
..
data Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00
fields Update field values in model.trans.json 2024-03-14 12:43:48 +08:00
langs [_] 2023-05-13 19:20:58 +08:00
models Enhance attachment manager with dual text content handling 2025-12-03 18:29:24 +08:00
release [add] load application from bin data 2023-04-24 11:58:10 +08:00
stores Add Knowledge Base configuration and integration with GraphRag 2025-07-23 17:07:38 +08:00
uploaders Update asset modification timestamps and add support for application/octet-stream in attachment.local.yao 2025-08-13 11:12:52 +08:00