Fix typo in PromptTemplate from_examples (#2628)

This commit is contained in:
Jan 2023-04-09 21:28:50 +02:00 committed by GitHub
parent 9a49f5763d
commit d2f8ddab10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class PromptTemplate(StringPromptTemplate):
) -> PromptTemplate: ) -> PromptTemplate:
"""Take examples in list format with prefix and suffix to create a prompt. """Take examples in list format with prefix and suffix to create a prompt.
Intended be used as a way to dynamically create a prompt from examples. Intended to be used as a way to dynamically create a prompt from examples.
Args: Args:
examples: List of examples to use in the prompt. examples: List of examples to use in the prompt.