mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
commit
7bba1d911b
@ -25,7 +25,7 @@
|
||||
"In particular, we can employ a [splitting strategy](https://python.langchain.com/docs/integrations/document_loaders/source_code) that does a few things:\n",
|
||||
"\n",
|
||||
"* Keeps each top-level function and class in the code is loaded into separate documents. \n",
|
||||
"* Puts remaining into a seperate document.\n",
|
||||
"* Puts remaining into a separate document.\n",
|
||||
"* Retains metadata about where each split comes from\n",
|
||||
"\n",
|
||||
"## Quickstart"
|
||||
@ -94,7 +94,7 @@
|
||||
"We load the py code using [`LanguageParser`](https://python.langchain.com/docs/integrations/document_loaders/source_code), which will:\n",
|
||||
"\n",
|
||||
"* Keep top-level functions and classes together (into a single document)\n",
|
||||
"* Put remaining code into a seperate document\n",
|
||||
"* Put remaining code into a separate document\n",
|
||||
"* Retains metadata about where each split comes from"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user