Troubleshooting Arize Tutorial API Key Errors in LangChain Integration
Hello all. I'm trying to use Arize_Tutorial_LangChain_Integration.ipynb and getting an error that I'm using an invalid API key: AuthenticationError: Incorrect API key provided: "sk-xVBm*****************************************iIe". You can find your API key at https://platform.openai.com/account/api-keys. My key is valid and used successfully in other apps. I notice the code in this workbook may be a bit old (pip is configured to install an older version of openai (!pip3 install -q "openai<1.0.0", and langchain is throwing warnings: /usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The class `langchain_community.llms.openai.OpenAI` was deprecated in langchain-community 0.0.10 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import OpenAI. Maybe these are red herrings, but I'd welcome any guidance!
