Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public abstract class StructuredMemorySchemaConfig extends JsonSerializable {
@JsonProperty("memoryType")
public abstract Optional<MemoryType> memoryType();

/** Required. Represents the OpenAPI schema of the structured memories. */
@JsonProperty("memoryJsonSchema")
public abstract Optional<Object> memoryJsonSchema();

/** Instantiates a builder for StructuredMemorySchemaConfig. */
@ExcludeFromGeneratedCoverageReport
public static Builder builder() {
Expand Down Expand Up @@ -147,6 +151,24 @@ public Builder memoryType(String memoryType) {
return memoryType(new MemoryType(memoryType));
}

/**
* Setter for memoryJsonSchema.
*
* <p>memoryJsonSchema: Required. Represents the OpenAPI schema of the structured memories.
*/
@JsonProperty("memoryJsonSchema")
public abstract Builder memoryJsonSchema(Object memoryJsonSchema);

@ExcludeFromGeneratedCoverageReport
abstract Builder memoryJsonSchema(Optional<Object> memoryJsonSchema);

/** Clears the value of memoryJsonSchema field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearMemoryJsonSchema() {
return memoryJsonSchema(Optional.empty());
}

public abstract StructuredMemorySchemaConfig build();
}

Expand Down
Loading