Skip to content

NCHU-NLP-Lab/PTTSocialEngine_for_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PTTSocialEngine


啟動程式

  1. 將 .env.example 複製一份,並改名成 .env,將以下內容填入
MONGODB_URL=YOUR_MONGO_URL
OPENAI_API_KEY=YOUR_API_KEY
COMMENT_FETCHER_MODEL=gpt-4o-mini
SUMMARY_MODEL=gpt-4o-mini
  1. 跑以下指令
pip install -r requirements.txt
  1. 使用 uvicorn 啟動 fastAPI (Hot reload)
cd backend
uvicorn main:app --reload

Swagger Doc:localhost:8000/docs

About

純粹分享,要開發請至另外一個 Repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published