Interface AgentSkillsPackageDescriptor.Builder

  • Method Details

    • source

      The source of the skill package. Specify an s3:// URL of a ZIP object, or a GitHub folder URL together with repositoryProvider set to GITHUB. For a GitHub folder, the registry builds the package from every file in the folder.

      Parameters:
      source - The source of the skill package. Specify an s3:// URL of a ZIP object, or a GitHub folder URL together with repositoryProvider set to GITHUB. For a GitHub folder, the registry builds the package from every file in the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source of the skill package. Specify an s3:// URL of a ZIP object, or a GitHub folder URL together with repositoryProvider set to GITHUB. For a GitHub folder, the registry builds the package from every file in the folder.

      This is a convenience method that creates an instance of the DescriptorSource.Builder avoiding the need to create one manually via DescriptorSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to source(DescriptorSource).

      Parameters:
      source - a consumer that will call methods on DescriptorSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: