diff --git a/libs/langchain/langchain/chains/openai_functions/extraction.py b/libs/langchain/langchain/chains/openai_functions/extraction.py index c13d3ecca3..b3beb9e368 100644 --- a/libs/langchain/langchain/chains/openai_functions/extraction.py +++ b/libs/langchain/langchain/chains/openai_functions/extraction.py @@ -31,7 +31,7 @@ def _get_extraction_function(entity_schema: dict) -> dict: } -_EXTRACTION_TEMPLATE = """Extract and save the relevant entities mentioned\ +_EXTRACTION_TEMPLATE = """Extract and save the relevant entities mentioned \ in the following passage together with their properties. Only extract the properties mentioned in the 'information_extraction' function.