WeKnora/internal/application/service/chat_pipeline
wizardchen 6fb858105a feat(llm): add prompt-cache observability and wiki cache-friendly prompts
Normalize provider-specific cache counters into TokenUsage, propagate call
purpose and prefix fingerprints through context for logging and Langfuse,
and restructure wiki page-modify prompts with warmup/singleflight to improve
prefix cache hit rates during reduce batches.
2026-07-23 19:17:30 +08:00
..
chat_completion.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
chat_completion_stream.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +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 feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +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(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
extract_entity.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +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 fix: stabilize top-k retrieval ordering 2026-07-17 18:42:45 +08:00
filter_top_k_test.go fix: stabilize top-k retrieval ordering 2026-07-17 18:42:45 +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
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 feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
progress_test.go fix(chat): persist attachment content and fix fallback multi-turn context 2026-07-16 17:41:27 +08:00
query_expansion.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
query_understand.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
query_understand_test.go Revert "fix: preserve agent system prompt for greetings" 2026-06-04 17:39:38 +08:00
references.go feat(agent): add per-agent citation output toggle 2026-07-17 10:19:43 +08:00
references_test.go feat(agent): add per-agent citation output toggle 2026-07-17 10:19:43 +08:00
rerank.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
rerank_clean_test.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
rerank_scope_test.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
search.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +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