Interface KnowledgeBaseAssociationConfigurationData.Builder

  • Method Details

    • contentTagFilter

      Sets the value of the ContentTagFilter property for this object.
      Parameters:
      contentTagFilter - The new value for the ContentTagFilter property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentTagFilter

      Sets the value of the ContentTagFilter property for this object. This is a convenience method that creates an instance of the TagFilter.Builder avoiding the need to create one manually via TagFilter.builder().

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

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

      The maximum number of results to return per page.

      Parameters:
      maxResults - The maximum number of results to return per page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideKnowledgeBaseSearchType

      KnowledgeBaseAssociationConfigurationData.Builder overrideKnowledgeBaseSearchType(String overrideKnowledgeBaseSearchType)

      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

      Parameters:
      overrideKnowledgeBaseSearchType - The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideKnowledgeBaseSearchType

      KnowledgeBaseAssociationConfigurationData.Builder overrideKnowledgeBaseSearchType(KnowledgeBaseSearchType overrideKnowledgeBaseSearchType)

      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

      Parameters:
      overrideKnowledgeBaseSearchType - The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: