Interface EpisodicOverrideReflectionConfigurationInput.Builder

  • Method Details

    • appendToPrompt

      The text to append to the prompt for reflection step of the episodic memory strategy.

      Parameters:
      appendToPrompt - The text to append to the prompt for reflection step of the episodic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelId

      The model ID to use for the reflection step of the episodic memory strategy.

      Parameters:
      modelId - The model ID to use for the reflection step of the episodic memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.

      Parameters:
      namespaces - The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.

      Parameters:
      namespaces - The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.

      Parameters:
      namespaceTemplates - The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      EpisodicOverrideReflectionConfigurationInput.Builder namespaceTemplates(String... namespaceTemplates)

      The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.

      Parameters:
      namespaceTemplates - The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      Schema for metadata fields on records generated by this reflection override.

      Parameters:
      memoryRecordSchema - Schema for metadata fields on records generated by this reflection override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      Schema for metadata fields on records generated by this reflection override.

      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: