langchain.chains.query_constructor.base.construct_examples¶

langchain.chains.query_constructor.base.construct_examples(input_output_pairs: Sequence[Tuple[str, dict]]) List[dict][source]¶

Construct examples from input-output pairs.

Parameters

input_output_pairs (Sequence[Tuple[str, dict]]) – Sequence of input-output pairs.

Returns

List of examples.

Return type

List[dict]