安装gemini-fullstack-langgraph-quickstart

Gemini与LangGraph快速搭建指南

环境:
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.

  1. 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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小赖同学啊

感谢上帝的投喂

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值