diff --git a/libs/langchain/langchain/output_parsers/openai_functions.py b/libs/langchain/langchain/output_parsers/openai_functions.py index f0016b3e337..098f4ab3723 100644 --- a/libs/langchain/langchain/output_parsers/openai_functions.py +++ b/libs/langchain/langchain/output_parsers/openai_functions.py @@ -1,5 +1,4 @@ import copy -import json from typing import Any, Dict, List, Optional, Type, Union import jsonpatch diff --git a/libs/langchain/tests/unit_tests/output_parsers/test_json.py b/libs/langchain/tests/unit_tests/output_parsers/test_json.py index 90b2d5a7da5..6fe7cb27dd1 100644 --- a/libs/langchain/tests/unit_tests/output_parsers/test_json.py +++ b/libs/langchain/tests/unit_tests/output_parsers/test_json.py @@ -8,8 +8,8 @@ from langchain.output_parsers.json import ( parse_json_markdown, parse_partial_json, ) -from langchain.schema.messages import AIMessageChunk from langchain.output_parsers.openai_functions import JsonOutputFunctionsParser +from langchain.schema.messages import AIMessageChunk GOOD_JSON = """```json {