WeKnora/internal/middleware
wizardchen 72dfb9ce75 feat(prompt): enhance context and intent classification in templates
- Updated context template to include runtime metadata such as current time and week, improving contextual awareness in user queries.
- Enhanced rewrite template with critical instructions for intent classification, ensuring that rewritten questions preserve essential entities and keywords.
- Refined intent classification logic to prioritize user intents more effectively, improving the accuracy of responses based on user queries.
- Added examples to clarify expected input and output formats for intent classification, enhancing usability for developers.
2026-03-26 18:57:12 +08:00
..
auth.go fix: update grep_chunks tool to support multiple patterns 2026-03-13 11:57:40 +08:00
error_handler.go init commit 2025-08-05 15:08:07 +08:00
language.go refactor: update session title generation and language context handling 2026-03-17 22:23:24 +08:00
logger.go feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
recovery.go fix: replace standard log with structured logger in main and recovery middleware 2026-02-06 17:59:15 +08:00
trace.go refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00