使用说明
描述
🛒 这是一个使用谷歌代理开发工具包(ADK)构建的个人购物助理。该助手帮助用户研究最佳购买项目,提供建议,然后将产品列表存储在用户的Notion工作区中。
演示
与您的助手聊天:
存储在您的理念中:
设置
- 克隆存储库。
git clone https://github.com/lia-weng/google-adk-notion-mcp.git - 创建并激活虚拟环境。
python -m venv .venv .venv\Scripts\activate - 安装依赖项。
pip install -r requirements.txt - 创建一个
.env文件在./notion-agent具有以下变量。GOOGLE_GENAI_USE_VERTEXAI=0 GOOGLE_API_KEY= # your Google API Key, create one from: https://aistudio.google.com/api-keys NOTION_API_KEY= # your Notion API Key, create one from: https://www.notion.so/profile/integrations - 在根文件夹中运行应用程序,然后转到
http://127.0.0.1:8000/开始与您的个人购物助理聊天!adk web - (可选)In
./notion_agent/agent.py更新USER_INFO用你自己的信息。USER_INFO = { "name": "Lia", "gender": "female", "age": 25, }
