andy-stack_vaultkeeper-ai/AIClasses/FunctionDefinitions
Andrew Beal d58e9ef1ff refactor: enhance vault search to return content snippets with context
- Update SearchVaultFiles function to return contextual snippets instead of just file lists
- Implement snippet extraction with configurable context length (300 chars)
- Add snippet merging logic to consolidate overlapping matches
- Limit results to 20 randomly sampled matches when exceeding threshold
- Update return types across service layer to use SearchMatch/SearchSnippet
- Change regex flags to 'ig' for global case-insensitive matching
2025-10-14 19:50:45 +01:00
..
Functions refactor: enhance vault search to return content snippets with context 2025-10-14 19:50:45 +01:00
AIFunctionDefinitions.ts refactor: replace ListVaultFiles with content-based SearchVaultFiles 2025-10-14 18:54:16 +01:00
AIFunctionResponse.ts Refactor AI function handling by introducing AIFunctionCall and AIFunctionResponse classes, updating function definitions, and enhancing conversation content management. Remove unused code and improve service registration for AIFunctionService. 2025-10-06 23:01:20 +01:00
IAIFunctionDefinition.ts Refactor AI function handling by introducing AIFunctionCall and AIFunctionResponse classes, updating function definitions, and enhancing conversation content management. Remove unused code and improve service registration for AIFunctionService. 2025-10-06 23:01:20 +01:00