Changing String package from java.util.String to java.lang.String (#340)

Changing String package from `java.util.String` to `java.lang.String`
This commit is contained in:
SASIKUMAR SENTHILNATHAN
2024-02-21 01:25:41 +05:30
committed by GitHub
parent 4854b0066f
commit eecbef30fa

View File

@@ -130,7 +130,7 @@ The Spring AI project helps you with this task.
== Output Parsing
The output of AI models traditionally arrives as a `java.util.String`, even if you ask for the reply to be in JSON.
The output of AI models traditionally arrives as a `java.lang.String`, even if you ask for the reply to be in JSON.
It may be the correct JSON, but it is not a JSON data structure. It is just a string.
Also, asking "`for JSON`" as part of the prompt is not 100% accurate.