Skip to content

The agent engineering platform.

Fix typo in Prompts Templates Getting Started page (#3514)

engkheng5680fb689499
diff --git a/docs/modules/prompts/prompt_templates/getting_started.md b/docs/modules/prompts/prompt_templates/getting_started.md
index 74a8170aa5..996918ac50 100644
--- a/docs/modules/prompts/prompt_templates/getting_started.md
+++ b/docs/modules/prompts/prompt_templates/getting_started.md
@@ -63,7 +63,7 @@ multiple_input_prompt.format(adjective="funny", content="chickens")
# -> "Tell me a funny joke about chickens."
```
-If you do not wish to specify `input_variables` manually, you can also create a `PromptTemplate` using `from_templates` class method. `langchain` will automatically infer the `input_variables` based on the `template` passed.
+If you do not wish to specify `input_variables` manually, you can also create a `PromptTemplate` using `from_template` class method. `langchain` will automatically infer the `input_variables` based on the `template` passed.
```python
template = "Tell me a {adjective} joke about {content}."