topK

public final Tool.FileSearch.Builder topK(Integer topK)

The number of semantic retrieval chunks to retrieve.


public final Tool.FileSearch.Builder topK(JsonField<Integer> topK)

Sets Builder.topK to an arbitrary JSON value.

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