OpenAI LangChain Integration with Custom Code