Basic dependency
- python 3.1.12 +
- langchain 0.1.12 +
- SERPAPI_API_KEY
- OPEN_AI_API_KEY
SERPAPI_API_KEY get from https://serpapi.com/
Install the following dependencies:
1 | pip install langchain |
Get start
1 | # set the api key |
Now AI can first use Google search and then answer your questions.
- 本文作者: reiner
- 本文链接: https://reiner.host/posts/undefined.html
- 版权声明: 转载请注明出处,并附上原文链接