community[patch]: fix import in language parser (#17538)

- **Description:** Resolving import error in language_parser.py during
"from langchain.langchain.text_splitter import Language - **Issue:** the
issue #17536
- **Dependencies:** NO
- **Twitter handle:** @iRakibHosen

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
Rakib Hosen
2024-02-15 01:11:23 +06:00
committed by GitHub
parent 685d62b032
commit 5ce1827d31
2 changed files with 5 additions and 2 deletions

View File

@@ -843,6 +843,9 @@ class Language(str, Enum):
SOL = "sol"
CSHARP = "csharp"
COBOL = "cobol"
C = "c"
LUA = "lua"
PERL = "perl"
class RecursiveCharacterTextSplitter(TextSplitter):