This PR is the first prototype based on discussion #629.
The purpose is to make it possible to use ChatMessage instead of raw Hash for chat messages, and to generalize it so that it can be used regardless of LLM.
First of all, this PR will aim to handle the basic roles such as system, user, and assistant.
Description
This PR is the first prototype based on discussion #629.
The purpose is to make it possible to use ChatMessage instead of raw Hash for chat messages, and to generalize it so that it can be used regardless of LLM. First of all, this PR will aim to handle the basic roles such as system, user, and assistant.