搭建公司级的chatGPT(业务答疑)
一 搭建对话服务平台
参考工程:gradio-app/gradio: Create UIs for your machine learning model in Python in 3 minutes (github.com)
参考链接:https://www.zhihu.com/question/454990715 ui框架难度等级都在里面
从其中的指导中,可以链接到 gradio 完整的说明文档。
https://gradio.app/
1.1 明确写明作用与特点
特点:Build Machine Learning Web Apps — in Python
1.2 写清楚作用和适用群体
作用:interactive app
1.3 开始介绍
一般分三步比较容易普及
一般 pip install gradio 肯定不需要git clone 工程
1)可以 处理 图片 audio
2)可以生成各种button
3)可以引用各种任务 如chatbot
1.4 对话
代码 gr.Chatbot
链接:Creating A Chatbot (gradio.app)