Integrating Azure Cognitive Search With Azure OpenAI and Langchain

Shweta Lodha
3 min readMay 25, 2023

In this article, I’ll guide you through all the steps which are required to utilize Azure search(non-semantic) with OpenAI and Langchain.

Before getting started, here are the few prerequisites which need to be satisfied.


  • An Azure account with an active subscription. If you do not have one, you can Create an account for free.
  • An instance of Azure Cognitive Search service (any tier, any region). You can either create a…