mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-22 02:50:31 +00:00
core[patch]: docstring update (#16813)
- added missed docstrings - formated docstrings to consistent form
This commit is contained in:
@@ -556,7 +556,7 @@ MessageLikeRepresentation = Union[
|
||||
|
||||
|
||||
class ChatPromptTemplate(BaseChatPromptTemplate):
|
||||
"""A prompt template for chat models.
|
||||
"""Prompt template for chat models.
|
||||
|
||||
Use to create flexible templated prompts for chat models.
|
||||
|
||||
|
@@ -11,7 +11,7 @@ def _get_inputs(inputs: dict, input_variables: List[str]) -> dict:
|
||||
|
||||
|
||||
class PipelinePromptTemplate(BasePromptTemplate):
|
||||
"""A prompt template for composing multiple prompt templates together.
|
||||
"""Prompt template for composing multiple prompt templates together.
|
||||
|
||||
This can be useful when you want to reuse parts of prompts.
|
||||
A PipelinePrompt consists of two main parts:
|
||||
|
Reference in New Issue
Block a user