WeKnora/internal/application/service/chat_pipeline
wizardchen 92ceb3bd7d refactor(chat): enhance follow-up handling for previous image/document context
Update the classification logic for follow-up questions to include reasoning about previously described images or documents. Ensure that follow-up queries referencing earlier attachments are correctly identified and processed without triggering unnecessary knowledge base searches. This change improves the model's ability to maintain context and respond accurately to user inquiries related to past interactions.
2026-07-16 17:41:27 +08:00
..
chat_completion.go feat(chat): implement orphan alias detection and logging in chat completion and streaming 2026-07-15 17:02:43 +08:00
chat_completion_stream.go feat(chat): implement orphan alias detection and logging in chat completion and streaming 2026-07-15 17:02:43 +08:00
chat_completion_stream_test.go fix(tests): update resource alias syntax from 'res:' to 'res://' in tests and registry 2026-07-15 17:02:43 +08:00
chat_pipeline.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
chat_pipeline_test.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
common.go refactor(chat): enhance follow-up handling for previous image/document context 2026-07-16 17:41:27 +08:00
common_image_requirement_test.go fix(chat): enforce retrieved image output in answers 2026-07-15 18:10:31 +08:00
data_analysis.go feat: correct data analysis errors using fileService. 2026-04-27 13:18:08 +08:00
extract_entity.go fix(graph): recover JSON from malformed/truncated fences in extract_entity 2026-05-07 15:40:19 +08:00
extract_entity_test.go fix(graph): recover JSON from malformed/truncated fences in extract_entity 2026-05-07 15:40:19 +08:00
filter_top_k.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
into_chat_message.go feat(backend): improve parent-child chunk merge and imageinfo matching 2026-06-16 01:09:07 +08:00
load_history.go fix: respect multi-turn-disabled flag in KnowledgeQA pipeline 2026-05-26 10:45:42 +08:00
memory.go fix(memory): dedupe episode write on duplicate streaming Done 2026-05-04 23:49:29 +08:00
merge.go feat(backend): improve parent-child chunk merge and imageinfo matching 2026-06-16 01:09:07 +08:00
merge_expand.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
merge_faq.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
merge_history.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
merge_overlap.go fix(knowledge): stitch chunks by text overlap, not by position 2026-05-30 17:53:47 +08:00
merge_parent_resolve_test.go feat(backend): improve parent-child chunk merge and imageinfo matching 2026-06-16 01:09:07 +08:00
plugin_test.go feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
progress.go fix(quick-qa): distinguish web and knowledge base retrieval in pipeline UI 2026-07-08 00:26:34 +08:00
progress_test.go fix(quick-qa): distinguish web and knowledge base retrieval in pipeline UI 2026-07-08 00:26:34 +08:00
query_expansion.go feat(chat): add @Skill/@MCP mentions with scoped agent runtime 2026-06-29 18:09:44 +08:00
query_understand.go feat(backend): add RAG pipeline progress events 2026-06-16 01:09:07 +08:00
query_understand_test.go Revert "fix: preserve agent system prompt for greetings" 2026-06-04 17:39:38 +08:00
rerank.go feat(observability): enhance Langfuse retrieve and rerank tracing 2026-06-16 01:09:23 +08:00
rerank_clean_test.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
search.go fix(search): apply tag filters to knowledge search 2026-07-06 23:30:33 +08:00
search_entity.go feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
search_parallel.go feat(web-search): refactor web search provider 2026-03-31 20:22:34 +08:00
web_fetch.go feat(web-search): refactor web search provider 2026-03-31 20:22:34 +08:00
wiki_boost.go feat: Enhance wiki API and repository with slug encoding and improved search functionality 2026-04-22 21:18:09 +08:00