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]