接口 ExtendedModel

所有已知实现类:
SimpleExtendedModel

public interface ExtendedModel
Interface for extended model that adds properties to tool parameters.
  • 方法详细资料

    • getAdditionalProperties

      Map<String,Object> getAdditionalProperties()
      Get the additional properties to merge into base schema.
    • getAdditionalRequired

      List<String> getAdditionalRequired()
      Get the additional required fields.
    • mergeWithBaseSchema

      default Map<String,Object> mergeWithBaseSchema(Map<String,Object> baseParameters)
      Merge this extended model with base schema from tool.
      参数:
      baseParameters - Base parameter schema from AgentTool
      返回:
      Merged schema
      抛出:
      IllegalStateException - if properties conflict