Language#
- class langchain_text_splitters.base.Language(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Enum of the programming languages.
- CPP = 'cpp'#
- GO = 'go'#
- JAVA = 'java'#
- KOTLIN = 'kotlin'#
- JS = 'js'#
- TS = 'ts'#
- PHP = 'php'#
- PROTO = 'proto'#
- PYTHON = 'python'#
- RST = 'rst'#
- RUBY = 'ruby'#
- RUST = 'rust'#
- SCALA = 'scala'#
- SWIFT = 'swift'#
- MARKDOWN = 'markdown'#
- LATEX = 'latex'#
- HTML = 'html'#
- SOL = 'sol'#
- CSHARP = 'csharp'#
- COBOL = 'cobol'#
- C = 'c'#
- LUA = 'lua'#
- PERL = 'perl'#
- HASKELL = 'haskell'#
- ELIXIR = 'elixir'#
- POWERSHELL = 'powershell'#
Examples using Language