The simplest way is to directly set environment variables as shown below
Download Address: https://www.langchain.com/Python
The core is actually in setting the key and URL
Methods include:
- Setting using environment variables
- Passing in variables
- Manually setting environment variables
Python