experimental: docstrings update (#18048)

Added missed docstrings. Formatted docsctrings to the consistent format.
This commit is contained in:
Leonid Ganeline
2024-02-23 18:24:16 -08:00
committed by GitHub
parent 56b955fc31
commit 3f6bf852ea
61 changed files with 316 additions and 102 deletions

View File

@@ -12,7 +12,7 @@ def create_data_generation_chain(
llm: BaseLanguageModel,
prompt: Optional[PromptTemplate] = None,
) -> Chain:
"""Creates a chain that generates synthetic sentences with
"""Create a chain that generates synthetic sentences with
provided fields.
Args:
@@ -28,7 +28,7 @@ def create_data_generation_chain(
class DatasetGenerator:
"""Generates synthetic dataset with a given language model."""
"""Generate synthetic dataset with a given language model."""
def __init__(
self,