Class StringToToolChoiceConverter

java.lang.Object
org.springframework.ai.model.anthropic.autoconfigure.StringToToolChoiceConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,AnthropicApi.ToolChoice>

@Component @ConfigurationPropertiesBinding public class StringToToolChoiceConverter extends Object implements org.springframework.core.convert.converter.Converter<String,AnthropicApi.ToolChoice>
Converter to deserialize JSON string into AnthropicApi.ToolChoice. This converter is used by Spring Boot's configuration properties binding to convert string values from application properties into ToolChoice objects.
Since:
1.0.0
Author:
Christian Tzolov