None of the RAG Tool works with AzureOpenAI models or custom models. Please improve the documentation with more examples

I tried PDFSearchTool, DirectorySearchTool etc. None of them works and almost always give key or other errors. Specially when we are using anything other than OpenAI provider. Even with AzureOpenAI, it always gives error. The problem specially in configuring embedder. It is very frustrating.