I'm trying to split C code using the langchain-text-splitter and RecursiveCharacterTextSplitter.from_language with Language=Language.C or Language='c'. I'am expecting no error since the C language is listed by the enumerator
c is not supported in the RecursiveTextSplitter yet. This is a confusing error message. I opened up a PR to make the error message more clear, but work is still needed to added support for c
Checked other resources
Example Code
The following code:
Error Message and Stack Trace (if applicable)
Description
I'm trying to split C code using the langchain-text-splitter and RecursiveCharacterTextSplitter.from_language with Language=Language.C or Language='c'. I'am expecting no error since the C language is listed by the enumerator
System Info