Uses of Record Class
dev.dokimos.core.agents.ToolDefinition
Packages that use ToolDefinition
Package
Description
-
Uses of ToolDefinition in dev.dokimos.core.agents
Methods in dev.dokimos.core.agents that return ToolDefinitionModifier and TypeMethodDescriptionToolDefinition.Builder.build()Builds the tool definition.static ToolDefinitionCreates a tool definition from a map, typically when deserializing from a JSON dataset.static ToolDefinitionCreates a tool definition with a name, description, and input schema.Method parameters in dev.dokimos.core.agents with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionAgentTrace.toTestCase(String input, List<ToolDefinition> tools) Builds anEvalTestCasefrom this trace, also wiring the available tool definitions into metadata.AgentTrace.toTestCase(String input, List<ToolDefinition> tools, List<String> tasks) Builds anEvalTestCasefrom this trace with everything the agent evaluators need in one call. -
Uses of ToolDefinition in dev.dokimos.core.conversation
Method parameters in dev.dokimos.core.conversation with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionConversationTrajectory.toTestCase(List<ToolDefinition> tools) Builds a test case for the deterministic tool-call and tool-definition evaluators, adding the tools the agent could call.ConversationTrajectory.toTestCase(List<ToolDefinition> tools, List<String> tasks) Builds a test case for the judge-based evaluators (TaskCompletionEvaluator,ToolArgumentHallucinationEvaluator). -
Uses of ToolDefinition in dev.dokimos.core.evaluators.agents
Method parameters in dev.dokimos.core.evaluators.agents with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionAgentEvalCase.Builder.tools(List<ToolDefinition> tools) Sets the tools available to the agent (the"tools"key in metadata). -
Uses of ToolDefinition in dev.dokimos.embabel
Methods in dev.dokimos.embabel that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionstatic List<ToolDefinition> EmbabelSupport.toToolDefinitions(EmbabelTraceCollector collector) SynthesizesToolDefinitions from the tool names observed during a run. -
Uses of ToolDefinition in dev.dokimos.langchain4j
Methods in dev.dokimos.langchain4j that return ToolDefinitionModifier and TypeMethodDescriptionstatic ToolDefinitionLangChain4jSupport.toToolDefinition(dev.langchain4j.agent.tool.ToolSpecification specification) Converts a singleToolSpecificationto aToolDefinition.Methods in dev.dokimos.langchain4j that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionstatic List<ToolDefinition> LangChain4jSupport.toToolDefinitions(List<dev.langchain4j.agent.tool.ToolSpecification> specifications) Converts LangChain4jToolSpecifications toToolDefinitions so tool calls can be evaluated against the tools the agent was given. -
Uses of ToolDefinition in dev.dokimos.openai
Methods in dev.dokimos.openai that return ToolDefinitionModifier and TypeMethodDescriptionstatic ToolDefinitionOpenAiSupport.toToolDefinition(com.openai.models.chat.completions.ChatCompletionTool tool) Converts a single OpenAI functionChatCompletionToolto aToolDefinition.Methods in dev.dokimos.openai that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionstatic List<ToolDefinition> OpenAiSupport.toToolDefinitions(List<com.openai.models.chat.completions.ChatCompletionTool> tools) Converts OpenAIChatCompletionTools toToolDefinitions so tool calls can be evaluated against the tools the agent was given. -
Uses of ToolDefinition in dev.dokimos.springai
Methods in dev.dokimos.springai that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionstatic List<ToolDefinition> SpringAiSupport.toToolDefinitions(List<org.springframework.ai.tool.definition.ToolDefinition> toolDefinitions) Converts Spring AIToolDefinitions to DokimosToolDefinitions so tool calls can be evaluated against the tools the agent was given. -
Uses of ToolDefinition in dev.dokimos.springai.alibaba
Methods in dev.dokimos.springai.alibaba that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionstatic List<ToolDefinition> SpringAiAlibabaSupport.toToolDefinitions(List<org.springframework.ai.tool.ToolCallback> callbacks) Converts theToolCallbacks an agent was built with into DokimosToolDefinitions, so tool calls can be evaluated against the tools the agent had available.