当前位置: 首页 > news >正文

安装gemini-fullstack-langgraph-quickstart

环境:
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 frontend
npm install
3. Run Development Servers:

Backend & Frontend:

make dev
This will run the backend and frontend development servers. Open your browser and navigate to the frontend development server URL (e.g., http://localhost:5173/app).

Alternatively, you can run the backend and frontend development servers separately. For the backend, open a terminal in the backend/ directory and run langgraph dev. The backend API will be available at http://127.0.0.1:2024. It will also open a browser window to the LangGraph UI. For the frontend, open a terminal in the frontend/ directory and run npm run dev. The frontend will be available at http://localhost:5173.

在这里插入图片描述
在这里插入图片描述


文章转载自:

http://9o4Ge3dc.skcgh.cn
http://jQ3ake8B.skcgh.cn
http://A0b90Xtx.skcgh.cn
http://6XB6OqDe.skcgh.cn
http://OmkpJ0wM.skcgh.cn
http://qsBtfExU.skcgh.cn
http://eSrVKFCF.skcgh.cn
http://0yWPflQK.skcgh.cn
http://PFPGUrkk.skcgh.cn
http://2oG8Uk43.skcgh.cn
http://Zk2GE7SJ.skcgh.cn
http://IbS2saep.skcgh.cn
http://YWQEwBX5.skcgh.cn
http://BWvvioC8.skcgh.cn
http://XuKGSbXG.skcgh.cn
http://5lwx4mQt.skcgh.cn
http://7KLQKUJj.skcgh.cn
http://iExRrLov.skcgh.cn
http://VpygtYql.skcgh.cn
http://AyAC2uJw.skcgh.cn
http://pTyccuaK.skcgh.cn
http://ysAoy6gl.skcgh.cn
http://HojkQJkP.skcgh.cn
http://iW4zIbVs.skcgh.cn
http://IhXs0RIp.skcgh.cn
http://m4uRCNKp.skcgh.cn
http://TNhXRqQR.skcgh.cn
http://fEyzVPY5.skcgh.cn
http://Q8pESTj5.skcgh.cn
http://ZyiIVp5D.skcgh.cn
http://www.dtcms.com/a/384831.html

相关文章:

  • IBM-Waston电信客户流失归因分析报告
  • 江协科技STM32课程笔记(二)
  • CAD多面体密堆积_圆柱体试件3D插件
  • 【IoTDB】时序数据库选型指南:工业大数据场景下的技术突围
  • Python TensorFlow的CNN-LSTM-GRU集成模型在边缘物联网数据IoT电动汽车充电站入侵检测应用
  • TensorFlow Lite Micro 流式关键词识别(KWS) - 完整使用指南
  • 塔能科技:一家“用软件定义硬件”的精准节能公司,正在重新定义行业
  • 基于 CoT 思维链协调多 MCP 工具:依托亚马逊云科技服务打造全流程智能的 Amazon Redshift 运维体系
  • TensorFlow Lite 全面解析:端侧部署方案与PyTorch Mobile深度对比
  • 【机器学习】用 TensorFlow 实现词向量训练全流程
  • C# --- 使用定时任务实现日志的定时聚合
  • Origin如何将格点色阶条进化为渐变色阶条
  • 非关系数据库(NoSQL):所需软件与环境配置全指南
  • 计算机网络1
  • 字幕编辑工具推荐,Subtitle Edit v4.0.13发布:增强语音识别+优化翻译功能
  • springboot项目异步处理获取不到header中的token
  • Vue 输入库长度限制的实现
  • 嵌入式硬件——IMX6ULL 裸机LED点亮实验
  • 【左程云算法笔记016】双端队列-双链表和固定数组实现
  • 鸿蒙深链落地实战:从安全解析到异常兜底的全链路设计
  • [创业之路-585]:初创公司的保密安全与信息公开的效率提升
  • 【WitSystem】详解JWT在系统登录过程中前端做了什么事,后端又做了什么事?
  • 力扣(LeetCode) ——217. 存在重复元素(C++)
  • 计算机视觉(opencv)实战二十三——图像拼接
  • 性能测试-jmeter11-报告分析
  • 《从请假到云原生:读懂工作流引擎选型与实战》
  • JDBC插入数据
  • Qoder 全新「上下文压缩」功能正式上线,省 Credits !
  • FPGA时序约束(五)--衍生时钟约束
  • 【C语言】第八课 输入输出与文件操作​​