sorted_values#

langchain_core.example_selectors.semantic_similarity.sorted_values(values: dict[str, str]) list[Any][source]#

Return a list of values in dict sorted by key.

Parameters:

values (dict[str, str]) – A dictionary with keys as input variables and values as their values.

Returns:

A list of values in dict sorted by key.

Return type:

list[Any]