topK

public abstract RagRetrievalConfig.Builder topK(Integer topK)

Setter for topK.

topK: Optional. The number of contexts to retrieve.