Creates a new instance of LengthBasedExampleSelector and adds a list of examples to it.
fromExamples(
examples: Example[],
args: LengthBasedExampleSelectorInput
): Promise<LengthBasedExampleSelector>| Name | Type | Description |
|---|---|---|
examples* | Example[] | Array of examples to be added. |
args* | LengthBasedExampleSelectorInput | Input parameters for the LengthBasedExampleSelector. |