Uses of Interface
dev.dokimos.core.Task
Packages that use Task
-
Uses of Task in dev.dokimos.core
Methods in dev.dokimos.core that return TaskModifier and TypeMethodDescriptionstatic <T> TaskCreates aTaskthat produces a single typed value and stores it under the conventional"output"key, so callers can return a record, list, or other POJO from their task body instead of hand-building the output map.Methods in dev.dokimos.core with parameters of type TaskModifier and TypeMethodDescriptionSets the task. -
Uses of Task in dev.dokimos.langchain4j
Methods in dev.dokimos.langchain4j that return TaskModifier and TypeMethodDescriptionstatic TaskLangChain4jSupport.customTask(Task taskFunction) Creates a flexibleTaskthat allows full control over output mapping.static TaskCreates a RAG evaluationTaskfrom a function that returnsResult.static TaskLangChain4jSupport.ragTask(Function<String, dev.langchain4j.service.Result<String>> assistantCall, String inputKey, String outputKey, String contextKey) Creates a RAG evaluationTaskwith custom key names.static TaskLangChain4jSupport.simpleTask(dev.langchain4j.model.chat.ChatModel model) Creates a simpleTaskfor Q&A evaluation.static TaskLangChain4jSupport.simpleTask(dev.langchain4j.model.chat.ChatModel model, String outputKey) Creates a simpleTaskfor Q&A evaluation that writes the response under a caller-chosen key.Methods in dev.dokimos.langchain4j with parameters of type TaskModifier and TypeMethodDescriptionstatic TaskLangChain4jSupport.customTask(Task taskFunction) Creates a flexibleTaskthat allows full control over output mapping.