Uses of Interface
dev.langchain4j.model.batch.BatchItemResult
Packages that use BatchItemResult
-
Uses of BatchItemResult in dev.langchain4j.model.batch
Classes in dev.langchain4j.model.batch that implement BatchItemResultModifier and TypeClassDescriptionstatic final recordThe failed outcome of a single batch request.static final recordThe successful outcome of a single batch request.Methods in dev.langchain4j.model.batch that return BatchItemResultModifier and TypeMethodDescriptionstatic <T> BatchItemResult<T> BatchItemResult.failure(BatchError error) Creates a failedBatchItemResult.static <T> BatchItemResult<T> BatchItemResult.success(T response) Creates a successfulBatchItemResult.Methods in dev.langchain4j.model.batch that return types with arguments of type BatchItemResultModifier and TypeMethodDescriptionBatchResponse.results()Returns the per-request results in submission order, or an empty list if the batch has not produced any results yet (e.g., it is still in progress).Method parameters in dev.langchain4j.model.batch with type arguments of type BatchItemResultModifier and TypeMethodDescriptionBatchResponse.Builder.results(List<BatchItemResult<T>> results) Sets the per-request results of the batch operation, in submission order.