Chabot: Server-side chatbot state management
维护者通常 1 天内回复
@Ayush8923 已经在做这个了。
开始于 2026年10月20日。
评估
这个 Issue 还没有评估数据。
描述
Is your feature request related to a problem?
The current /chatbot/message endpoint is stateless and requires sending the full conversation history every turn. This is impractical for clients like Glific that struggle with state management.
Describe the solution you'd like
Implement a session-based API where the server manages history:
POST /chatbot/sessionsto create a session (send system prompt + config once) and receive asession_idPOST /chatbot/sessions/{session_id}/messageto send a new message; the server manages history and replies asynchronously towebhook_url
Original issue
Problem
Now the /chatbot/message endpoint is stateless, the full conversation history is sent to the caller every turn. This is impractical for clients like Glific that cannot manage state.
Solution
Make a session-based API where the server stores history:
POST /chatbot/sessions— create a session (send system prompt + config once), you'll get asession_idPOST /chatbot/sessions/{session_id}/message, just send the new message; server tracks history on its own; reply will be delivered async towebhook_url
Acceptance Criteria
- Session create karne pe
session_idreturn ho - Messages DB mein persist hon
- Bot reply webhook pe POST ho (success aur failure dono cases)
- Agar session beech mein ruk jaaye, same
session_idse resume ho sake
- 主要语言
- Python
- 星标
- 18
- 派生
- 11
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 33
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ProjectTech4DevAI/kaapi-backend 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
维护者通常 1 天内回复
-
Storage Management: Delete S3 audio files可能已有人在做 @Prajna1999 于 1 天前认领。 未关闭
ProjectTech4DevAI/kaapi-backend#1308 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Sentry: Add module and version tags可能已有人在做 @vprashrex 于 2 天前认领。 未关闭
ProjectTech4DevAI/kaapi-backend#1305 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Observability: Cron enhancements可能已有人在做 @vprashrex 于 4 天前认领。 未关闭
ProjectTech4DevAI/kaapi-backend#1304 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Otel: Standardize key constants可能已有人在做 @vprashrex 于 6 天前认领。 未关闭
ProjectTech4DevAI/kaapi-backend#1294 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 ProjectTech4DevAI/kaapi-backend 的全部 Issue
相似的 Issue
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changes可能已有人在做 @github-actions 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
external integration integration-submission
难度 2/5 1-3 小时 新手友好度 68/100
langchain-ai/docs#7077 ·
维护者通常 1 天内回复
-
author-page correction
难度 2/5 1-3 小时 新手友好度 68/100
acl-org/acl-anthology#10623 · 1 条评论 ·
维护者通常 1 天内回复
-
Use context to recognize personal initials and lowercase names可能已有人在做 @lipikaramaswamy 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 67/100
NVIDIA-NeMo/Anonymizer#340 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
btclib-org/btclib-node#2083 ·
维护者通常 1 天内回复