How to configure Dify workflow to integrate OpenMetadata, enabling LLMs to provide accurate answers based on OpenMetadata metadata

I built an NL2SQL system, where all metadata is configured in a local knowledge base. Now I want to replace the knowledge base with a metadata management tool like OpenMetadata. How should I implement this?