Interface SemanticMemoryStrategyInput.Builder

  • Method Details

    • name

      The name of the semantic memory strategy.

      Parameters:
      name - The name of the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SemanticMemoryStrategyInput.Builder description(String description)

      The description of the semantic memory strategy.

      Parameters:
      description - The description of the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces associated with the semantic memory strategy.

      Parameters:
      namespaces - The namespaces associated with the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces associated with the semantic memory strategy.

      Parameters:
      namespaces - The namespaces associated with the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      SemanticMemoryStrategyInput.Builder namespaceTemplates(Collection<String> namespaceTemplates)

      The namespaceTemplates associated with the semantic memory strategy.

      Parameters:
      namespaceTemplates - The namespaceTemplates associated with the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      SemanticMemoryStrategyInput.Builder namespaceTemplates(String... namespaceTemplates)

      The namespaceTemplates associated with the semantic memory strategy.

      Parameters:
      namespaceTemplates - The namespaceTemplates associated with the semantic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      SemanticMemoryStrategyInput.Builder memoryRecordSchema(MemoryRecordSchema memoryRecordSchema)
      Sets the value of the MemoryRecordSchema property for this object.
      Parameters:
      memoryRecordSchema - The new value for the MemoryRecordSchema property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      default SemanticMemoryStrategyInput.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema)
      Sets the value of the MemoryRecordSchema property for this object. This is a convenience method that creates an instance of the MemoryRecordSchema.Builder avoiding the need to create one manually via MemoryRecordSchema.builder().

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

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