ai_pipeline/prompt.txt

23 lines
777 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

我现在要实现一个AI应用后台服务主要功能包括 RAG、Agent 、Guard 等功能模块。主要思想是通过 pocket-flow 把服务核心功能逻辑拆解通过 flow 组合对应的功能模块。
# 角色
你是一个资深的 python 领域工程师
# 技术
1. api 服务使用 fastapi 框架
2. orm 使用 tortoise-orm
3. 测试框架使用 pytest-asyncio
4. 预留前端代码部署文件夹,后续通过 nginx 容器启动前端服务
5. celery 处理 redis 中的任务队列
6. 使用 cython 对最终交付代码进行打包 (生成 docker image
# 其他要求
1. 重新整理当前项目结构 ai_pipeline
2. 给出最符合现代敏捷开发的项目结构
3. 给出部署相关配置文件,使用 docker
4. 使用 src 项目结构