chatlog
chatlog copied to clipboard
Feature/frontend
Feature List
- Contact Page
- Chat Room Page
- Sessions Page
Road map
- query chat log
- embedding dist files in the backend
感谢贡献前端代码! 项目的 dashboard 能力之前还没仔细考虑过,直接引入 react/ts 项目担心增加项目构建复杂性(需要安装 node)
embedding 的方案在之前有简单实现,目录是: https://github.com/sjzar/chatlog/tree/main/internal/chatlog/http/static
通过 embed.FS 引入: https://github.com/sjzar/chatlog/blob/f2aa923/internal/chatlog/http/route.go#L23
目前我倾向的是独立维护前端项目(分 repo 或 branch),并将前端构建产物提交到 embedding 相关目录(还没仔细考虑,容我想想
目前我也只是做了基本的查询功能。另外,基于大模型的问答功能也准备做一下。如果觉得发布麻烦,可以再起一个仓库也行。
前端可以独立一个-ui仓库,编译好嵌入二进制中.