spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Add AssistantPromptTemplate override method createMessage()

Open FormatToday opened this issue 1 year ago • 0 comments

I found that when using the project, the MessageType is still USER instead of the expected ASSISTANT when using AssistantPromptTemplate.

I'm not sure if this issue is an oversight, a bug, or intentional. Therefore, I submitted this PR. If it's not an oversight or bug, please close the PR.

FormatToday avatar Jan 10 '24 03:01 FormatToday