Package dev.langchain4j.internal
package dev.langchain4j.internal
-
ClassDescriptionUtility class to guess the mime-type of a file from its path or URI.Utility methods for creating common exceptions.Annotation to mark methods where JaCoCo coverage should be ignored.JSON helper class.The abstract JSON codec interface.Converts between
JsonSchemaElementand JSON SchemaMaprepresentation with round-trip fidelity.DelegatingStreamingChatResponseHandlerthat records whether the underlying handler received any typed, user-facing callback (partial response/thinking/tool call, complete tool call, complete response or error) while processing a single provider streaming event - i.e. whether the event was mapped to a typed callback.Detection and naming for polymorphic base types — sealed interfaces / classes (no annotations needed) and types annotated with Jackson'sJsonSubTypes.Utility class for retrying actions.This class encapsulates a retry policy.This class encapsulates a retry policy builder.Internal helper that helps to build partial and complete tool calls during streaming.Handles JSON serialization and deserialization ofToolSpecification.Utility class for URI operations.Utility methods.Utility class for validating method arguments.Utility class for working with virtual threads introduced in Java 21.