Skip to content

fastapi langchain javascript, streaming response 手写效果流式响应

License

Notifications You must be signed in to change notification settings

goophps/fastapi-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-streaming

fastapi langchain javascript, streaming response 手写效果流式响应

安装 python

1 自行安装 python 环境,建议使用 docker

# 示例
sudo docker run -it --name python3.11 -p 8008:8008 -v /opt/wwwroot/www:/www -d python:3.11

安装 本项目

# 安装好 python 环境后,进入项目根目录执行
pip install -r requirements.txt

运行(后端)

# 后端
python main.py 

前端

直接双击这个文件即可运行:frontend/index.html

后记

代码全部来自成熟商业项目,希望大家捧场:chatus.co
All codes are extracted from mature commercial projects: chatus.co, everyone is welcome to visit

About

fastapi langchain javascript, streaming response 手写效果流式响应

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published