-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
35 lines (29 loc) · 1.34 KB
/
Copy pathmain.py
File metadata and controls
35 lines (29 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""
JarvisOfYourKnowledge - AI个人知识库
启动入口
"""
import uvicorn
from config import HOST, PORT
def main():
"""启动服务"""
print("""
╔═══════════════════════════════════════════════════════════╗
║ ║
║ 📚 JarvisOfYourKnowledge - AI个人知识库 📚 ║
║ ║
║ 功能: ║
║ • 文档上传与管理(PDF/DOCX/EPUB) ║
║ • AI 智能分类 ║
║ • 阅读进度追踪 ║
║ • RAG 语义搜索与问答 ║
║ ║
╚═══════════════════════════════════════════════════════════╝
""")
uvicorn.run(
"app.api:app",
host=HOST,
port=PORT,
reload=True
)
if __name__ == "__main__":
main()