Technical requirements
First, register at https://smith.langchain.com/ and create an API key. You can use a free version for the purposes of this chapter.
To follow the examples of this chapter, in addition to specific requirements for each service mentioned, you will need an active Google Cloud project and a Python environment with the following libraries installed:
pip install langchain-google-vertexai langsmith export LANGCHAIN_TRACING_V2=true export LANGCHAIN_API_KEY=<your-api-key>
You can find all the code in this chapter on the GitHub repository:
https://github.com/PacktPublishing/Generative-AI-on-Google-Cloud-with-LangChain