mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-01 19:12:42 +00:00
community[patch]: docstrings (#16810)
- added missed docstrings - formated docstrings to the consistent form
This commit is contained in:
@@ -39,6 +39,7 @@ def import_mlflow() -> Any:
|
||||
|
||||
|
||||
def mlflow_callback_metrics() -> List[str]:
|
||||
"""Get the metrics to log to MLFlow."""
|
||||
return [
|
||||
"step",
|
||||
"starts",
|
||||
@@ -59,6 +60,7 @@ def mlflow_callback_metrics() -> List[str]:
|
||||
|
||||
|
||||
def get_text_complexity_metrics() -> List[str]:
|
||||
"""Get the text complexity metrics from textstat."""
|
||||
return [
|
||||
"flesch_reading_ease",
|
||||
"flesch_kincaid_grade",
|
||||
|
Reference in New Issue
Block a user