metadataFilter

public final Tool.FileSearch.Builder metadataFilter(String metadataFilter)

Metadata filter to apply to the semantic retrieval documents and chunks.


public final Tool.FileSearch.Builder metadataFilter(JsonField<String> metadataFilter)

Sets Builder.metadataFilter to an arbitrary JSON value.

You should usually call Builder.metadataFilter with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.