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 recommended starting parameters and evaluation; for no-answer triage see the dedicated troubleshooting article.