Skip to content

Commit c36bd97

Browse files
author
ErenAta16
authored
docs: fix required_variables typo in ChatPromptBuilder guide (#11698)
1 parent 2c0acf0 commit c36bd97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs-website/docs/pipeline-components/builders/chatpromptbuilder.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ result = builder.run(
5656

5757
### Variables
5858

59-
The template variables found in the init template are used as input types for the component. If there are no `required_vairables` set, all variables are considered optional by default. In this case, any missing variables are replaced with empty strings, which can lead to unintended behavior, especially in complex pipelines.
59+
The template variables found in the init template are used as input types for the component. If there are no `required_variables` set, all variables are considered optional by default. In this case, any missing variables are replaced with empty strings, which can lead to unintended behavior, especially in complex pipelines.
6060

6161
Use `required_variables` and `variables` to specify the input types and required variables:
6262

docs-website/versioned_docs/version-2.30/pipeline-components/builders/chatpromptbuilder.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ result = builder.run(
5656

5757
### Variables
5858

59-
The template variables found in the init template are used as input types for the component. If there are no `required_vairables` set, all variables are considered optional by default. In this case, any missing variables are replaced with empty strings, which can lead to unintended behavior, especially in complex pipelines.
59+
The template variables found in the init template are used as input types for the component. If there are no `required_variables` set, all variables are considered optional by default. In this case, any missing variables are replaced with empty strings, which can lead to unintended behavior, especially in complex pipelines.
6060

6161
Use `required_variables` and `variables` to specify the input types and required variables:
6262

0 commit comments

Comments
 (0)