yao/kb/api
Max 53db8be522 Enhance Collection Retrieval and Existence Check Logic
- Updated the `GetCollection` method to first read from the database for existence and permissions, improving data integrity.
- Merged metadata from GraphRag into the result, ensuring backward compatibility and enhanced data representation.
- Refactored the `CollectionExists` method to check both the database and GraphRag for consistency, logging any mismatches for debugging purposes.
- Introduced new types and structures for search operations, including `SearchMode`, `Query`, and `SearchResult`, to support advanced search functionalities.
2025-12-20 11:25:02 +08:00
..
addfile.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addfile_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addtext.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addtext_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addurl.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addurl_test.go Update tests to use context and correct URL references 2025-12-19 20:10:16 +08:00
api.go Enhance Assistant stream functionality and remove history handling 2025-12-08 10:28:26 +08:00
collection.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
collection_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
consts.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
document.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
document_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
interfaces.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
search.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
search_setup_test.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
search_test.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
types.go Enhance Collection Retrieval and Existence Check Logic 2025-12-20 11:25:02 +08:00
utils.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00