Setup Instructions
1
Install langchain-openai
Mercury is OpenAI-compatible, so LangChain talks to it through the
langchain-openai package.2
Set your API key
Export your API key as an environment variable in your terminal.
3
Call Mercury 2