Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

AierLab/FM-APIs

Repository files navigation

FM-APIs

Init

# 安装依赖
poetry install 

# DB 迁移
poetry run python manage.py makemigrations api 
poetry run python manage.py makemigrations django_celery_results
poetry run python manage.py migrate

# 创建第一个用户
poetry run python manage.py createsuperuser

#  收集静态文件
poetry run python manage.py collectstatic

Run

酷狗音乐会占用本地 8000 端口, 测试时关掉

poetry run python manage.py runserver

Todo1:

  • 登录获取 token
  • 创建用户
  • 创建会话
  • 加入会话
  • 发送消息
  • 获取聊天记录 (debuging)
  • 查看未读消息
  • CI/CD

Todo2:

因为理解错需求,现在需要重新实现一次

  • 上传文件
  • 文件入库
  • 自己文件的可见性。 所谓提及,就是增加了对方查询时的文件可见性

About

Calling many llm apis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published