Uses of Record Class
dev.langchain4j.internal.JsonParsingUtils.ParsedJson
Packages that use JsonParsingUtils.ParsedJson
-
Uses of JsonParsingUtils.ParsedJson in dev.langchain4j.guardrail
Methods in dev.langchain4j.guardrail that return types with arguments of type JsonParsingUtils.ParsedJsonModifier and TypeMethodDescriptionprotected Optional
<JsonParsingUtils.ParsedJson<T>> JsonExtractorOutputGuardrail.deserialize
(String llmResponse) Tries to deserialize the provided LLM response string into an object of type T using the configuredObjectMapper
. -
Uses of JsonParsingUtils.ParsedJson in dev.langchain4j.internal
Methods in dev.langchain4j.internal that return types with arguments of type JsonParsingUtils.ParsedJsonModifier and TypeMethodDescriptionstatic <T> Optional
<JsonParsingUtils.ParsedJson<T>> JsonParsingUtils.extractAndParseJson
(String text, JsonParsingUtils.ThrowingFunction<String, T> parser) static <T> Optional
<JsonParsingUtils.ParsedJson<T>> JsonParsingUtils.extractAndParseJson
(String text, Class<T> type)