kotaemon
kotaemon copied to clipboard
feat: tweak the 'Chat suggestion' feature to tie it to conversations
Description
- The original 'Chat Suggestion' module only support setting initial values in a configuration file. LLM chat suggestion generation has been added to the new feat module.
- The content of the 'Chat Suggestion' module is bound to the session and stored in the database
Type of change
- [x] New features (non-breaking change).
- [ ] Bug fix (non-breaking change).
- [ ] Breaking change (fix or feature that would cause existing functionality not to work as expected).
Checklist
- [x] I have performed a self-review of my code.
- [ ] I have performed tests.
- [x] There is a reference to the original bug report and related work.
- [x] I have commented on my code, particularly in hard-to-understand areas.
- [x] The feature is well documented.
@KKenny0 can you help to check the CI output?
@KKenny0 can you help to check the CI output?
I've looked into the CI failures and have made the necessary fixes. The updated changes should resolve the issues except for the duckduckgo rate limit exception during 'unit-test'.