Skip to content

The agent engineering platform.

Fix typo in PromptTemplate from_examples (#2628)

Jand2f8ddab1003
diff --git a/langchain/prompts/prompt.py b/langchain/prompts/prompt.py
index 2222dada0c..0d77aa62f3 100644
--- a/langchain/prompts/prompt.py
+++ b/langchain/prompts/prompt.py
@@ -86,7 +86,7 @@ class PromptTemplate(StringPromptTemplate):
) -> PromptTemplate:
"""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:
examples: List of examples to use in the prompt.