Unable to find langchain's RetrievalQAWithSourcesChain documentation

I am working on creating and querying a knowledge graph built using Neo4j. Using OpenAI embedding model for text chunks.
To have a chat model interface I found RetrievalQAWithSourcesChain from langchain but am unable to get its documentation and reference docs.

Basically, i want to integrate a chat functionality (no frontend just using terminal), I know langchain has its ChatOpenAI api extension but am unable to find the documentation.