This PR adds the returning of ChatResponseMetadata from calls to
BedrockAnthropic3ChatModel.call(Prompt prompt)
Includes id, model, inputTokens and outputTokens usage data.
additionally this method was refactored to remove the use of deprecated methods.
Fixes https://github.com/spring-projects/spring-ai/issues/1025 Partially fixes https://github.com/spring-projects/spring-ai/issues/1519
Comment From: markpollack
I took the opportunity to introduce DefaultUsage so that we have a simple jackson friendly class not connected to the model provider's api.
Comment From: markpollack
merged in c9f50da12a50bd3ccba176ffdbefce429d744b7c
thanks!