yao/kb
Max 01820d9fe2 Add function execution support to Job system
- Introduced `AddFunc` method to the `Job` struct for adding Go functions as job executions, allowing for dynamic execution of functions with specified arguments.
- Enhanced internal execution handling to register functions in a global registry, ensuring proper cleanup after execution.
- Implemented `ExecuteFunc` method in the `Goroutine` struct to handle the execution of registered functions, including error handling and context management.
- Added comprehensive unit tests for `AddFunc`, verifying function registration, execution, and memory cleanup post-execution.
- Updated related documentation to reflect the new functionality and usage patterns for adding and executing Go functions within the job system.
2025-12-19 14:50:53 +08:00
..
api Add function execution support to Job system 2025-12-19 14:50:53 +08:00
providers Add tests for JSON response formatting and schema validation in OpenAI provider 2025-11-15 11:31:17 +08:00
types Enhance document search functionality and improve duplicate handling in seed process 2025-11-04 16:26:31 +08:00
kb.go Enhance Assistant stream functionality and remove history handling 2025-12-08 10:28:26 +08:00
kb_test.go Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00
README.md Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00

Knowledge Base