You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
Expected Behavior
Will there be plans to merge them into a single component in the future?
Current Behavior
example:
openAiChatModel.call(new Prompt(DEFAULT_PROMPT)).getResult().getOutput().getContent();
openAiChatClient.prompt(DEFAULT_PROMPT).call().content();
The final result returned by the two lines of code above is the same.
Context
I have some questions while learning SpringAi, and I would appreciate your insights. What are the main differences between the ChatClient and ChatModel components? Since ChatModel can be converted into ChatClient and they share the same functionality, could it be that they have redundant designs? What is the reasoning behind this design choice? Will there be plans to merge them into a single component in the future? Thank you in advance for your response.
I’ve searched online, but it seems I couldn’t find any related explanations.
The text was updated successfully, but these errors were encountered:
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
Expected Behavior
Will there be plans to merge them into a single component in the future?
Current Behavior
example:
openAiChatModel.call(new Prompt(DEFAULT_PROMPT)).getResult().getOutput().getContent();
openAiChatClient.prompt(DEFAULT_PROMPT).call().content();
The final result returned by the two lines of code above is the same.
Context
I have some questions while learning SpringAi, and I would appreciate your insights. What are the main differences between the ChatClient and ChatModel components? Since ChatModel can be converted into ChatClient and they share the same functionality, could it be that they have redundant designs? What is the reasoning behind this design choice? Will there be plans to merge them into a single component in the future? Thank you in advance for your response.
I’ve searched online, but it seems I couldn’t find any related explanations.
The text was updated successfully, but these errors were encountered: