The community member who posted the original post was able to get the langchain version working, but not the gpt_index version. Another community member responded, stating that either version should work, and that if the langchain version is working, the community member should use that one, as the chatgpt version was mostly a light wrapper.