HyDE

constructor(context: String, wordCount: Int = 50)

Parameters

context

the context to use for generating the synthetic document:

wordCount

the number of words to generate for the synthetic document (default is 50) what the answer should relate to. For example: "The history of the Roman Empire."