L2 APIConnectionError: Connection error

when i downloaded the jupyter notebook and ran it in local got the connection error near the code
“customer_response = chat(customer_messages)”

ConnectError Traceback (most recent call last)
APIConnectionError: Connection error.

I think its issue with langchain not with openai api. How to solve the issue ?

L1-Model_prompt_parser.ipynb (211.7 KB)