Dify knowledge base Q&A in practice: document import, retrieval config, and optimization
End-to-end Dify knowledge base practice—from document cleaning, chunking strategy, embedding selection, hybrid retrieval, and reranking to prompt constraints—with evaluation methods and common troubleshooting.