Consolidate Ai::Conversation::Message and Gitlab::Llm::AiMessage.
Proposal
This issue is to achieve the following tasks for Switch to PostgreSQL from Redis in ChatStorage (&15713 - closed).
- Consolidate
Ai::Conversation::MessageandGitlab::Llm::AiMessage. - If it is not too much effort, we should try to remove
ChatStorageand its sub classes, and access the ActiveRecords directly or via service objects.
PoC
See PoC MR PoC: Duo Chat Storage with PostgreSQL (Not For ... (!170230 - closed).
Edited by Mark Chao