环境:
1.用了翻墙软件 申请了gemini 和langgraph的api
2.去这里下载了对应的源码包https://github.com/google-gemini/gemini-fullstack-langgraph-quickstart
3.按照这个安装
Project Structure
The project is divided into two main directories:
frontend/: Contains the React application built with Vite.
backend/: Contains the LangGraph/FastAPI application, including the research agent logic.
Getting Started: Development and Local Testing
Follow these steps to get the application running locally for development and testing.
- Prerequisites:
Node.js and npm (or yarn/pnpm)
Python 3.11+
GEMINI_API_KEY: The backend agent requires a Google Gemini API key.
Navigate to the backend/ directory.
Create a file named .env by copying the backend/.env.example file.
Open the .env file and add your Gemini API key: GEMINI_API_KEY=“YOUR_ACTUAL_API_KEY”
2. Install Dependencies:
Backend:
cd backend
pip install .
Frontend:
cd f
Gemini与LangGraph快速搭建指南

最低0.47元/天 解锁文章
8960

被折叠的 条评论
为什么被折叠?



