The use of Language Models (LLMs) has significantly improved the field of information extraction from unstructured data like text. OpenAI functions are a great fit for extracting structured information from natural language, as they output predefined JSON objects with populated values. In this blog post, we used OpenAI functions in combination with LangChain to construct a knowledge graph from a sample Wikipedia page. We also discussed best practices and limitations of current LLMs.