类的用途(Uses of the Class)
com.google.adk.agents.ReadonlyContext
Packages that use ReadonlyContext
Package
Description
-
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.agents
Subclasses of ReadonlyContext in com.google.adk.agentsModifier and TypeClassDescriptionclass代理调用过程中各种回调函数的上下文信息。class在调用过程中,相关上下文信息会被传递给回调函数、工具以及工作流节点。Methods in com.google.adk.agents that return types with arguments of type ReadonlyContextModifier and TypeMethodDescriptionFunction<ReadonlyContext, io.reactivex.rxjava3.core.Single<String>> Instruction.Provider.getInstruction()返回该值的值。getInstruction“record component”(记录组件)。Methods in com.google.adk.agents with parameters of type ReadonlyContextModifier and TypeMethodDescriptionLlmAgent.canonicalGlobalInstruction(ReadonlyContext context) 根据……为该代理构建全局文本指令。LlmAgent.globalInstruction`field`。LlmAgent.canonicalInstruction(ReadonlyContext context) 根据……为该代理构建文本指令。LlmAgent.instruction`field`。io.reactivex.rxjava3.core.Flowable<BaseTool> LlmAgent.canonicalTools(@Nullable ReadonlyContext context) 根据……构建该代理所需的工具列表。LlmAgent.tools()`field`。Constructor parameters in com.google.adk.agents with type arguments of type ReadonlyContextModifierConstructorDescriptionProvider(Function<ReadonlyContext, io.reactivex.rxjava3.core.Single<String>> getInstruction) 创建一个……的实例。Provider记录类(Record Class)。 -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.models.springai
Methods in com.google.adk.models.springai with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> SpringAiToolset.getTools(@Nullable ReadonlyContext readonlyContext) -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.tools
Subclasses of ReadonlyContext in com.google.adk.toolsMethods in com.google.adk.tools with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> BaseToolset.getTools(ReadonlyContext readonlyContext) 根据所提供的上下文,返回工具集中的所有工具。default booleanBaseToolset.isToolSelected(BaseTool tool, @Nullable Object toolFilter, @Nullable ReadonlyContext readonlyContext) 根据某个过滤器来判断是否应该选择某个工具。default booleanToolPredicate.test(BaseTool tool, @Nullable ReadonlyContext readonlyContext) 用于决定是否选中指定的工具。Method parameters in com.google.adk.tools with type arguments of type ReadonlyContextModifier and TypeMethodDescriptionbooleanNamedToolPredicate.test(BaseTool tool, Optional<ReadonlyContext> readonlyContext) booleanToolPredicate.test(BaseTool tool, Optional<ReadonlyContext> readonlyContext) 已弃用(Deprecated)。 -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.tools.applicationintegrationtoolset
Methods in com.google.adk.tools.applicationintegrationtoolset with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> ApplicationIntegrationToolset.getTools(@Nullable ReadonlyContext readonlyContext) -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.tools.computeruse
Methods in com.google.adk.tools.computeruse with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> ComputerUseToolset.getTools(ReadonlyContext readonlyContext) -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.tools.mcp
Methods in com.google.adk.tools.mcp with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> McpAsyncToolset.getTools(ReadonlyContext readonlyContext) io.reactivex.rxjava3.core.Flowable<BaseTool> McpToolset.getTools(ReadonlyContext readonlyContext) -
**用途:** ReadonlyContext 在……里面;处于……状态 com.google.adk.tools.skills
Methods in com.google.adk.tools.skills with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> SkillToolset.getTools(ReadonlyContext readonlyContext)
ToolPredicate.test(BaseTool, ReadonlyContext)相反。