id
stringlengths
14
15
text
stringlengths
35
2.07k
embedding
sequence
source
stringlengths
61
154
8a372c5fc47f-0
langchain.document_loaders.blob_loaders.schema.Blob¶ class langchain.document_loaders.blob_loaders.schema.Blob(*, data: Optional[Union[bytes, str]] = None, mimetype: Optional[str] = None, encoding: str = 'utf-8', path: Optional[Union[str, PurePath]] = None)[source]¶ Bases: BaseModel A blob is used to represent raw data by either reference or value. Provides an interface to materialize the blob in different representations, and help to decouple the development of data loaders from the downstream parsing of the raw data. Inspired by: https://developer.mozilla.org/en-US/docs/Web/API/Blob Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param data: Optional[Union[bytes, str]] = None¶ param encoding: str = 'utf-8'¶ param mimetype: Optional[str] = None¶ param path: Optional[Union[str, pathlib.PurePath]] = None¶ as_bytes() → bytes[source]¶ Read data as bytes. as_bytes_io() → Generator[Union[BytesIO, BufferedReader], None, None][source]¶ Read data as a byte stream. as_string() → str[source]¶ Read data as a string. validator check_blob_is_valid  »  all fields[source]¶ Verify that either data or path is provided. classmethod from_data(data: Union[str, bytes], *, encoding: str = 'utf-8', mime_type: Optional[str] = None, path: Optional[str] = None) → Blob[source]¶ Initialize the blob from in-memory data. Parameters data – the in-memory data associated with the blob encoding – Encoding to use if decoding the bytes into a string
[ 5317, 8995, 17926, 12693, 388, 97381, 12693, 388, 31992, 1823, 1718, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 97381, 12693, 388, 31992, 1823, 1718, 4163, 11, 828, 25, 12536, 58, 33758, 58, 9848, 11, 610, 5163, 284, 2290, 11, 81108, 25, 12536, 17752, 60, 284, 2290, 11, 11418, 25, 610, 284, 364, 4867, 12, 23, 518, 1853, 25, 12536, 58, 33758, 17752, 11, 30688, 1858, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 32, 24295, 374, 1511, 311, 4097, 7257, 828, 555, 3060, 5905, 477, 907, 627, 50122, 459, 3834, 311, 3769, 553, 279, 24295, 304, 2204, 44713, 11, 323, 198, 8823, 311, 1654, 85489, 279, 4500, 315, 828, 69674, 505, 279, 52452, 23115, 315, 198, 1820, 7257, 828, 627, 74640, 2757, 555, 25, 3788, 1129, 35501, 54934, 2726, 13920, 33440, 27057, 51538, 73130, 16675, 1718, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 828, 25, 12536, 58, 33758, 58, 9848, 11, 610, 5163, 284, 2290, 55609, 198, 913, 11418, 25, 610, 284, 364, 4867, 12, 23, 6, 55609, 198, 913, 81108, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 1853, 25, 12536, 58, 33758, 17752, 11, 54259, 1087, 554, 1858, 5163, 284, 2290, 55609, 198, 300, 12807, 368, 11651, 5943, 76747, 60, 55609, 198, 4518, 828, 439, 5943, 627, 300, 12807, 17369, 368, 11651, 29458, 58, 33758, 58, 7223, 3895, 11, 26649, 1145, 2290, 11, 2290, 1483, 2484, 60, 55609, 198, 4518, 828, 439, 264, 5027, 4365, 627, 300, 3991, 368, 11651, 610, 76747, 60, 55609, 198, 4518, 828, 439, 264, 925, 627, 16503, 1817, 47008, 7037, 8501, 4194, 8345, 4194, 682, 5151, 76747, 60, 55609, 198, 33727, 430, 3060, 828, 477, 1853, 374, 3984, 627, 27853, 505, 1807, 2657, 25, 9323, 17752, 11, 5943, 1145, 12039, 11418, 25, 610, 284, 364, 4867, 12, 23, 518, 46370, 1857, 25, 12536, 17752, 60, 284, 2290, 11, 1853, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 50539, 76747, 60, 55609, 198, 10130, 279, 24295, 505, 304, 65196, 828, 627, 9905, 198, 695, 1389, 279, 304, 65196, 828, 5938, 449, 279, 24295, 198, 17600, 1389, 30430, 311, 1005, 422, 48216, 279, 5943, 1139, 264, 925 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blob_loaders.schema.Blob.html
8a372c5fc47f-1
encoding – Encoding to use if decoding the bytes into a string mime_type – if provided, will be set as the mime-type of the data path – if provided, will be set as the source from which the data came Returns Blob instance classmethod from_path(path: Union[str, PurePath], *, encoding: str = 'utf-8', mime_type: Optional[str] = None, guess_type: bool = True) → Blob[source]¶ Load the blob from a path like object. Parameters path – path like object to file to be read encoding – Encoding to use if decoding the bytes into a string mime_type – if provided, will be set as the mime-type of the data guess_type – If True, the mimetype will be guessed from the file extension, if a mime-type was not provided Returns Blob instance property source: Optional[str]¶ The source location of the blob as string if known otherwise none. model Config[source]¶ Bases: object arbitrary_types_allowed = True¶ frozen = True¶
[ 17600, 1389, 30430, 311, 1005, 422, 48216, 279, 5943, 1139, 264, 925, 198, 50688, 1857, 1389, 422, 3984, 11, 690, 387, 743, 439, 279, 46370, 10827, 315, 279, 828, 198, 2398, 1389, 422, 3984, 11, 690, 387, 743, 439, 279, 2592, 505, 902, 279, 828, 3782, 198, 16851, 198, 39085, 2937, 198, 27853, 505, 2703, 5698, 25, 9323, 17752, 11, 30688, 1858, 1145, 12039, 11418, 25, 610, 284, 364, 4867, 12, 23, 518, 46370, 1857, 25, 12536, 17752, 60, 284, 2290, 11, 8101, 1857, 25, 1845, 284, 3082, 8, 11651, 50539, 76747, 60, 55609, 198, 6003, 279, 24295, 505, 264, 1853, 1093, 1665, 627, 9905, 198, 2398, 1389, 1853, 1093, 1665, 311, 1052, 311, 387, 1373, 198, 17600, 1389, 30430, 311, 1005, 422, 48216, 279, 5943, 1139, 264, 925, 198, 50688, 1857, 1389, 422, 3984, 11, 690, 387, 743, 439, 279, 46370, 10827, 315, 279, 828, 198, 52851, 1857, 1389, 1442, 3082, 11, 279, 81108, 690, 387, 43410, 505, 279, 1052, 9070, 345, 333, 264, 46370, 10827, 574, 539, 3984, 198, 16851, 198, 39085, 2937, 198, 3784, 2592, 25, 12536, 17752, 60, 55609, 198, 791, 2592, 3813, 315, 279, 24295, 439, 925, 422, 3967, 6062, 7000, 627, 2590, 5649, 76747, 60, 55609, 198, 33, 2315, 25, 1665, 198, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 69, 43340, 284, 3082, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blob_loaders.schema.Blob.html
e0b7c2597649-0
langchain.document_loaders.psychic.PsychicLoader¶ class langchain.document_loaders.psychic.PsychicLoader(api_key: str, account_id: str, connector_id: Optional[str] = None)[source]¶ Bases: BaseLoader Loader that loads documents from Psychic.dev. Initialize with API key, connector id, and account id. Methods __init__(api_key, account_id[, connector_id]) Initialize with API key, connector id, and account id. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 58428, 5759, 292, 1087, 82, 5759, 292, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 58428, 5759, 292, 1087, 82, 5759, 292, 9360, 25865, 3173, 25, 610, 11, 2759, 851, 25, 610, 11, 28087, 851, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 9477, 505, 93975, 22247, 627, 10130, 449, 5446, 1401, 11, 28087, 887, 11, 323, 2759, 887, 627, 18337, 198, 565, 2381, 3889, 2113, 3173, 11, 4194, 4711, 851, 38372, 4194, 54800, 851, 2608, 10130, 449, 5446, 1401, 11, 28087, 887, 11, 323, 2759, 887, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.psychic.PsychicLoader.html
d5f8be306b89-0
langchain.document_loaders.trello.TrelloLoader¶ class langchain.document_loaders.trello.TrelloLoader(client: TrelloClient, board_name: str, *, include_card_name: bool = True, include_comments: bool = True, include_checklist: bool = True, card_filter: Literal['closed', 'open', 'all'] = 'all', extra_metadata: Tuple[str, ...] = ('due_date', 'labels', 'list', 'closed'))[source]¶ Bases: BaseLoader Trello loader. Reads all cards from a Trello board. Initialize Trello loader. Parameters client – Trello API client. board_name – The name of the Trello board. include_card_name – Whether to include the name of the card in the document. include_comments – Whether to include the comments on the card in the document. include_checklist – Whether to include the checklist on the card in the document. card_filter – Filter on card status. Valid values are “closed”, “open”, “all”. extra_metadata – List of additional metadata fields to include as document metadata.Valid values are “due_date”, “labels”, “list”, “closed”. Methods __init__(client, board_name, *[, ...]) Initialize Trello loader. from_credentials(board_name, *[, api_key, token]) Convenience constructor that builds TrelloClient init param for you. lazy_load() A lazy loader for document content. load() Loads all cards from the specified Trello board. load_and_split([text_splitter]) Load documents and split into chunks. classmethod from_credentials(board_name: str, *, api_key: Optional[str] = None, token: Optional[str] = None, **kwargs: Any) → TrelloLoader[source]¶
[ 5317, 8995, 17926, 12693, 388, 739, 75233, 844, 75233, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 739, 75233, 844, 75233, 9360, 13097, 25, 350, 75233, 3032, 11, 4580, 1292, 25, 610, 11, 12039, 2997, 17315, 1292, 25, 1845, 284, 3082, 11, 2997, 31459, 25, 1845, 284, 3082, 11, 2997, 7348, 1638, 25, 1845, 284, 3082, 11, 3786, 8901, 25, 50774, 681, 35187, 518, 364, 2569, 518, 364, 543, 663, 284, 364, 543, 518, 5066, 23012, 25, 25645, 17752, 11, 2564, 60, 284, 4417, 24567, 4257, 518, 364, 17298, 518, 364, 1638, 518, 364, 35187, 3874, 58, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 51, 75233, 16432, 13, 44821, 682, 7563, 505, 264, 350, 75233, 4580, 627, 10130, 350, 75233, 16432, 627, 9905, 198, 3045, 1389, 350, 75233, 5446, 3016, 627, 2541, 1292, 1389, 578, 836, 315, 279, 350, 75233, 4580, 627, 1012, 17315, 1292, 1389, 13440, 311, 2997, 279, 836, 315, 279, 3786, 304, 279, 2246, 627, 1012, 31459, 1389, 13440, 311, 2997, 279, 6170, 389, 279, 3786, 304, 279, 198, 6190, 627, 1012, 7348, 1638, 1389, 13440, 311, 2997, 279, 53673, 389, 279, 3786, 304, 279, 198, 6190, 627, 5057, 8901, 1389, 12619, 389, 3786, 2704, 13, 7974, 2819, 527, 1054, 35187, 9520, 1054, 2569, 863, 345, 2118, 543, 863, 627, 15824, 23012, 1389, 1796, 315, 5217, 11408, 5151, 311, 2997, 439, 2246, 198, 18103, 48256, 2819, 527, 1054, 24567, 4257, 9520, 1054, 17298, 9520, 1054, 1638, 9520, 1054, 35187, 863, 627, 18337, 198, 565, 2381, 3889, 3045, 11, 4194, 2541, 1292, 11, 4194, 9, 38372, 4194, 1131, 2608, 10130, 350, 75233, 16432, 627, 1527, 48496, 21433, 1292, 11, 4194, 9, 38372, 4194, 2113, 3173, 11, 4194, 5963, 2608, 1128, 40647, 4797, 430, 22890, 350, 75233, 3032, 3003, 1719, 369, 499, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 79617, 682, 7563, 505, 279, 5300, 350, 75233, 4580, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 27853, 505, 48496, 21433, 1292, 25, 610, 11, 12039, 6464, 3173, 25, 12536, 17752, 60, 284, 2290, 11, 4037, 25, 12536, 17752, 60, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 350, 75233, 9360, 76747, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.trello.TrelloLoader.html
d5f8be306b89-1
Convenience constructor that builds TrelloClient init param for you. Parameters board_name – The name of the Trello board. api_key – Trello API key. Can also be specified as environment variable TRELLO_API_KEY. token – Trello token. Can also be specified as environment variable TRELLO_TOKEN. include_card_name – Whether to include the name of the card in the document. include_comments – Whether to include the comments on the card in the document. include_checklist – Whether to include the checklist on the card in the document. card_filter – Filter on card status. Valid values are “closed”, “open”, “all”. extra_metadata – List of additional metadata fields to include as document metadata.Valid values are “due_date”, “labels”, “list”, “closed”. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Loads all cards from the specified Trello board. You can filter the cards, metadata and text included by using the optional parameters. Returns:A list of documents, one for each card in the board. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 1128, 40647, 4797, 430, 22890, 350, 75233, 3032, 3003, 1719, 369, 499, 627, 9905, 198, 2541, 1292, 1389, 578, 836, 315, 279, 350, 75233, 4580, 627, 2113, 3173, 1389, 350, 75233, 5446, 1401, 13, 3053, 1101, 387, 5300, 439, 4676, 3977, 198, 51, 50151, 1623, 11669, 6738, 627, 5963, 1389, 350, 75233, 4037, 13, 3053, 1101, 387, 5300, 439, 4676, 3977, 198, 51, 50151, 1623, 19199, 627, 1012, 17315, 1292, 1389, 13440, 311, 2997, 279, 836, 315, 279, 3786, 304, 279, 2246, 627, 1012, 31459, 1389, 13440, 311, 2997, 279, 6170, 389, 279, 3786, 304, 279, 198, 6190, 627, 1012, 7348, 1638, 1389, 13440, 311, 2997, 279, 53673, 389, 279, 3786, 304, 279, 198, 6190, 627, 5057, 8901, 1389, 12619, 389, 3786, 2704, 13, 7974, 2819, 527, 1054, 35187, 9520, 1054, 2569, 863, 345, 2118, 543, 863, 627, 15824, 23012, 1389, 1796, 315, 5217, 11408, 5151, 311, 2997, 439, 2246, 198, 18103, 48256, 2819, 527, 1054, 24567, 4257, 9520, 1054, 17298, 9520, 1054, 1638, 9520, 1054, 35187, 863, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 79617, 682, 7563, 505, 279, 5300, 350, 75233, 4580, 627, 2675, 649, 4141, 279, 7563, 11, 11408, 323, 1495, 5343, 555, 1701, 279, 10309, 198, 14105, 627, 16851, 56748, 1160, 315, 9477, 11, 832, 369, 1855, 3786, 304, 279, 4580, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.trello.TrelloLoader.html
1e7dd76fec43-0
langchain.document_loaders.unstructured.UnstructuredAPIFileIOLoader¶ class langchain.document_loaders.unstructured.UnstructuredAPIFileIOLoader(file: Union[IO, Sequence[IO]], mode: str = 'single', url: str = 'https://api.unstructured.io/general/v0/general', api_key: str = '', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileIOLoader Loader that uses the unstructured web API to load file IO objects. Initialize with file path. Methods __init__(file[, mode, url, api_key]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 7227, 1738, 40, 1971, 41066, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 7227, 1738, 40, 1971, 41066, 4971, 25, 9323, 58, 3895, 11, 29971, 58, 3895, 21128, 3941, 25, 610, 284, 364, 15698, 518, 2576, 25, 610, 284, 364, 2485, 1129, 2113, 6441, 52243, 4340, 67061, 5574, 15, 67061, 518, 6464, 3173, 25, 610, 284, 9158, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 40, 1971, 41066, 198, 9360, 430, 5829, 279, 653, 52243, 3566, 5446, 311, 2865, 1052, 6565, 6302, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 38372, 4194, 8684, 11, 4194, 1103, 11, 4194, 2113, 3173, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.unstructured.UnstructuredAPIFileIOLoader.html
dee26d036835-0
langchain.document_loaders.notiondb.NotionDBLoader¶ class langchain.document_loaders.notiondb.NotionDBLoader(integration_token: str, database_id: str, request_timeout_sec: Optional[int] = 10)[source]¶ Bases: BaseLoader Notion DB Loader. Reads content from pages within a Noton Database. :param integration_token: Notion integration token. :type integration_token: str :param database_id: Notion database id. :type database_id: str :param request_timeout_sec: Timeout for Notion requests in seconds. :type request_timeout_sec: int Initialize with parameters. Methods __init__(integration_token, database_id[, ...]) Initialize with parameters. lazy_load() A lazy loader for document content. load() Load documents from the Notion database. load_and_split([text_splitter]) Load documents and split into chunks. load_page(page_summary) Read a page. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents from the Notion database. :returns: List of documents. :rtype: List[Document] load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. load_page(page_summary: Dict[str, Any]) → Document[source]¶ Read a page.
[ 5317, 8995, 17926, 12693, 388, 1276, 6082, 2042, 2112, 6082, 3590, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1276, 6082, 2042, 2112, 6082, 3590, 9360, 1577, 17831, 6594, 25, 610, 11, 4729, 851, 25, 610, 11, 1715, 21179, 17687, 25, 12536, 19155, 60, 284, 220, 605, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 2688, 290, 6078, 28911, 627, 4518, 82, 2262, 505, 6959, 2949, 264, 2876, 263, 10199, 627, 68416, 18052, 6594, 25, 2876, 290, 18052, 4037, 627, 47545, 18052, 6594, 25, 610, 198, 68416, 4729, 851, 25, 2876, 290, 4729, 887, 627, 47545, 4729, 851, 25, 610, 198, 68416, 1715, 21179, 17687, 25, 40480, 369, 2876, 290, 7540, 304, 6622, 627, 47545, 1715, 21179, 17687, 25, 528, 198, 10130, 449, 5137, 627, 18337, 198, 565, 2381, 3889, 61268, 6594, 11, 4194, 12494, 851, 38372, 4194, 1131, 2608, 10130, 449, 5137, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 505, 279, 2876, 290, 4729, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 6257, 12293, 28350, 340, 4518, 264, 2199, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 505, 279, 2876, 290, 4729, 627, 25, 4310, 25, 1796, 315, 9477, 627, 25, 33613, 25, 1796, 58, 7676, 933, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 6257, 12293, 28350, 25, 30226, 17752, 11, 5884, 2526, 11651, 12051, 76747, 60, 55609, 198, 4518, 264, 2199, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.notiondb.NotionDBLoader.html
8d7293e7236f-0
langchain.document_loaders.pdf.MathpixPDFLoader¶ class langchain.document_loaders.pdf.MathpixPDFLoader(file_path: str, processed_file_format: str = 'mmd', max_wait_time_seconds: int = 500, should_clean_pdf: bool = False, **kwargs: Any)[source]¶ Bases: BasePDFLoader Initialize with file path. Methods __init__(file_path[, processed_file_format, ...]) Initialize with file path. clean_pdf(contents) get_processed_pdf(pdf_id) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. send_pdf() wait_for_processing(pdf_id) Attributes data headers source url clean_pdf(contents: str) → str[source]¶ get_processed_pdf(pdf_id: str) → str[source]¶ lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. send_pdf() → str[source]¶ wait_for_processing(pdf_id: str) → None[source]¶ property data: dict¶ property headers: dict¶ property source: str¶ property url: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 47537, 36584, 24317, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 47537, 36584, 24317, 9360, 4971, 2703, 25, 610, 11, 15590, 2517, 9132, 25, 610, 284, 364, 76, 2329, 518, 1973, 19286, 3084, 35925, 25, 528, 284, 220, 2636, 11, 1288, 20144, 41048, 25, 1845, 284, 3641, 11, 3146, 9872, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 24317, 9360, 198, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 35122, 2517, 9132, 11, 4194, 1131, 2608, 10130, 449, 1052, 1853, 627, 18883, 41048, 48064, 340, 456, 65016, 41048, 86280, 851, 340, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 6820, 41048, 746, 11748, 5595, 59309, 86280, 851, 340, 10738, 198, 695, 198, 7869, 198, 2484, 198, 1103, 198, 18883, 41048, 48064, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 456, 65016, 41048, 86280, 851, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 6820, 41048, 368, 11651, 610, 76747, 60, 55609, 198, 11748, 5595, 59309, 86280, 851, 25, 610, 8, 11651, 2290, 76747, 60, 55609, 198, 3784, 828, 25, 6587, 55609, 198, 3784, 7247, 25, 6587, 55609, 198, 3784, 2592, 25, 610, 55609, 198, 3784, 2576, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.MathpixPDFLoader.html
51d7160a1731-0
langchain.document_loaders.base.BaseBlobParser¶ class langchain.document_loaders.base.BaseBlobParser[source]¶ Bases: ABC Abstract interface for blob parsers. A blob parser is provides a way to parse raw data stored in a blob into one or more documents. The parser can be composed with blob loaders, making it easy to re-use a parser independent of how the blob was originally loaded. Methods __init__() lazy_parse(blob) Lazy parsing interface. parse(blob) Eagerly parse the blob into a document or documents. abstract lazy_parse(blob: Blob) → Iterator[Document][source]¶ Lazy parsing interface. Subclasses are required to implement this method. Parameters blob – Blob instance Returns Generator of documents parse(blob: Blob) → List[Document][source]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 5317, 8995, 17926, 12693, 388, 9105, 13316, 39085, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 9105, 13316, 39085, 6707, 76747, 60, 55609, 198, 33, 2315, 25, 19921, 198, 16328, 3834, 369, 24295, 88173, 627, 32, 24295, 6871, 374, 5825, 264, 1648, 311, 4820, 7257, 828, 9967, 304, 264, 24295, 1139, 832, 198, 269, 810, 9477, 627, 791, 6871, 649, 387, 24306, 449, 24295, 69674, 11, 3339, 433, 4228, 311, 312, 25700, 198, 64, 6871, 9678, 315, 1268, 279, 24295, 574, 13517, 6799, 627, 18337, 198, 565, 2381, 33716, 50113, 21715, 69038, 340, 40866, 23115, 3834, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 16647, 16053, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 40866, 23115, 3834, 627, 3214, 9031, 527, 2631, 311, 4305, 420, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 12846, 315, 9477, 198, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.base.BaseBlobParser.html
9702f027fe04-0
langchain.document_loaders.notion.NotionDirectoryLoader¶ class langchain.document_loaders.notion.NotionDirectoryLoader(path: str)[source]¶ Bases: BaseLoader Loader that loads Notion directory dump. Initialize with path. Methods __init__(path) Initialize with path. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 1276, 6082, 2112, 6082, 9494, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1276, 6082, 2112, 6082, 9494, 9360, 5698, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 2876, 290, 6352, 10488, 627, 10130, 449, 1853, 627, 18337, 198, 565, 2381, 3889, 2398, 340, 10130, 449, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.notion.NotionDirectoryLoader.html
98f01b4f0df3-0
langchain.document_loaders.parsers.language.language_parser.LanguageParser¶ class langchain.document_loaders.parsers.language.language_parser.LanguageParser(language: Optional[Language] = None, parser_threshold: int = 0)[source]¶ Bases: BaseBlobParser Language parser that split code using the respective language syntax. Each top-level function and class in the code is loaded into separate documents. Furthermore, an extra document is generated, containing the remaining top-level code that excludes the already segmented functions and classes. This approach can potentially improve the accuracy of QA models over source code. Currently, the supported languages for code parsing are Python and JavaScript. The language used for parsing can be configured, along with the minimum number of lines required to activate the splitting based on syntax. Examples from langchain.text_splitter.Language from langchain.document_loaders.generic import GenericLoader from langchain.document_loaders.parsers import LanguageParser loader = GenericLoader.from_filesystem( "./code", glob="**/*", suffixes=[".py", ".js"], parser=LanguageParser() ) docs = loader.load() Example instantiations to manually select the language: … code-block:: python from langchain.text_splitter import Language loader = GenericLoader.from_filesystem(“./code”, glob=”**/*”, suffixes=[“.py”], parser=LanguageParser(language=Language.PYTHON) ) Example instantiations to set number of lines threshold: … code-block:: python loader = GenericLoader.from_filesystem(“./code”, glob=”**/*”, suffixes=[“.py”], parser=LanguageParser(parser_threshold=200) ) Language parser that split code using the respective language syntax. Parameters language – If None (default), it will try to infer language from source.
[ 5317, 8995, 17926, 12693, 388, 76592, 32733, 32733, 19024, 58058, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 32733, 32733, 19024, 58058, 6707, 61840, 25, 12536, 58, 14126, 60, 284, 2290, 11, 6871, 22616, 25, 528, 284, 220, 15, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 39085, 6707, 198, 14126, 6871, 430, 6859, 2082, 1701, 279, 20081, 4221, 20047, 627, 4959, 1948, 11852, 734, 323, 538, 304, 279, 2082, 374, 6799, 1139, 8821, 9477, 627, 57417, 11, 459, 5066, 2246, 374, 8066, 11, 8649, 279, 9861, 1948, 11852, 2082, 198, 9210, 64468, 279, 2736, 86045, 5865, 323, 6989, 627, 2028, 5603, 649, 13893, 7417, 279, 13708, 315, 67008, 4211, 927, 2592, 2082, 627, 34814, 11, 279, 7396, 15823, 369, 2082, 23115, 527, 13325, 323, 13210, 627, 791, 4221, 1511, 369, 23115, 649, 387, 20336, 11, 3235, 449, 279, 8187, 1396, 315, 198, 8128, 2631, 311, 20891, 279, 45473, 3196, 389, 20047, 627, 41481, 198, 1527, 8859, 8995, 2858, 17489, 466, 58058, 198, 1527, 8859, 8995, 17926, 12693, 388, 43367, 1179, 21981, 9360, 198, 1527, 8859, 8995, 17926, 12693, 388, 76592, 1179, 11688, 6707, 198, 8520, 284, 21981, 9360, 6521, 2517, 9125, 1021, 262, 6049, 1889, 761, 262, 13509, 429, 334, 1075, 761, 262, 21166, 288, 29065, 13, 3368, 498, 6058, 2580, 8257, 262, 6871, 28, 14126, 6707, 746, 340, 14452, 284, 16432, 5214, 746, 13617, 9888, 17583, 311, 20684, 3373, 279, 4221, 512, 1981, 2082, 9612, 487, 10344, 198, 1527, 8859, 8995, 2858, 17489, 466, 1179, 11688, 198, 8520, 284, 21981, 9360, 6521, 2517, 9125, 7, 2118, 1761, 1889, 863, 345, 60026, 45221, 334, 1075, 863, 345, 27884, 288, 5941, 77284, 3368, 863, 1282, 9854, 28, 14126, 6707, 61840, 28, 14126, 1087, 56, 42599, 340, 340, 13617, 9888, 17583, 311, 743, 1396, 315, 5238, 12447, 512, 1981, 2082, 9612, 487, 10344, 198, 8520, 284, 21981, 9360, 6521, 2517, 9125, 7, 2118, 1761, 1889, 863, 345, 60026, 45221, 334, 1075, 863, 345, 27884, 288, 5941, 77284, 3368, 863, 1282, 9854, 28, 14126, 6707, 36435, 22616, 28, 1049, 340, 340, 14126, 6871, 430, 6859, 2082, 1701, 279, 20081, 4221, 20047, 627, 9905, 198, 11789, 1389, 1442, 2290, 320, 2309, 705, 433, 690, 1456, 311, 24499, 4221, 505, 2592, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.language.language_parser.LanguageParser.html
98f01b4f0df3-1
Parameters language – If None (default), it will try to infer language from source. parser_threshold – Minimum lines needed to activate parsing (0 by default). Methods __init__([language, parser_threshold]) Language parser that split code using the respective language syntax. lazy_parse(blob) Lazy parsing interface. parse(blob) Eagerly parse the blob into a document or documents. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Lazy parsing interface. Subclasses are required to implement this method. Parameters blob – Blob instance Returns Generator of documents parse(blob: Blob) → List[Document]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 9905, 198, 11789, 1389, 1442, 2290, 320, 2309, 705, 433, 690, 1456, 311, 24499, 4221, 505, 2592, 627, 9854, 22616, 1389, 32025, 5238, 4460, 311, 20891, 23115, 320, 15, 555, 1670, 4390, 18337, 198, 565, 2381, 565, 2625, 11789, 11, 4194, 9854, 22616, 2608, 14126, 6871, 430, 6859, 2082, 1701, 279, 20081, 4221, 20047, 627, 50113, 21715, 69038, 340, 40866, 23115, 3834, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 40866, 23115, 3834, 627, 3214, 9031, 527, 2631, 311, 4305, 420, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 12846, 315, 9477, 198, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.language.language_parser.LanguageParser.html
617988349779-0
langchain.document_loaders.onedrive_file.OneDriveFileLoader¶ class langchain.document_loaders.onedrive_file.OneDriveFileLoader(*, file: File)[source]¶ Bases: BaseLoader, BaseModel Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param file: File [Required]¶ lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load Documents load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. model Config[source]¶ Bases: object arbitrary_types_allowed = True¶
[ 5317, 8995, 17926, 12693, 388, 3572, 291, 58035, 2517, 38167, 33557, 1738, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 3572, 291, 58035, 2517, 38167, 33557, 1738, 9360, 4163, 11, 1052, 25, 2958, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 11, 65705, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 1052, 25, 2958, 510, 8327, 60, 55609, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 45890, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 2590, 5649, 76747, 60, 55609, 198, 33, 2315, 25, 1665, 198, 277, 88951, 9962, 43255, 284, 3082, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.onedrive_file.OneDriveFileLoader.html
7a333ce7bdc1-0
langchain.document_loaders.chatgpt.concatenate_rows¶ langchain.document_loaders.chatgpt.concatenate_rows(message: dict, title: str) → str[source]¶ Combine message information in a readable format ready to be used. :param message: Message to be concatenated :param title: Title of the conversation Returns Concatenated message
[ 5317, 8995, 17926, 12693, 388, 27215, 70, 418, 39859, 11189, 55609, 198, 5317, 8995, 17926, 12693, 388, 27215, 70, 418, 39859, 11189, 7483, 25, 6587, 11, 2316, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 82214, 1984, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 68416, 1984, 25, 4961, 311, 387, 98634, 198, 68416, 2316, 25, 11106, 315, 279, 10652, 198, 16851, 198, 79540, 268, 660, 1984 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.chatgpt.concatenate_rows.html
89bbf2282292-0
langchain.document_loaders.readthedocs.ReadTheDocsLoader¶ class langchain.document_loaders.readthedocs.ReadTheDocsLoader(path: Union[str, Path], encoding: Optional[str] = None, errors: Optional[str] = None, custom_html_tag: Optional[Tuple[str, dict]] = None, **kwargs: Optional[Any])[source]¶ Bases: BaseLoader Loader that loads ReadTheDocs documentation directory dump. Initialize ReadTheDocsLoader The loader loops over all files under path and extract the actual content of the files by retrieving main html tags. Default main html tags include <main id=”main-content>, <div role=”main>, and <article role=”main”>. You can also define your own html tags by passing custom_html_tag, e.g. (“div”, “class=main”). The loader iterates html tags with the order of custom html tags (if exists) and default html tags. If any of the tags is not empty, the loop will break and retrieve the content out of that tag. Parameters path – The location of pulled readthedocs folder. encoding – The encoding with which to open the documents. errors – Specifies how encoding and decoding errors are to be handled—this cannot be used in binary mode. custom_html_tag – Optional custom html tag to retrieve the content from files. Methods __init__(path[, encoding, errors, ...]) Initialize ReadTheDocsLoader lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents.
[ 5317, 8995, 17926, 12693, 388, 4217, 79371, 14460, 6639, 791, 64207, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 4217, 79371, 14460, 6639, 791, 64207, 9360, 5698, 25, 9323, 17752, 11, 8092, 1145, 11418, 25, 12536, 17752, 60, 284, 2290, 11, 6103, 25, 12536, 17752, 60, 284, 2290, 11, 2587, 9759, 9556, 25, 12536, 20961, 6189, 17752, 11, 6587, 5163, 284, 2290, 11, 3146, 9872, 25, 12536, 71401, 41105, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 4557, 791, 64207, 9904, 6352, 10488, 627, 10130, 4557, 791, 64207, 9360, 198, 791, 16432, 30853, 927, 682, 3626, 1234, 1853, 323, 8819, 279, 5150, 2262, 315, 198, 1820, 3626, 555, 49324, 1925, 5385, 9681, 13, 8058, 1925, 5385, 9681, 2997, 198, 91968, 887, 45221, 3902, 6951, 8226, 366, 614, 3560, 45221, 3902, 8226, 323, 366, 7203, 3560, 45221, 3902, 863, 14611, 1472, 198, 4919, 1101, 7124, 701, 1866, 5385, 9681, 555, 12579, 2587, 9759, 9556, 11, 384, 1326, 627, 7, 2118, 614, 9520, 1054, 1058, 28, 3902, 65312, 578, 16432, 5480, 988, 5385, 9681, 449, 279, 2015, 315, 198, 9342, 5385, 9681, 320, 333, 6866, 8, 323, 1670, 5385, 9681, 13, 1442, 904, 315, 279, 9681, 374, 539, 198, 3274, 11, 279, 6471, 690, 1464, 323, 17622, 279, 2262, 704, 315, 430, 4877, 627, 9905, 198, 2398, 1389, 578, 3813, 315, 13541, 1373, 79371, 14460, 8695, 627, 17600, 1389, 578, 11418, 449, 902, 311, 1825, 279, 9477, 627, 7805, 1389, 46080, 1268, 11418, 323, 48216, 6103, 527, 311, 387, 18073, 2345, 576, 198, 34360, 387, 1511, 304, 8026, 3941, 627, 9342, 9759, 9556, 1389, 12536, 2587, 5385, 4877, 311, 17622, 279, 2262, 505, 198, 7346, 627, 18337, 198, 565, 2381, 3889, 2398, 38372, 4194, 17600, 11, 4194, 7805, 11, 4194, 1131, 2608, 10130, 4557, 791, 64207, 9360, 198, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.readthedocs.ReadTheDocsLoader.html
89bbf2282292-1
load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.readthedocs.ReadTheDocsLoader.html
bde3a7667b37-0
langchain.document_loaders.rtf.UnstructuredRTFLoader¶ class langchain.document_loaders.rtf.UnstructuredRTFLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load rtf files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 1783, 9112, 10840, 52243, 5463, 37, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1783, 9112, 10840, 52243, 5463, 37, 9360, 4971, 2703, 25, 610, 11, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 436, 9112, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.rtf.UnstructuredRTFLoader.html
30b6b6e48fbf-0
langchain.document_loaders.obsidian.ObsidianLoader¶ class langchain.document_loaders.obsidian.ObsidianLoader(path: str, encoding: str = 'UTF-8', collect_metadata: bool = True)[source]¶ Bases: BaseLoader Loader that loads Obsidian files from disk. Initialize with path. Methods __init__(path[, encoding, collect_metadata]) Initialize with path. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. Attributes FRONT_MATTER_REGEX lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. FRONT_MATTER_REGEX = re.compile('^---\\n(.*?)\\n---\\n', re.MULTILINE|re.DOTALL)¶
[ 5317, 8995, 17926, 12693, 388, 50375, 36742, 8548, 1302, 36742, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 50375, 36742, 8548, 1302, 36742, 9360, 5698, 25, 610, 11, 11418, 25, 610, 284, 364, 8729, 12, 23, 518, 6667, 23012, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 51541, 36742, 3626, 505, 13668, 627, 10130, 449, 1853, 627, 18337, 198, 565, 2381, 3889, 2398, 38372, 4194, 17600, 11, 4194, 17840, 23012, 2608, 10130, 449, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 10725, 10443, 1267, 50783, 57296, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 10725, 10443, 1267, 50783, 57296, 284, 312, 19458, 87185, 4521, 3505, 77, 7, 85425, 3505, 77, 4521, 3505, 77, 518, 312, 93664, 96682, 91, 265, 920, 1831, 4006, 8, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.obsidian.ObsidianLoader.html
7af2d89e3976-0
langchain.document_loaders.pdf.PyPDFLoader¶ class langchain.document_loaders.pdf.PyPDFLoader(file_path: str, password: Optional[Union[str, bytes]] = None)[source]¶ Bases: BasePDFLoader Loads a PDF with pypdf and chunks at character level. Loader also stores page numbers in metadatas. Initialize with file path. Methods __init__(file_path[, password]) Initialize with file path. lazy_load() Lazy load given path as pages. load() Load given path as pages. load_and_split([text_splitter]) Load documents and split into chunks. Attributes source lazy_load() → Iterator[Document][source]¶ Lazy load given path as pages. load() → List[Document][source]¶ Load given path as pages. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. property source: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 1087, 88, 24317, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 1087, 88, 24317, 9360, 4971, 2703, 25, 610, 11, 3636, 25, 12536, 58, 33758, 17752, 11, 5943, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 24317, 9360, 198, 79617, 264, 11612, 449, 281, 1100, 3013, 323, 27855, 520, 3752, 2237, 627, 9360, 1101, 10756, 2199, 5219, 304, 2322, 329, 19907, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 3918, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 40866, 2865, 2728, 1853, 439, 6959, 627, 1096, 746, 6003, 2728, 1853, 439, 6959, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 2484, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 40866, 2865, 2728, 1853, 439, 6959, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 2728, 1853, 439, 6959, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 3784, 2592, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.PyPDFLoader.html
fc6361aa4b8a-0
langchain.document_loaders.embaas.EmbaasBlobLoader¶ class langchain.document_loaders.embaas.EmbaasBlobLoader(*, embaas_api_key: Optional[str] = None, api_url: str = 'https://api.embaas.io/v1/document/extract-text/bytes/', params: EmbaasDocumentExtractionParameters = {})[source]¶ Bases: BaseEmbaasLoader, BaseBlobParser Wrapper around embaas’s document byte loader service. To use, you should have the environment variable EMBAAS_API_KEY set with your API key, or pass it as a named parameter to the constructor. Example # Default parsing from langchain.document_loaders.embaas import EmbaasBlobLoader loader = EmbaasBlobLoader() blob = Blob.from_path(path="example.mp3") documents = loader.parse(blob=blob) # Custom api parameters (create embeddings automatically) from langchain.document_loaders.embaas import EmbaasBlobLoader loader = EmbaasBlobLoader( params={ "should_embed": True, "model": "e5-large-v2", "chunk_size": 256, "chunk_splitter": "CharacterTextSplitter" } ) blob = Blob.from_path(path="example.pdf") documents = loader.parse(blob=blob) Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_url: str = 'https://api.embaas.io/v1/document/extract-text/bytes/'¶ The URL of the embaas document extraction API. param embaas_api_key: Optional[str] = None¶
[ 5317, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 39085, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 39085, 9360, 4163, 11, 991, 4749, 300, 11959, 3173, 25, 12536, 17752, 60, 284, 2290, 11, 6464, 2975, 25, 610, 284, 364, 2485, 1129, 2113, 9485, 4749, 300, 4340, 5574, 16, 47488, 14, 24396, 9529, 14, 9848, 14688, 3712, 25, 30227, 64, 300, 7676, 849, 27523, 9905, 284, 4792, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 2321, 4749, 300, 9360, 11, 5464, 39085, 6707, 198, 11803, 2212, 991, 4749, 300, 753, 2246, 5027, 16432, 2532, 627, 1271, 1005, 11, 499, 1288, 617, 279, 198, 24175, 3977, 17329, 7209, 1950, 11669, 6738, 743, 449, 701, 5446, 1401, 11, 477, 1522, 198, 275, 439, 264, 7086, 5852, 311, 279, 4797, 627, 13617, 198, 2, 8058, 23115, 198, 1527, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 1179, 30227, 64, 300, 39085, 9360, 198, 8520, 284, 30227, 64, 300, 39085, 9360, 746, 36212, 284, 50539, 6521, 2703, 5698, 429, 8858, 17295, 18, 1158, 51878, 284, 16432, 4736, 69038, 22861, 1718, 340, 2, 8572, 6464, 5137, 320, 3261, 71647, 9651, 340, 1527, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 1179, 30227, 64, 300, 39085, 9360, 198, 8520, 284, 30227, 64, 300, 39085, 9360, 1021, 262, 3712, 18013, 286, 330, 5562, 24967, 794, 3082, 345, 286, 330, 2590, 794, 330, 68, 20, 40248, 8437, 17, 761, 286, 330, 27069, 2424, 794, 220, 4146, 345, 286, 330, 27069, 17489, 466, 794, 330, 12686, 1199, 20805, 466, 702, 262, 457, 340, 36212, 284, 50539, 6521, 2703, 5698, 429, 8858, 16378, 1158, 51878, 284, 16432, 4736, 69038, 22861, 1718, 340, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 2975, 25, 610, 284, 364, 2485, 1129, 2113, 9485, 4749, 300, 4340, 5574, 16, 47488, 14, 24396, 9529, 14, 9848, 11576, 55609, 198, 791, 5665, 315, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 913, 991, 4749, 300, 11959, 3173, 25, 12536, 17752, 60, 284, 2290, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasBlobLoader.html
fc6361aa4b8a-1
param embaas_api_key: Optional[str] = None¶ param params: langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters = {}¶ Additional parameters to pass to the embaas document extraction API. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Lazy parsing interface. Subclasses are required to implement this method. Parameters blob – Blob instance Returns Generator of documents validator validate_environment  »  all fields¶ Validate that api key and python package exists in environment.
[ 913, 991, 4749, 300, 11959, 3173, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 3712, 25, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 9905, 284, 4792, 55609, 198, 30119, 5137, 311, 1522, 311, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 40866, 23115, 3834, 627, 3214, 9031, 527, 2631, 311, 4305, 420, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 12846, 315, 9477, 198, 16503, 9788, 52874, 4194, 8345, 4194, 682, 5151, 55609, 198, 18409, 430, 6464, 1401, 323, 10344, 6462, 6866, 304, 4676, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasBlobLoader.html
df6c85501a37-0
langchain.document_loaders.ifixit.IFixitLoader¶ class langchain.document_loaders.ifixit.IFixitLoader(web_path: str)[source]¶ Bases: BaseLoader Load iFixit repair guides, device wikis and answers. iFixit is the largest, open repair community on the web. The site contains nearly 100k repair manuals, 200k Questions & Answers on 42k devices, and all the data is licensed under CC-BY. This loader will allow you to download the text of a repair guide, text of Q&A’s and wikis from devices on iFixit using their open APIs and web scraping. Initialize with web path. Methods __init__(web_path) Initialize with web path. lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. load_device([url_override, include_guides]) load_guide([url_override]) load_questions_and_answers([url_override]) load_suggestions([query, doc_type]) lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. load_device(url_override: Optional[str] = None, include_guides: bool = True) → List[Document][source]¶ load_guide(url_override: Optional[str] = None) → List[Document][source]¶ load_questions_and_answers(url_override: Optional[str] = None) → List[Document][source]¶
[ 5317, 8995, 17926, 12693, 388, 36531, 953, 275, 2506, 27048, 275, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 36531, 953, 275, 2506, 27048, 275, 9360, 40869, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 6003, 602, 27048, 275, 13023, 28292, 11, 3756, 98275, 285, 323, 11503, 627, 72, 27048, 275, 374, 279, 7928, 11, 1825, 13023, 4029, 389, 279, 3566, 13, 578, 2816, 5727, 7154, 198, 1041, 74, 13023, 56294, 11, 220, 1049, 74, 24271, 612, 38343, 389, 220, 2983, 74, 7766, 11, 323, 682, 279, 828, 374, 198, 72811, 1234, 13844, 7826, 56, 627, 2028, 16432, 690, 2187, 499, 311, 4232, 279, 1495, 315, 264, 13023, 8641, 11, 1495, 315, 1229, 36121, 753, 198, 438, 98275, 285, 505, 7766, 389, 602, 27048, 275, 1701, 872, 1825, 34456, 323, 3566, 82538, 627, 10130, 449, 3566, 1853, 627, 18337, 198, 565, 2381, 3889, 2984, 2703, 340, 10130, 449, 3566, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 9385, 2625, 1103, 49676, 11, 4194, 1012, 44856, 288, 2608, 1096, 81507, 2625, 1103, 49676, 2608, 1096, 56148, 8543, 62710, 2625, 1103, 49676, 2608, 1096, 646, 38982, 2625, 1663, 11, 4194, 5349, 1857, 2608, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 9385, 6659, 49676, 25, 12536, 17752, 60, 284, 2290, 11, 2997, 44856, 288, 25, 1845, 284, 3082, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 1096, 81507, 6659, 49676, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 1096, 56148, 8543, 62710, 6659, 49676, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.ifixit.IFixitLoader.html
df6c85501a37-1
static load_suggestions(query: str = '', doc_type: str = 'all') → List[Document][source]¶
[ 2020, 2865, 646, 38982, 10974, 25, 610, 284, 9158, 4733, 1857, 25, 610, 284, 364, 543, 873, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.ifixit.IFixitLoader.html
8ff3006b65a4-0
langchain.document_loaders.parsers.language.python.PythonSegmenter¶ class langchain.document_loaders.parsers.language.python.PythonSegmenter(code: str)[source]¶ Bases: CodeSegmenter Methods __init__(code) extract_functions_classes() is_valid() simplify_code() extract_functions_classes() → List[str][source]¶ is_valid() → bool[source]¶ simplify_code() → str[source]¶
[ 5317, 8995, 17926, 12693, 388, 76592, 32733, 44293, 1087, 27993, 21766, 261, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 32733, 44293, 1087, 27993, 21766, 261, 16221, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 6247, 21766, 261, 198, 18337, 198, 565, 2381, 3889, 1889, 340, 24396, 32808, 17255, 746, 285, 8501, 746, 82, 71306, 4229, 746, 24396, 32808, 17255, 368, 11651, 1796, 17752, 1483, 2484, 60, 55609, 198, 285, 8501, 368, 11651, 1845, 76747, 60, 55609, 198, 82, 71306, 4229, 368, 11651, 610, 76747, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.language.python.PythonSegmenter.html
0561b194a183-0
langchain.document_loaders.facebook_chat.FacebookChatLoader¶ class langchain.document_loaders.facebook_chat.FacebookChatLoader(path: str)[source]¶ Bases: BaseLoader Loader that loads Facebook messages json directory dump. Initialize with path. Methods __init__(path) Initialize with path. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 20172, 36153, 1006, 4598, 16047, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 20172, 36153, 1006, 4598, 16047, 9360, 5698, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 5690, 6743, 3024, 6352, 10488, 627, 10130, 449, 1853, 627, 18337, 198, 565, 2381, 3889, 2398, 340, 10130, 449, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.facebook_chat.FacebookChatLoader.html
5488dca3be9b-0
langchain.document_loaders.rst.UnstructuredRSTLoader¶ class langchain.document_loaders.rst.UnstructuredRSTLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load RST files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 1783, 267, 10840, 52243, 49, 790, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1783, 267, 10840, 52243, 49, 790, 9360, 4971, 2703, 25, 610, 11, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 432, 790, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.rst.UnstructuredRSTLoader.html
f87df015433c-0
langchain.document_loaders.parsers.generic.MimeTypeBasedParser¶ class langchain.document_loaders.parsers.generic.MimeTypeBasedParser(handlers: Mapping[str, BaseBlobParser], *, fallback_parser: Optional[BaseBlobParser] = None)[source]¶ Bases: BaseBlobParser A parser that uses mime-types to determine how to parse a blob. This parser is useful for simple pipelines where the mime-type is sufficient to determine how to parse a blob. To use, configure handlers based on mime-types and pass them to the initializer. Example from langchain.document_loaders.parsers.generic import MimeTypeBasedParser parser = MimeTypeBasedParser( handlers={“application/pdf”: …, }, fallback_parser=…, ) Define a parser that uses mime-types to determine how to parse a blob. Parameters handlers – A mapping from mime-types to functions that take a blob, parse it and return a document. fallback_parser – A fallback_parser parser to use if the mime-type is not found in the handlers. If provided, this parser will be used to parse blobs with all mime-types not found in the handlers. If not provided, a ValueError will be raised if the mime-type is not found in the handlers. Methods __init__(handlers, *[, fallback_parser]) Define a parser that uses mime-types to determine how to parse a blob. lazy_parse(blob) Load documents from a blob. parse(blob) Eagerly parse the blob into a document or documents. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Load documents from a blob. parse(blob: Blob) → List[Document]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead.
[ 5317, 8995, 17926, 12693, 388, 76592, 43367, 1345, 35972, 29815, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 43367, 1345, 35972, 29815, 6707, 64311, 9438, 25, 39546, 17752, 11, 5464, 39085, 6707, 1145, 12039, 33872, 19024, 25, 12536, 58, 4066, 39085, 6707, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 39085, 6707, 198, 32, 6871, 430, 5829, 46370, 21484, 311, 8417, 1268, 311, 4820, 264, 24295, 627, 2028, 6871, 374, 5505, 369, 4382, 58773, 1405, 279, 46370, 10827, 374, 14343, 198, 998, 8417, 1268, 311, 4820, 264, 24295, 627, 1271, 1005, 11, 14749, 25050, 3196, 389, 46370, 21484, 323, 1522, 1124, 311, 279, 43412, 627, 13617, 198, 1527, 8859, 8995, 17926, 12693, 388, 76592, 43367, 1179, 386, 35972, 29815, 6707, 198, 9854, 284, 386, 35972, 29815, 6707, 1021, 56727, 1185, 2118, 5242, 48851, 57633, 4696, 345, 1613, 74411, 19024, 28, 1981, 345, 340, 36438, 264, 6871, 430, 5829, 46370, 21484, 311, 8417, 1268, 311, 4820, 264, 24295, 627, 9905, 198, 56727, 1389, 362, 13021, 505, 46370, 21484, 311, 5865, 430, 1935, 264, 24295, 11, 4820, 433, 198, 438, 471, 264, 2246, 627, 74411, 19024, 1389, 362, 33872, 19024, 6871, 311, 1005, 422, 279, 46370, 10827, 374, 539, 198, 15456, 304, 279, 25050, 13, 1442, 3984, 11, 420, 6871, 690, 387, 198, 2656, 311, 4820, 77999, 449, 682, 46370, 21484, 539, 1766, 304, 198, 1820, 25050, 627, 2746, 539, 3984, 11, 264, 15764, 690, 387, 9408, 422, 279, 198, 50688, 10827, 374, 539, 1766, 304, 279, 25050, 627, 18337, 198, 565, 2381, 3889, 56727, 11, 4194, 9, 38372, 4194, 74411, 19024, 2608, 36438, 264, 6871, 430, 5829, 46370, 21484, 311, 8417, 1268, 311, 4820, 264, 24295, 627, 50113, 21715, 69038, 340, 6003, 9477, 505, 264, 24295, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 505, 264, 24295, 627, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.generic.MimeTypeBasedParser.html
f87df015433c-1
Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.generic.MimeTypeBasedParser.html
bd2d096b50e9-0
langchain.document_loaders.recursive_url_loader.RecursiveUrlLoader¶ class langchain.document_loaders.recursive_url_loader.RecursiveUrlLoader(url: str, exclude_dirs: Optional[str] = None)[source]¶ Bases: BaseLoader Loader that loads all child links from a given url. Initialize with URL to crawl and any sub-directories to exclude. Methods __init__(url[, exclude_dirs]) Initialize with URL to crawl and any sub-directories to exclude. get_child_links_recursive(url[, visited]) Recursively get all child links starting with the path of the input URL. lazy_load() A lazy loader for document content. load() Load web pages. load_and_split([text_splitter]) Load documents and split into chunks. get_child_links_recursive(url: str, visited: Optional[Set[str]] = None) → Set[str][source]¶ Recursively get all child links starting with the path of the input URL. lazy_load() → Iterator[Document][source]¶ A lazy loader for document content. load() → List[Document][source]¶ Load web pages. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 11448, 16921, 2975, 22927, 21259, 16921, 2934, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 11448, 16921, 2975, 22927, 21259, 16921, 2934, 9360, 6659, 25, 610, 11, 22429, 45969, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 682, 1716, 7902, 505, 264, 2728, 2576, 627, 10130, 449, 5665, 311, 46764, 323, 904, 1207, 44624, 2490, 311, 22429, 627, 18337, 198, 565, 2381, 3889, 1103, 38372, 4194, 33513, 45969, 2608, 10130, 449, 5665, 311, 46764, 323, 904, 1207, 44624, 2490, 311, 22429, 627, 456, 17716, 26324, 67342, 6659, 38372, 4194, 29968, 2608, 3905, 80837, 636, 682, 1716, 7902, 6041, 449, 279, 1853, 315, 279, 1988, 5665, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 3566, 6959, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 456, 17716, 26324, 67342, 6659, 25, 610, 11, 12263, 25, 12536, 58, 1681, 17752, 5163, 284, 2290, 8, 11651, 2638, 17752, 1483, 2484, 60, 55609, 198, 3905, 80837, 636, 682, 1716, 7902, 6041, 449, 279, 1853, 315, 279, 1988, 5665, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 3566, 6959, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.recursive_url_loader.RecursiveUrlLoader.html
e26ed9b40b19-0
langchain.document_loaders.mastodon.MastodonTootsLoader¶ class langchain.document_loaders.mastodon.MastodonTootsLoader(mastodon_accounts: Sequence[str], number_toots: Optional[int] = 100, exclude_replies: bool = False, access_token: Optional[str] = None, api_base_url: str = 'https://mastodon.social')[source]¶ Bases: BaseLoader Mastodon toots loader. Instantiate Mastodon toots loader. Parameters mastodon_accounts – The list of Mastodon accounts to query. number_toots – How many toots to pull for each account. exclude_replies – Whether to exclude reply toots from the load. access_token – An access token if toots are loaded as a Mastodon app. Can also be specified via the environment variables “MASTODON_ACCESS_TOKEN”. api_base_url – A Mastodon API base URL to talk to, if not using the default. Methods __init__(mastodon_accounts[, number_toots, ...]) Instantiate Mastodon toots loader. lazy_load() A lazy loader for document content. load() Load toots into documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load toots into documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 749, 561, 77152, 1345, 561, 77152, 1271, 2469, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 749, 561, 77152, 1345, 561, 77152, 1271, 2469, 9360, 1278, 561, 77152, 56765, 25, 29971, 17752, 1145, 1396, 530, 1944, 82, 25, 12536, 19155, 60, 284, 220, 1041, 11, 22429, 1311, 7350, 25, 1845, 284, 3641, 11, 2680, 6594, 25, 12536, 17752, 60, 284, 2290, 11, 6464, 7806, 2975, 25, 610, 284, 364, 2485, 1129, 97613, 77152, 61981, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 44, 561, 77152, 311, 2469, 16432, 627, 81651, 37582, 77152, 311, 2469, 16432, 627, 9905, 198, 97613, 77152, 56765, 1389, 578, 1160, 315, 37582, 77152, 9815, 311, 3319, 627, 4174, 530, 1944, 82, 1389, 2650, 1690, 311, 2469, 311, 6958, 369, 1855, 2759, 627, 33513, 1311, 7350, 1389, 13440, 311, 22429, 10052, 311, 2469, 505, 279, 2865, 627, 5323, 6594, 1389, 1556, 2680, 4037, 422, 311, 2469, 527, 6799, 439, 264, 37582, 77152, 917, 13, 3053, 198, 19171, 387, 5300, 4669, 279, 4676, 7482, 1054, 4940, 790, 2114, 715, 25424, 19199, 863, 627, 2113, 7806, 2975, 1389, 362, 37582, 77152, 5446, 2385, 5665, 311, 3137, 311, 11, 422, 539, 1701, 279, 1670, 627, 18337, 198, 565, 2381, 3889, 97613, 77152, 56765, 38372, 4194, 4174, 530, 1944, 82, 11, 4194, 1131, 2608, 81651, 37582, 77152, 311, 2469, 16432, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 311, 2469, 1139, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 311, 2469, 1139, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.mastodon.MastodonTootsLoader.html
b454fe463ede-0
langchain.document_loaders.youtube.YoutubeLoader¶ class langchain.document_loaders.youtube.YoutubeLoader(video_id: str, add_video_info: bool = False, language: Union[str, Sequence[str]] = 'en', translation: str = 'en', continue_on_failure: bool = False)[source]¶ Bases: BaseLoader Loader that loads Youtube transcripts. Initialize with YouTube video ID. Methods __init__(video_id[, add_video_info, ...]) Initialize with YouTube video ID. extract_video_id(youtube_url) Extract video id from common YT urls. from_youtube_url(youtube_url, **kwargs) Given youtube URL, load video. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. static extract_video_id(youtube_url: str) → str[source]¶ Extract video id from common YT urls. classmethod from_youtube_url(youtube_url: str, **kwargs: Any) → YoutubeLoader[source]¶ Given youtube URL, load video. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 20751, 7659, 10432, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 20751, 7659, 10432, 9360, 41842, 851, 25, 610, 11, 923, 20402, 3186, 25, 1845, 284, 3641, 11, 4221, 25, 9323, 17752, 11, 29971, 17752, 5163, 284, 364, 268, 518, 14807, 25, 610, 284, 364, 268, 518, 3136, 4570, 44718, 25, 1845, 284, 3641, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 38403, 61412, 627, 10130, 449, 13674, 2835, 3110, 627, 18337, 198, 565, 2381, 3889, 10191, 851, 38372, 4194, 723, 20402, 3186, 11, 4194, 1131, 2608, 10130, 449, 13674, 2835, 3110, 627, 24396, 20402, 851, 7166, 10432, 2975, 340, 30059, 2835, 887, 505, 4279, 83092, 31084, 627, 1527, 4271, 10432, 2975, 7166, 10432, 2975, 11, 4194, 334, 9872, 340, 22818, 28277, 5665, 11, 2865, 2835, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 2020, 8819, 20402, 851, 7166, 10432, 2975, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 30059, 2835, 887, 505, 4279, 83092, 31084, 627, 27853, 505, 4271, 10432, 2975, 7166, 10432, 2975, 25, 610, 11, 3146, 9872, 25, 5884, 8, 11651, 38403, 9360, 76747, 60, 55609, 198, 22818, 28277, 5665, 11, 2865, 2835, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.youtube.YoutubeLoader.html
c16f49c5dc19-0
langchain.document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader¶ class langchain.document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader(urls: List[str], save_dir: str)[source]¶ Bases: BlobLoader Load YouTube urls as audio file(s). Methods __init__(urls, save_dir) yield_blobs() Yield audio blobs for each url. yield_blobs() → Iterable[Blob][source]¶ Yield audio blobs for each url.
[ 5317, 8995, 17926, 12693, 388, 97381, 12693, 388, 20751, 30788, 7659, 10432, 15097, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 97381, 12693, 388, 20751, 30788, 7659, 10432, 15097, 9360, 92282, 25, 1796, 17752, 1145, 3665, 4432, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 50539, 9360, 198, 6003, 13674, 31084, 439, 7855, 1052, 1161, 4390, 18337, 198, 565, 2381, 3889, 21141, 11, 4194, 6766, 4432, 340, 30796, 890, 69264, 746, 56, 823, 7855, 77999, 369, 1855, 2576, 627, 30796, 890, 69264, 368, 11651, 39116, 33722, 1718, 1483, 2484, 60, 55609, 198, 56, 823, 7855, 77999, 369, 1855, 2576, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader.html
6b4cac58103a-0
langchain.document_loaders.github.GitHubIssuesLoader¶ class langchain.document_loaders.github.GitHubIssuesLoader(*, repo: str, access_token: str, include_prs: bool = True, milestone: Optional[Union[int, Literal['*', 'none']]] = None, state: Optional[Literal['open', 'closed', 'all']] = None, assignee: Optional[str] = None, creator: Optional[str] = None, mentioned: Optional[str] = None, labels: Optional[List[str]] = None, sort: Optional[Literal['created', 'updated', 'comments']] = None, direction: Optional[Literal['asc', 'desc']] = None, since: Optional[str] = None)[source]¶ Bases: BaseGitHubLoader Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param access_token: str [Required]¶ Personal access token - see https://github.com/settings/tokens?type=beta param assignee: Optional[str] = None¶ Filter on assigned user. Pass ‘none’ for no user and ‘*’ for any user. param creator: Optional[str] = None¶ Filter on the user that created the issue. param direction: Optional[Literal['asc', 'desc']] = None¶ The direction to sort the results by. Can be one of: ‘asc’, ‘desc’. param include_prs: bool = True¶ If True include Pull Requests in results, otherwise ignore them. param labels: Optional[List[str]] = None¶ Label names to filter one. Example: bug,ui,@high. param mentioned: Optional[str] = None¶ Filter on a user that’s mentioned in the issue. param milestone: Optional[Union[int, Literal['*', 'none']]] = None¶
[ 5317, 8995, 17926, 12693, 388, 11267, 1246, 275, 19876, 86928, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 11267, 1246, 275, 19876, 86928, 9360, 4163, 11, 16246, 25, 610, 11, 2680, 6594, 25, 610, 11, 2997, 5407, 82, 25, 1845, 284, 3082, 11, 43291, 25, 12536, 58, 33758, 19155, 11, 50774, 681, 80405, 364, 6836, 663, 5163, 284, 2290, 11, 1614, 25, 12536, 58, 17802, 681, 2569, 518, 364, 35187, 518, 364, 543, 31940, 284, 2290, 11, 9993, 2176, 25, 12536, 17752, 60, 284, 2290, 11, 20514, 25, 12536, 17752, 60, 284, 2290, 11, 9932, 25, 12536, 17752, 60, 284, 2290, 11, 9382, 25, 12536, 53094, 17752, 5163, 284, 2290, 11, 3460, 25, 12536, 58, 17802, 681, 7266, 518, 364, 12030, 518, 364, 15069, 31940, 284, 2290, 11, 5216, 25, 12536, 58, 17802, 681, 5171, 518, 364, 8784, 31940, 284, 2290, 11, 2533, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 76715, 9360, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2680, 6594, 25, 610, 510, 8327, 60, 55609, 198, 35127, 2680, 4037, 482, 1518, 3788, 1129, 5316, 916, 30966, 5640, 9912, 87250, 28, 19674, 198, 913, 9993, 2176, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 5750, 389, 12893, 1217, 13, 10175, 3451, 6836, 529, 369, 912, 1217, 323, 3451, 9, 529, 369, 904, 1217, 627, 913, 20514, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 5750, 389, 279, 1217, 430, 3549, 279, 4360, 627, 913, 5216, 25, 12536, 58, 17802, 681, 5171, 518, 364, 8784, 31940, 284, 2290, 55609, 198, 791, 5216, 311, 3460, 279, 3135, 555, 13, 3053, 387, 832, 315, 25, 3451, 5171, 20182, 3451, 8784, 529, 627, 913, 2997, 5407, 82, 25, 1845, 284, 3082, 55609, 198, 2746, 3082, 2997, 32928, 51982, 304, 3135, 11, 6062, 10240, 1124, 627, 913, 9382, 25, 12536, 53094, 17752, 5163, 284, 2290, 55609, 198, 2535, 5144, 311, 4141, 832, 13, 13688, 25, 10077, 11, 2005, 32213, 12156, 627, 913, 9932, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 5750, 389, 264, 1217, 430, 753, 9932, 304, 279, 4360, 627, 913, 43291, 25, 12536, 58, 33758, 19155, 11, 50774, 681, 80405, 364, 6836, 663, 5163, 284, 2290, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.github.GitHubIssuesLoader.html
6b4cac58103a-1
param milestone: Optional[Union[int, Literal['*', 'none']]] = None¶ If integer is passed, it should be a milestone’s number field. If the string ‘*’ is passed, issues with any milestone are accepted. If the string ‘none’ is passed, issues without milestones are returned. param repo: str [Required]¶ Name of repository param since: Optional[str] = None¶ Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. param sort: Optional[Literal['created', 'updated', 'comments']] = None¶ What to sort results by. Can be one of: ‘created’, ‘updated’, ‘comments’. Default is ‘created’. param state: Optional[Literal['open', 'closed', 'all']] = None¶ Filter on issue state. Can be one of: ‘open’, ‘closed’, ‘all’. lazy_load() → Iterator[Document][source]¶ Get issues of a GitHub repository. Returns page_content metadata url title creator created_at last_update_time closed_time number of comments state labels assignee assignees milestone locked number is_pull_request Return type A list of Documents with attributes load() → List[Document][source]¶ Get issues of a GitHub repository. Returns page_content metadata url title creator created_at last_update_time closed_time number of comments state labels assignee assignees milestone locked number is_pull_request Return type A list of Documents with attributes load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 913, 43291, 25, 12536, 58, 33758, 19155, 11, 50774, 681, 80405, 364, 6836, 663, 5163, 284, 2290, 55609, 198, 2746, 7698, 374, 5946, 11, 433, 1288, 387, 264, 43291, 753, 1396, 2115, 627, 2746, 279, 925, 3451, 9, 529, 374, 5946, 11, 4819, 449, 904, 43291, 527, 11928, 627, 2746, 279, 925, 3451, 6836, 529, 374, 5946, 11, 4819, 2085, 69376, 527, 6052, 627, 913, 16246, 25, 610, 510, 8327, 60, 55609, 198, 678, 315, 12827, 198, 913, 2533, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 7456, 1501, 22736, 6177, 1306, 279, 2728, 892, 627, 2028, 374, 264, 11695, 304, 22705, 220, 18670, 16, 3645, 25, 61691, 19013, 41275, 3701, 39, 25, 8195, 25, 1242, 57, 627, 913, 3460, 25, 12536, 58, 17802, 681, 7266, 518, 364, 12030, 518, 364, 15069, 31940, 284, 2290, 55609, 198, 3923, 311, 3460, 3135, 555, 13, 3053, 387, 832, 315, 25, 3451, 7266, 20182, 3451, 12030, 20182, 3451, 15069, 529, 627, 3760, 374, 3451, 7266, 529, 627, 913, 1614, 25, 12536, 58, 17802, 681, 2569, 518, 364, 35187, 518, 364, 543, 31940, 284, 2290, 55609, 198, 5750, 389, 4360, 1614, 13, 3053, 387, 832, 315, 25, 3451, 2569, 20182, 3451, 35187, 20182, 3451, 543, 529, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 1991, 4819, 315, 264, 33195, 12827, 627, 16851, 198, 2964, 7647, 198, 18103, 198, 1103, 198, 2150, 198, 33498, 198, 7266, 3837, 198, 4354, 9058, 3084, 198, 35187, 3084, 198, 4174, 315, 6170, 198, 2513, 198, 17298, 198, 7128, 2176, 198, 7128, 5633, 198, 67697, 11046, 198, 25656, 198, 4174, 198, 285, 66793, 8052, 198, 5715, 955, 198, 32, 1160, 315, 45890, 449, 8365, 198, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 1991, 4819, 315, 264, 33195, 12827, 627, 16851, 198, 2964, 7647, 198, 18103, 198, 1103, 198, 2150, 198, 33498, 198, 7266, 3837, 198, 4354, 9058, 3084, 198, 35187, 3084, 198, 4174, 315, 6170, 198, 2513, 198, 17298, 198, 7128, 2176, 198, 7128, 5633, 198, 67697, 11046, 198, 25656, 198, 4174, 198, 285, 66793, 8052, 198, 5715, 955, 198, 32, 1160, 315, 45890, 449, 8365, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.github.GitHubIssuesLoader.html
6b4cac58103a-2
Load documents and split into chunks. parse_issue(issue: dict) → Document[source]¶ Create Document objects from a list of GitHub issues. validator validate_environment  »  all fields¶ Validate that access token exists in environment. validator validate_since  »  since[source]¶ property headers: Dict[str, str]¶ property query_params: str¶ property url: str¶
[ 6003, 9477, 323, 6859, 1139, 27855, 627, 6534, 54440, 95539, 25, 6587, 8, 11651, 12051, 76747, 60, 55609, 198, 4110, 12051, 6302, 505, 264, 1160, 315, 33195, 4819, 627, 16503, 9788, 52874, 4194, 8345, 4194, 682, 5151, 55609, 198, 18409, 430, 2680, 4037, 6866, 304, 4676, 627, 16503, 9788, 57362, 4194, 8345, 4194, 2533, 76747, 60, 55609, 198, 3784, 7247, 25, 30226, 17752, 11, 610, 60, 55609, 198, 3784, 3319, 6887, 25, 610, 55609, 198, 3784, 2576, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.github.GitHubIssuesLoader.html
370d2f22f974-0
langchain.document_loaders.parsers.html.bs4.BS4HTMLParser¶ class langchain.document_loaders.parsers.html.bs4.BS4HTMLParser(*, features: str = 'lxml', get_text_separator: str = '', **kwargs: Any)[source]¶ Bases: BaseBlobParser Parser that uses beautiful soup to parse HTML files. Initialize a bs4 based HTML parser. Methods __init__(*[, features, get_text_separator]) Initialize a bs4 based HTML parser. lazy_parse(blob) Load HTML document into document objects. parse(blob) Eagerly parse the blob into a document or documents. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Load HTML document into document objects. parse(blob: Blob) → List[Document]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 5317, 8995, 17926, 12693, 388, 76592, 2628, 54158, 19, 1823, 50, 19, 5959, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 2628, 54158, 19, 1823, 50, 19, 5959, 6707, 4163, 11, 4519, 25, 610, 284, 364, 75, 6591, 518, 636, 4424, 59304, 25, 610, 284, 9158, 3146, 9872, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 39085, 6707, 198, 6707, 430, 5829, 6366, 19724, 311, 4820, 9492, 3626, 627, 10130, 264, 17502, 19, 3196, 9492, 6871, 627, 18337, 198, 565, 2381, 69106, 38372, 4194, 20922, 11, 4194, 456, 4424, 59304, 2608, 10130, 264, 17502, 19, 3196, 9492, 6871, 627, 50113, 21715, 69038, 340, 6003, 9492, 2246, 1139, 2246, 6302, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9492, 2246, 1139, 2246, 6302, 627, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.html.bs4.BS4HTMLParser.html
b40d6ea218c4-0
langchain.document_loaders.reddit.RedditPostsLoader¶ class langchain.document_loaders.reddit.RedditPostsLoader(client_id: str, client_secret: str, user_agent: str, search_queries: Sequence[str], mode: str, categories: Sequence[str] = ['new'], number_posts: Optional[int] = 10)[source]¶ Bases: BaseLoader Reddit posts loader. Read posts on a subreddit. First you need to go to https://www.reddit.com/prefs/apps/ and create your application Methods __init__(client_id, client_secret, ...[, ...]) lazy_load() A lazy loader for document content. load() Load reddits. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load reddits. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 56873, 21616, 18225, 20204, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 56873, 21616, 18225, 20204, 9360, 13097, 851, 25, 610, 11, 3016, 22729, 25, 610, 11, 1217, 26814, 25, 610, 11, 2778, 66688, 25, 29971, 17752, 1145, 3941, 25, 610, 11, 11306, 25, 29971, 17752, 60, 284, 2570, 943, 4181, 1396, 20835, 25, 12536, 19155, 60, 284, 220, 605, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 61574, 8158, 16432, 627, 4518, 8158, 389, 264, 63192, 627, 5451, 499, 1205, 311, 733, 311, 198, 2485, 1129, 2185, 56873, 916, 4420, 16541, 51987, 6018, 438, 1893, 701, 3851, 198, 18337, 198, 565, 2381, 3889, 3045, 851, 11, 4194, 3045, 22729, 11, 4194, 1131, 38372, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 63244, 1220, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 63244, 1220, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.reddit.RedditPostsLoader.html
85bb077f263b-0
langchain.document_loaders.csv_loader.UnstructuredCSVLoader¶ class langchain.document_loaders.csv_loader.UnstructuredCSVLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load CSV files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 11468, 22927, 10840, 52243, 45309, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 11468, 22927, 10840, 52243, 45309, 9360, 4971, 2703, 25, 610, 11, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 28545, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.csv_loader.UnstructuredCSVLoader.html
8962a51838b4-0
langchain.document_loaders.blob_loaders.file_system.FileSystemBlobLoader¶ class langchain.document_loaders.blob_loaders.file_system.FileSystemBlobLoader(path: Union[str, Path], *, glob: str = '**/[!.]*', suffixes: Optional[Sequence[str]] = None, show_progress: bool = False)[source]¶ Bases: BlobLoader Blob loader for the local file system. Example: from langchain.document_loaders.blob_loaders import FileSystemBlobLoader loader = FileSystemBlobLoader("/path/to/directory") for blob in loader.yield_blobs(): print(blob) Initialize with path to directory and how to glob over it. Parameters path – Path to directory to load from glob – Glob pattern relative to the specified path by default set to pick up all non-hidden files suffixes – Provide to keep only files with these suffixes Useful when wanting to keep files with different suffixes Suffixes must include the dot, e.g. “.txt” show_progress – If true, will show a progress bar as the files are loaded. This forces an iteration through all matching files to count them prior to loading them. Examples: … code-block:: python # Recursively load all text files in a directory. loader = FileSystemBlobLoader(“/path/to/directory”, glob=”**/*.txt”) # Recursively load all non-hidden files in a directory. loader = FileSystemBlobLoader(“/path/to/directory”, glob=”**/[!.]*”) # Load all files in a directory without recursion. loader = FileSystemBlobLoader(“/path/to/directory”, glob=”*”) Methods __init__(path, *[, glob, suffixes, ...]) Initialize with path to directory and how to glob over it. count_matching_files()
[ 5317, 8995, 17926, 12693, 388, 97381, 12693, 388, 9914, 18155, 87924, 39085, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 97381, 12693, 388, 9914, 18155, 87924, 39085, 9360, 5698, 25, 9323, 17752, 11, 8092, 1145, 12039, 13509, 25, 610, 284, 78265, 45610, 15725, 8632, 518, 21166, 288, 25, 12536, 58, 14405, 17752, 5163, 284, 2290, 11, 1501, 28299, 25, 1845, 284, 3641, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 50539, 9360, 198, 39085, 16432, 369, 279, 2254, 1052, 1887, 627, 13617, 512, 1527, 8859, 8995, 17926, 12693, 388, 97381, 12693, 388, 1179, 54561, 39085, 9360, 198, 8520, 284, 54561, 39085, 9360, 4380, 2398, 33529, 3529, 4863, 1158, 2000, 24295, 304, 16432, 2441, 823, 890, 69264, 4019, 262, 1194, 69038, 340, 10130, 449, 1853, 311, 6352, 323, 1268, 311, 13509, 927, 433, 627, 9905, 198, 2398, 1389, 8092, 311, 6352, 311, 2865, 505, 198, 60026, 1389, 63388, 5497, 8844, 311, 279, 5300, 1853, 198, 1729, 1670, 743, 311, 3820, 709, 682, 2536, 13609, 3626, 198, 27884, 288, 1389, 40665, 311, 2567, 1193, 3626, 449, 1521, 21166, 288, 198, 10464, 1285, 994, 19762, 311, 2567, 3626, 449, 2204, 21166, 288, 198, 41277, 288, 2011, 2997, 279, 13046, 11, 384, 1326, 13, 1054, 13, 8754, 89874, 3528, 28299, 1389, 1442, 837, 11, 690, 1501, 264, 5208, 3703, 439, 279, 3626, 527, 6799, 627, 2028, 8603, 459, 20140, 1555, 682, 12864, 3626, 198, 998, 1797, 1124, 4972, 311, 8441, 1124, 627, 41481, 512, 1981, 2082, 9612, 487, 10344, 198, 2, 4158, 80837, 2865, 682, 1495, 3626, 304, 264, 6352, 627, 8520, 284, 54561, 39085, 9360, 7, 2118, 14, 2398, 33529, 3529, 4863, 9520, 13509, 45221, 334, 24449, 8754, 863, 340, 2, 4158, 80837, 2865, 682, 2536, 13609, 3626, 304, 264, 6352, 627, 8520, 284, 54561, 39085, 9360, 7, 2118, 14, 2398, 33529, 3529, 4863, 9520, 13509, 45221, 334, 45610, 15725, 8632, 863, 340, 2, 9069, 682, 3626, 304, 264, 6352, 2085, 51362, 627, 8520, 284, 54561, 39085, 9360, 7, 2118, 14, 2398, 33529, 3529, 4863, 9520, 13509, 45221, 9, 863, 340, 18337, 198, 565, 2381, 3889, 2398, 11, 4194, 9, 38372, 4194, 60026, 11, 4194, 27884, 288, 11, 4194, 1131, 2608, 10130, 449, 1853, 311, 6352, 323, 1268, 311, 13509, 927, 433, 627, 1868, 71863, 11171, 368 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blob_loaders.file_system.FileSystemBlobLoader.html
8962a51838b4-1
Initialize with path to directory and how to glob over it. count_matching_files() Count files that match the pattern without loading them. yield_blobs() Yield blobs that match the requested pattern. count_matching_files() → int[source]¶ Count files that match the pattern without loading them. yield_blobs() → Iterable[Blob][source]¶ Yield blobs that match the requested pattern.
[ 10130, 449, 1853, 311, 6352, 323, 1268, 311, 13509, 927, 433, 627, 1868, 71863, 11171, 746, 2568, 3626, 430, 2489, 279, 5497, 2085, 8441, 1124, 627, 30796, 890, 69264, 746, 56, 823, 77999, 430, 2489, 279, 11472, 5497, 627, 1868, 71863, 11171, 368, 11651, 528, 76747, 60, 55609, 198, 2568, 3626, 430, 2489, 279, 5497, 2085, 8441, 1124, 627, 30796, 890, 69264, 368, 11651, 39116, 33722, 1718, 1483, 2484, 60, 55609, 198, 56, 823, 77999, 430, 2489, 279, 11472, 5497, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blob_loaders.file_system.FileSystemBlobLoader.html
4368cbbf41f6-0
langchain.document_loaders.git.GitLoader¶ class langchain.document_loaders.git.GitLoader(repo_path: str, clone_url: Optional[str] = None, branch: Optional[str] = 'main', file_filter: Optional[Callable[[str], bool]] = None)[source]¶ Bases: BaseLoader Loads files from a Git repository into a list of documents. Repository can be local on disk available at repo_path, or remote at clone_url that will be cloned to repo_path. Currently supports only text files. Each document represents one file in the repository. The path points to the local Git repository, and the branch specifies the branch to load files from. By default, it loads from the main branch. Methods __init__(repo_path[, clone_url, branch, ...]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 33899, 1246, 275, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 33899, 1246, 275, 9360, 51708, 2703, 25, 610, 11, 15057, 2975, 25, 12536, 17752, 60, 284, 2290, 11, 9046, 25, 12536, 17752, 60, 284, 364, 3902, 518, 1052, 8901, 25, 12536, 58, 41510, 15873, 496, 1145, 1845, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 3626, 505, 264, 21804, 12827, 1139, 264, 1160, 315, 9477, 627, 4727, 649, 387, 2254, 389, 13668, 2561, 520, 16246, 2703, 345, 269, 8870, 520, 15057, 2975, 430, 690, 387, 55219, 311, 16246, 2703, 627, 34814, 11815, 1193, 1495, 3626, 627, 4959, 2246, 11105, 832, 1052, 304, 279, 12827, 13, 578, 1853, 3585, 311, 198, 1820, 2254, 21804, 12827, 11, 323, 279, 9046, 30202, 279, 9046, 311, 2865, 198, 7346, 505, 13, 3296, 1670, 11, 433, 21577, 505, 279, 1925, 9046, 627, 18337, 198, 565, 2381, 3889, 24373, 2703, 38372, 4194, 20579, 2975, 11, 4194, 18424, 11, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.git.GitLoader.html
325025ab9fac-0
langchain.document_loaders.acreom.AcreomLoader¶ class langchain.document_loaders.acreom.AcreomLoader(path: str, encoding: str = 'UTF-8', collect_metadata: bool = True)[source]¶ Bases: BaseLoader Initialize with path. Methods __init__(path[, encoding, collect_metadata]) Initialize with path. lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. Attributes FRONT_MATTER_REGEX lazy_load() → Iterator[Document][source]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. FRONT_MATTER_REGEX = re.compile('^---\\n(.*?)\\n---\\n', re.MULTILINE|re.DOTALL)¶
[ 5317, 8995, 17926, 12693, 388, 15761, 265, 316, 885, 846, 316, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 15761, 265, 316, 885, 846, 316, 9360, 5698, 25, 610, 11, 11418, 25, 610, 284, 364, 8729, 12, 23, 518, 6667, 23012, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 10130, 449, 1853, 627, 18337, 198, 565, 2381, 3889, 2398, 38372, 4194, 17600, 11, 4194, 17840, 23012, 2608, 10130, 449, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 10725, 10443, 1267, 50783, 57296, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 10725, 10443, 1267, 50783, 57296, 284, 312, 19458, 87185, 4521, 3505, 77, 7, 85425, 3505, 77, 4521, 3505, 77, 518, 312, 93664, 96682, 91, 265, 920, 1831, 4006, 8, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.acreom.AcreomLoader.html
ae629afcd342-0
langchain.document_loaders.email.OutlookMessageLoader¶ class langchain.document_loaders.email.OutlookMessageLoader(file_path: str)[source]¶ Bases: BaseLoader Loader that loads Outlook Message files using extract_msg. https://github.com/TeamMsgExtractor/msg-extractor Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 10048, 48278, 7349, 2097, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 10048, 48278, 7349, 2097, 9360, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 42158, 4961, 3626, 1701, 8819, 6619, 627, 2485, 1129, 5316, 916, 14, 14939, 6749, 57218, 81865, 10397, 55866, 198, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.email.OutlookMessageLoader.html
b50daebb4e93-0
langchain.document_loaders.url.UnstructuredURLLoader¶ class langchain.document_loaders.url.UnstructuredURLLoader(urls: List[str], continue_on_failure: bool = True, mode: str = 'single', show_progress_bar: bool = False, **unstructured_kwargs: Any)[source]¶ Bases: BaseLoader Loader that uses unstructured to load HTML files. Initialize with file path. Methods __init__(urls[, continue_on_failure, mode, ...]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 7464, 10840, 52243, 3222, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 7464, 10840, 52243, 3222, 9360, 92282, 25, 1796, 17752, 1145, 3136, 4570, 44718, 25, 1845, 284, 3082, 11, 3941, 25, 610, 284, 364, 15698, 518, 1501, 28299, 14725, 25, 1845, 284, 3641, 11, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 9492, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 21141, 38372, 4194, 9726, 4570, 44718, 11, 4194, 8684, 11, 4194, 1131, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.url.UnstructuredURLLoader.html
e531079441f7-0
langchain.document_loaders.parsers.txt.TextParser¶ class langchain.document_loaders.parsers.txt.TextParser[source]¶ Bases: BaseBlobParser Parser for text blobs. Methods __init__() lazy_parse(blob) Lazily parse the blob. parse(blob) Eagerly parse the blob into a document or documents. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Lazily parse the blob. parse(blob: Blob) → List[Document]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 5317, 8995, 17926, 12693, 388, 76592, 3996, 2021, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 3996, 2021, 6707, 76747, 60, 55609, 198, 33, 2315, 25, 5464, 39085, 6707, 198, 6707, 369, 1495, 77999, 627, 18337, 198, 565, 2381, 33716, 50113, 21715, 69038, 340, 43, 1394, 1570, 4820, 279, 24295, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 43, 1394, 1570, 4820, 279, 24295, 627, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.txt.TextParser.html
ee0510748a4e-0
langchain.document_loaders.s3_file.S3FileLoader¶ class langchain.document_loaders.s3_file.S3FileLoader(bucket: str, key: str)[source]¶ Bases: BaseLoader Loading logic for loading documents from s3. Initialize with bucket and key name. Methods __init__(bucket, key) Initialize with bucket and key name. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 516, 18, 2517, 815, 18, 1738, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 516, 18, 2517, 815, 18, 1738, 9360, 60034, 25, 610, 11, 1401, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 274, 18, 627, 10130, 449, 15994, 323, 1401, 836, 627, 18337, 198, 565, 2381, 3889, 31510, 11, 4194, 798, 340, 10130, 449, 15994, 323, 1401, 836, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.s3_file.S3FileLoader.html
60566dc010e7-0
langchain.document_loaders.gitbook.GitbookLoader¶ class langchain.document_loaders.gitbook.GitbookLoader(web_page: str, load_all_paths: bool = False, base_url: Optional[str] = None, content_selector: str = 'main')[source]¶ Bases: WebBaseLoader Load GitBook data. load from either a single page, or load all (relative) paths in the navbar. Initialize with web page and whether to load all paths. Parameters web_page – The web page to load or the starting point from where relative paths are discovered. load_all_paths – If set to True, all relative paths in the navbar are loaded instead of only web_page. base_url – If load_all_paths is True, the relative paths are appended to this base url. Defaults to web_page if not set. Methods __init__(web_page[, load_all_paths, ...]) Initialize with web page and whether to load all paths. aload() Load text from the urls in web_path async into Documents. fetch_all(urls) Fetch all urls concurrently with rate limiting. lazy_load() Lazy load text from the url(s) in web_path. load() Fetch text from one single GitBook page. load_and_split([text_splitter]) Load documents and split into chunks. scrape([parser]) Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls[, parser]) Fetch all urls, then return soups for all results. Attributes bs_get_text_kwargs kwargs for beatifulsoup4 get_text default_parser Default parser to use for BeautifulSoup. raise_for_status Raise an exception if http status code denotes an error. requests_kwargs kwargs for requests requests_per_second Max number of concurrent requests to make. web_path
[ 5317, 8995, 17926, 12693, 388, 33899, 2239, 1246, 275, 2239, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 33899, 2239, 1246, 275, 2239, 9360, 40869, 6257, 25, 610, 11, 2865, 5823, 25124, 25, 1845, 284, 3641, 11, 2385, 2975, 25, 12536, 17752, 60, 284, 2290, 11, 2262, 29990, 25, 610, 284, 364, 3902, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5000, 4066, 9360, 198, 6003, 21804, 7280, 828, 627, 1096, 505, 3060, 264, 3254, 2199, 11, 477, 198, 1096, 682, 320, 21064, 8, 13006, 304, 279, 15918, 627, 10130, 449, 3566, 2199, 323, 3508, 311, 2865, 682, 13006, 627, 9905, 198, 2984, 6257, 1389, 578, 3566, 2199, 311, 2865, 477, 279, 6041, 1486, 505, 1405, 198, 21064, 13006, 527, 11352, 627, 1096, 5823, 25124, 1389, 1442, 743, 311, 3082, 11, 682, 8844, 13006, 304, 279, 15918, 198, 548, 6799, 4619, 315, 1193, 3566, 6257, 627, 3231, 2975, 1389, 1442, 2865, 5823, 25124, 374, 3082, 11, 279, 8844, 13006, 527, 198, 680, 2954, 311, 420, 2385, 2576, 13, 37090, 311, 3566, 6257, 422, 539, 743, 627, 18337, 198, 565, 2381, 3889, 2984, 6257, 38372, 4194, 1096, 5823, 25124, 11, 4194, 1131, 2608, 10130, 449, 3566, 2199, 323, 3508, 311, 2865, 682, 13006, 627, 55496, 746, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 9838, 5823, 92282, 340, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 746, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 746, 21373, 1495, 505, 832, 3254, 21804, 7280, 2199, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 2625, 9854, 2608, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 38372, 4194, 9854, 2608, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 10738, 198, 1302, 3138, 4424, 37335, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 2984, 2703 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.gitbook.GitbookLoader.html
60566dc010e7-1
kwargs for requests requests_per_second Max number of concurrent requests to make. web_path aload() → List[Document]¶ Load text from the urls in web_path async into Documents. async fetch_all(urls: List[str]) → Any¶ Fetch all urls concurrently with rate limiting. lazy_load() → Iterator[Document]¶ Lazy load text from the url(s) in web_path. load() → List[Document][source]¶ Fetch text from one single GitBook page. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. scrape(parser: Optional[str] = None) → Any¶ Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls: List[str], parser: Optional[str] = None) → List[Any]¶ Fetch all urls, then return soups for all results. bs_get_text_kwargs: Dict[str, Any] = {}¶ kwargs for beatifulsoup4 get_text default_parser: str = 'html.parser'¶ Default parser to use for BeautifulSoup. raise_for_status: bool = False¶ Raise an exception if http status code denotes an error. requests_kwargs: Dict[str, Any] = {}¶ kwargs for requests requests_per_second: int = 2¶ Max number of concurrent requests to make. property web_path: str¶ web_paths: List[str]¶
[ 9872, 369, 7540, 198, 37342, 5796, 30744, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 2984, 2703, 198, 55496, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 7847, 7963, 5823, 92282, 25, 1796, 17752, 2526, 11651, 5884, 55609, 198, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 21373, 1495, 505, 832, 3254, 21804, 7280, 2199, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 36435, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 5884, 55609, 198, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 25, 1796, 17752, 1145, 6871, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 71401, 60, 55609, 198, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 1302, 3138, 4424, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 25, 610, 284, 364, 1580, 26699, 6, 55609, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 25, 1845, 284, 3641, 55609, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 25, 528, 284, 220, 17, 55609, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 3784, 3566, 2703, 25, 610, 55609, 198, 2984, 25124, 25, 1796, 17752, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.gitbook.GitbookLoader.html
d945442dbdc3-0
langchain.document_loaders.s3_directory.S3DirectoryLoader¶ class langchain.document_loaders.s3_directory.S3DirectoryLoader(bucket: str, prefix: str = '')[source]¶ Bases: BaseLoader Loading logic for loading documents from s3. Initialize with bucket and key name. Methods __init__(bucket[, prefix]) Initialize with bucket and key name. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 516, 18, 15191, 815, 18, 9494, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 516, 18, 15191, 815, 18, 9494, 9360, 60034, 25, 610, 11, 9436, 25, 610, 284, 364, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 274, 18, 627, 10130, 449, 15994, 323, 1401, 836, 627, 18337, 198, 565, 2381, 3889, 31510, 38372, 4194, 12113, 2608, 10130, 449, 15994, 323, 1401, 836, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.s3_directory.S3DirectoryLoader.html
79078f878752-0
langchain.document_loaders.org_mode.UnstructuredOrgModeLoader¶ class langchain.document_loaders.org_mode.UnstructuredOrgModeLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load Org-Mode files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 2726, 7450, 10840, 52243, 43537, 3720, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 2726, 7450, 10840, 52243, 43537, 3720, 9360, 4971, 2703, 25, 610, 11, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 34806, 12, 3720, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.org_mode.UnstructuredOrgModeLoader.html
eea12b40c112-0
langchain.document_loaders.pdf.PDFMinerLoader¶ class langchain.document_loaders.pdf.PDFMinerLoader(file_path: str)[source]¶ Bases: BasePDFLoader Loader that uses PDFMiner to load PDF files. Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() Lazily lod documents. load() Eagerly load the content. load_and_split([text_splitter]) Load documents and split into chunks. Attributes source lazy_load() → Iterator[Document][source]¶ Lazily lod documents. load() → List[Document][source]¶ Eagerly load the content. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. property source: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 1087, 5375, 6349, 261, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 1087, 5375, 6349, 261, 9360, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 24317, 9360, 198, 9360, 430, 5829, 11612, 6349, 261, 311, 2865, 11612, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 43, 1394, 1570, 36132, 9477, 627, 1096, 746, 36, 1435, 398, 2865, 279, 2262, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 2484, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 43, 1394, 1570, 36132, 9477, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 36, 1435, 398, 2865, 279, 2262, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 3784, 2592, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.PDFMinerLoader.html
6b09cc83d551-0
langchain.document_loaders.parsers.pdf.PDFPlumberParser¶ class langchain.document_loaders.parsers.pdf.PDFPlumberParser(text_kwargs: Optional[Mapping[str, Any]] = None)[source]¶ Bases: BaseBlobParser Parse PDFs with PDFPlumber. Initialize the parser. Parameters text_kwargs – Keyword arguments to pass to pdfplumber.Page.extract_text() Methods __init__([text_kwargs]) Initialize the parser. lazy_parse(blob) Lazily parse the blob. parse(blob) Eagerly parse the blob into a document or documents. lazy_parse(blob: Blob) → Iterator[Document][source]¶ Lazily parse the blob. parse(blob: Blob) → List[Document]¶ Eagerly parse the blob into a document or documents. This is a convenience method for interactive development environment. Production applications should favor the lazy_parse method instead. Subclasses should generally not over-ride this parse method. Parameters blob – Blob instance Returns List of documents
[ 5317, 8995, 17926, 12693, 388, 76592, 16378, 1087, 5375, 2169, 900, 6707, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 16378, 1087, 5375, 2169, 900, 6707, 7383, 37335, 25, 12536, 58, 6950, 17752, 11, 5884, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 39085, 6707, 198, 14802, 11612, 82, 449, 11612, 2169, 900, 627, 10130, 279, 6871, 627, 9905, 198, 1342, 37335, 1389, 50070, 6105, 311, 1522, 311, 13072, 501, 900, 18018, 38458, 4424, 746, 18337, 198, 565, 2381, 565, 2625, 1342, 37335, 2608, 10130, 279, 6871, 627, 50113, 21715, 69038, 340, 43, 1394, 1570, 4820, 279, 24295, 627, 6534, 69038, 340, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 50113, 21715, 69038, 25, 50539, 8, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 43, 1394, 1570, 4820, 279, 24295, 627, 6534, 69038, 25, 50539, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 36, 1435, 398, 4820, 279, 24295, 1139, 264, 2246, 477, 9477, 627, 2028, 374, 264, 19679, 1749, 369, 21416, 4500, 4676, 627, 46067, 8522, 1288, 4799, 279, 16053, 21715, 1749, 4619, 627, 3214, 9031, 1288, 8965, 539, 927, 12, 1425, 420, 4820, 1749, 627, 9905, 198, 36212, 1389, 50539, 2937, 198, 16851, 198, 861, 315, 9477 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.pdf.PDFPlumberParser.html
09efc5473015-0
langchain.document_loaders.pdf.OnlinePDFLoader¶ class langchain.document_loaders.pdf.OnlinePDFLoader(file_path: str)[source]¶ Bases: BasePDFLoader Loader that loads online PDFs. Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. Attributes source lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. property source: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 8231, 1074, 24317, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 8231, 1074, 24317, 9360, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 24317, 9360, 198, 9360, 430, 21577, 2930, 11612, 82, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 2484, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 3784, 2592, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.OnlinePDFLoader.html
5b30defe9918-0
langchain.document_loaders.blockchain.BlockchainDocumentLoader¶ class langchain.document_loaders.blockchain.BlockchainDocumentLoader(contract_address: str, blockchainType: BlockchainType = BlockchainType.ETH_MAINNET, api_key: str = 'docs-demo', startToken: str = '', get_all_tokens: bool = False, max_execution_time: Optional[int] = None)[source]¶ Bases: BaseLoader Loads elements from a blockchain smart contract into Langchain documents. The supported blockchains are: Ethereum mainnet, Ethereum Goerli testnet, Polygon mainnet, and Polygon Mumbai testnet. If no BlockchainType is specified, the default is Ethereum mainnet. The Loader uses the Alchemy API to interact with the blockchain. ALCHEMY_API_KEY environment variable must be set to use this loader. The API returns 100 NFTs per request and can be paginated using the startToken parameter. If get_all_tokens is set to True, the loader will get all tokens on the contract. Note that for contracts with a large number of tokens, this may take a long time (e.g. 10k tokens is 100 requests). Default value is false for this reason. The max_execution_time (sec) can be set to limit the execution time of the loader. Future versions of this loader can: Support additional Alchemy APIs (e.g. getTransactions, etc.) Support additional blockain APIs (e.g. Infura, Opensea, etc.) Methods __init__(contract_address[, blockchainType, ...]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content.
[ 5317, 8995, 17926, 12693, 388, 16072, 8995, 29577, 8995, 7676, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16072, 8995, 29577, 8995, 7676, 9360, 85513, 6886, 25, 610, 11, 18428, 941, 25, 43985, 941, 284, 43985, 941, 13, 7780, 33376, 15734, 11, 6464, 3173, 25, 610, 284, 364, 14452, 59993, 518, 1212, 3404, 25, 610, 284, 9158, 636, 5823, 29938, 25, 1845, 284, 3641, 11, 1973, 62048, 3084, 25, 12536, 19155, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 5540, 505, 264, 18428, 7941, 5226, 1139, 23272, 8995, 9477, 627, 791, 7396, 2565, 59458, 527, 25, 35046, 1925, 4816, 11, 35046, 6122, 261, 747, 1296, 4816, 345, 38719, 1925, 4816, 11, 323, 49259, 35812, 1296, 4816, 627, 2746, 912, 43985, 941, 374, 5300, 11, 279, 1670, 374, 35046, 1925, 4816, 627, 791, 28911, 5829, 279, 1708, 25055, 5446, 311, 16681, 449, 279, 18428, 627, 86155, 11669, 6738, 4676, 3977, 2011, 387, 743, 311, 1005, 420, 16432, 627, 791, 5446, 4780, 220, 1041, 452, 4082, 82, 824, 1715, 323, 649, 387, 15117, 15846, 1701, 279, 198, 2527, 3404, 5852, 627, 2746, 636, 5823, 29938, 374, 743, 311, 3082, 11, 279, 16432, 690, 636, 682, 11460, 198, 263, 279, 5226, 13, 220, 7181, 430, 369, 17517, 449, 264, 3544, 1396, 315, 11460, 345, 576, 1253, 1935, 264, 1317, 892, 320, 68, 1326, 13, 220, 605, 74, 11460, 374, 220, 1041, 7540, 4390, 3760, 907, 374, 905, 369, 420, 2944, 627, 791, 1973, 62048, 3084, 320, 5132, 8, 649, 387, 743, 311, 4017, 279, 11572, 892, 198, 1073, 279, 16432, 627, 25184, 11028, 315, 420, 16432, 649, 512, 8075, 5217, 1708, 25055, 34456, 320, 68, 1326, 13, 636, 49861, 11, 5099, 29275, 8075, 5217, 2565, 467, 34456, 320, 68, 1326, 13, 15268, 5808, 11, 10901, 1137, 64, 11, 5099, 29275, 18337, 198, 565, 2381, 3889, 20871, 6886, 38372, 4194, 4677, 8995, 941, 11, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blockchain.BlockchainDocumentLoader.html
5b30defe9918-1
lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.blockchain.BlockchainDocumentLoader.html
0df47141d499-0
langchain.document_loaders.azure_blob_storage_container.AzureBlobStorageContainerLoader¶ class langchain.document_loaders.azure_blob_storage_container.AzureBlobStorageContainerLoader(conn_str: str, container: str, prefix: str = '')[source]¶ Bases: BaseLoader Loading logic for loading documents from Azure Blob Storage. Initialize with connection string, container and blob prefix. Methods __init__(conn_str, container[, prefix]) Initialize with connection string, container and blob prefix. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 71340, 47008, 24192, 16226, 58927, 39085, 5913, 4603, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 71340, 47008, 24192, 16226, 58927, 39085, 5913, 4603, 9360, 21214, 2966, 25, 610, 11, 5593, 25, 610, 11, 9436, 25, 610, 284, 364, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 35219, 50539, 15035, 627, 10130, 449, 3717, 925, 11, 5593, 323, 24295, 9436, 627, 18337, 198, 565, 2381, 3889, 5259, 2966, 11, 4194, 3670, 38372, 4194, 12113, 2608, 10130, 449, 3717, 925, 11, 5593, 323, 24295, 9436, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.azure_blob_storage_container.AzureBlobStorageContainerLoader.html
c08fe2f162e9-0
langchain.document_loaders.arxiv.ArxivLoader¶ class langchain.document_loaders.arxiv.ArxivLoader(query: str, load_max_docs: Optional[int] = 100, load_all_available_meta: Optional[bool] = False)[source]¶ Bases: BaseLoader Loads a query result from arxiv.org into a list of Documents. Each document represents one Document. The loader converts the original PDF format into the text. Methods __init__(query[, load_max_docs, ...]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 17126, 89833, 885, 12940, 344, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 17126, 89833, 885, 12940, 344, 9360, 10974, 25, 610, 11, 2865, 6479, 50792, 25, 12536, 19155, 60, 284, 220, 1041, 11, 2865, 5823, 28060, 13686, 25, 12536, 58, 2707, 60, 284, 3641, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 264, 3319, 1121, 505, 802, 89833, 2726, 1139, 264, 1160, 315, 45890, 627, 4959, 2246, 11105, 832, 12051, 627, 791, 16432, 33822, 279, 4113, 11612, 3645, 1139, 279, 1495, 627, 18337, 198, 565, 2381, 3889, 1663, 38372, 4194, 1096, 6479, 50792, 11, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.arxiv.ArxivLoader.html
99c8ee12325d-0
langchain.document_loaders.directory.DirectoryLoader¶ class langchain.document_loaders.directory.DirectoryLoader(path: str, glob: str = '**/[!.]*', silent_errors: bool = False, load_hidden: bool = False, loader_cls: ~typing.Union[~typing.Type[~langchain.document_loaders.unstructured.UnstructuredFileLoader], ~typing.Type[~langchain.document_loaders.text.TextLoader], ~typing.Type[~langchain.document_loaders.html_bs.BSHTMLLoader]] = <class 'langchain.document_loaders.unstructured.UnstructuredFileLoader'>, loader_kwargs: ~typing.Optional[dict] = None, recursive: bool = False, show_progress: bool = False, use_multithreading: bool = False, max_concurrency: int = 4)[source]¶ Bases: BaseLoader Loading logic for loading documents from a directory. Initialize with path to directory and how to glob over it. Methods __init__(path[, glob, silent_errors, ...]) Initialize with path to directory and how to glob over it. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. load_file(item, path, docs, pbar) lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. load_file(item: Path, path: Path, docs: List[Document], pbar: Optional[Any]) → None[source]¶
[ 5317, 8995, 17926, 12693, 388, 61037, 55207, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 61037, 55207, 9360, 5698, 25, 610, 11, 13509, 25, 610, 284, 78265, 45610, 15725, 8632, 518, 21737, 20808, 25, 1845, 284, 3641, 11, 2865, 27837, 25, 1845, 284, 3641, 11, 16432, 39756, 25, 4056, 90902, 10840, 290, 58, 93, 90902, 10394, 58, 93, 5317, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 1738, 9360, 1145, 4056, 90902, 10394, 58, 93, 5317, 8995, 17926, 12693, 388, 2858, 2021, 9360, 1145, 4056, 90902, 10394, 58, 93, 5317, 8995, 17926, 12693, 388, 2628, 69650, 1823, 50, 5959, 9360, 5163, 284, 366, 1058, 364, 5317, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 1738, 9360, 6404, 11, 16432, 37335, 25, 4056, 90902, 37464, 58, 8644, 60, 284, 2290, 11, 31919, 25, 1845, 284, 3641, 11, 1501, 28299, 25, 1845, 284, 3641, 11, 1005, 27386, 411, 6285, 25, 1845, 284, 3641, 11, 1973, 3464, 16353, 25, 528, 284, 220, 19, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 264, 6352, 627, 10130, 449, 1853, 311, 6352, 323, 1268, 311, 13509, 927, 433, 627, 18337, 198, 565, 2381, 3889, 2398, 38372, 4194, 60026, 11, 4194, 69758, 20808, 11, 4194, 1131, 2608, 10130, 449, 1853, 311, 6352, 323, 1268, 311, 13509, 927, 433, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 2517, 5508, 11, 4194, 2398, 11, 4194, 14452, 11, 4194, 79, 2308, 340, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 2517, 5508, 25, 8092, 11, 1853, 25, 8092, 11, 27437, 25, 1796, 58, 7676, 1145, 281, 2308, 25, 12536, 71401, 2526, 11651, 2290, 76747, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.directory.DirectoryLoader.html
537f7ffc44f8-0
langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters¶ class langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters[source]¶ Bases: TypedDict Parameters for the embaas document extraction API. Methods __init__(*args, **kwargs) clear() copy() fromkeys([value]) Create a new dictionary with keys from iterable and values set to value. get(key[, default]) Return the value for key if key is in the dictionary, else default. items() keys() pop(k[,d]) If the key is not found, return the default if given; otherwise, raise a KeyError. popitem() Remove and return a (key, value) pair as a 2-tuple. setdefault(key[, default]) Insert key with a value of default if key is not in the dictionary. update([E, ]**F) If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] values() Attributes mime_type The mime type of the document. file_extension The file extension of the document. file_name The file name of the document. should_chunk Whether to chunk the document into pages. chunk_size The maximum size of the text chunks. chunk_overlap The maximum overlap allowed between chunks. chunk_splitter The text splitter class name for creating chunks. separators The separators for chunks. should_embed Whether to create embeddings for the document in the response.
[ 5317, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 9905, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 9905, 76747, 60, 55609, 198, 33, 2315, 25, 51654, 13755, 198, 9905, 369, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 18337, 198, 565, 2381, 69106, 2164, 11, 4194, 334, 9872, 340, 7574, 746, 8728, 746, 1527, 10786, 2625, 970, 2608, 4110, 264, 502, 11240, 449, 7039, 505, 51934, 323, 2819, 743, 311, 907, 627, 456, 4962, 38372, 4194, 2309, 2608, 5715, 279, 907, 369, 1401, 422, 1401, 374, 304, 279, 11240, 11, 775, 1670, 627, 3699, 746, 10786, 746, 8539, 6097, 38372, 67, 2608, 2746, 279, 1401, 374, 539, 1766, 11, 471, 279, 1670, 422, 2728, 26, 6062, 11, 4933, 264, 39194, 627, 8539, 1224, 746, 13319, 323, 471, 264, 320, 798, 11, 907, 8, 6857, 439, 264, 220, 17, 2442, 6189, 627, 751, 2309, 4962, 38372, 4194, 2309, 2608, 14099, 1401, 449, 264, 907, 315, 1670, 422, 1401, 374, 539, 304, 279, 11240, 627, 2443, 2625, 36, 11, 4194, 79441, 37, 340, 2746, 469, 374, 3118, 323, 706, 264, 662, 10786, 368, 1749, 11, 1243, 1587, 25, 220, 369, 597, 304, 469, 25, 423, 6874, 60, 284, 469, 6874, 60, 1442, 469, 374, 3118, 323, 37856, 264, 662, 10786, 368, 1749, 11, 1243, 1587, 25, 220, 369, 597, 11, 348, 304, 469, 25, 423, 6874, 60, 284, 348, 763, 3060, 1162, 11, 420, 374, 8272, 555, 25, 369, 597, 304, 435, 25, 220, 423, 6874, 60, 284, 435, 6874, 933, 3745, 746, 10738, 198, 50688, 1857, 198, 791, 46370, 955, 315, 279, 2246, 627, 1213, 32135, 198, 791, 1052, 9070, 315, 279, 2246, 627, 1213, 1292, 198, 791, 1052, 836, 315, 279, 2246, 627, 5562, 31639, 198, 25729, 311, 12143, 279, 2246, 1139, 6959, 627, 27069, 2424, 198, 791, 7340, 1404, 315, 279, 1495, 27855, 627, 27069, 66894, 198, 791, 7340, 28347, 5535, 1990, 27855, 627, 27069, 17489, 466, 198, 791, 1495, 74086, 538, 836, 369, 6968, 27855, 627, 325, 1768, 3046, 198, 791, 83602, 369, 27855, 627, 5562, 24967, 198, 25729, 311, 1893, 71647, 369, 279, 2246, 304, 279, 2077, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters.html
537f7ffc44f8-1
should_embed Whether to create embeddings for the document in the response. model The model to pass to the Embaas document extraction API. instruction The instruction to pass to the Embaas document extraction API. clear() → None.  Remove all items from D.¶ copy() → a shallow copy of D¶ fromkeys(value=None, /)¶ Create a new dictionary with keys from iterable and values set to value. get(key, default=None, /)¶ Return the value for key if key is in the dictionary, else default. items() → a set-like object providing a view on D's items¶ keys() → a set-like object providing a view on D's keys¶ pop(k[, d]) → v, remove specified key and return the corresponding value.¶ If the key is not found, return the default if given; otherwise, raise a KeyError. popitem()¶ Remove and return a (key, value) pair as a 2-tuple. Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty. setdefault(key, default=None, /)¶ Insert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default. update([E, ]**F) → None.  Update D from dict/iterable E and F.¶ If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
[ 5562, 24967, 198, 25729, 311, 1893, 71647, 369, 279, 2246, 304, 279, 2077, 627, 2590, 198, 791, 1646, 311, 1522, 311, 279, 30227, 64, 300, 2246, 33289, 5446, 627, 56074, 198, 791, 7754, 311, 1522, 311, 279, 30227, 64, 300, 2246, 33289, 5446, 627, 7574, 368, 11651, 2290, 13, 4194, 11016, 682, 3673, 505, 423, 13, 55609, 198, 8728, 368, 11651, 264, 26682, 3048, 315, 423, 55609, 198, 1527, 10786, 3764, 5980, 11, 611, 8, 55609, 198, 4110, 264, 502, 11240, 449, 7039, 505, 51934, 323, 2819, 743, 311, 907, 627, 456, 4962, 11, 1670, 5980, 11, 611, 8, 55609, 198, 5715, 279, 907, 369, 1401, 422, 1401, 374, 304, 279, 11240, 11, 775, 1670, 627, 3699, 368, 11651, 264, 743, 12970, 1665, 8405, 264, 1684, 389, 423, 596, 3673, 55609, 198, 10786, 368, 11651, 264, 743, 12970, 1665, 8405, 264, 1684, 389, 423, 596, 7039, 55609, 198, 8539, 6097, 38372, 294, 2526, 11651, 348, 11, 4148, 5300, 1401, 323, 471, 279, 12435, 907, 13, 55609, 198, 2746, 279, 1401, 374, 539, 1766, 11, 471, 279, 1670, 422, 2728, 26, 6062, 345, 19223, 264, 39194, 627, 8539, 1224, 368, 55609, 198, 13319, 323, 471, 264, 320, 798, 11, 907, 8, 6857, 439, 264, 220, 17, 2442, 6189, 627, 55328, 527, 6052, 304, 445, 27088, 320, 4354, 3502, 11, 1176, 9994, 8, 2015, 627, 36120, 39194, 422, 279, 6587, 374, 4384, 627, 751, 2309, 4962, 11, 1670, 5980, 11, 611, 8, 55609, 198, 14099, 1401, 449, 264, 907, 315, 1670, 422, 1401, 374, 539, 304, 279, 11240, 627, 5715, 279, 907, 369, 1401, 422, 1401, 374, 304, 279, 11240, 11, 775, 1670, 627, 2443, 2625, 36, 11, 2331, 334, 37, 8, 11651, 2290, 13, 4194, 5666, 423, 505, 6587, 14, 2058, 481, 469, 323, 435, 13, 55609, 198, 2746, 469, 374, 3118, 323, 706, 264, 662, 10786, 368, 1749, 11, 1243, 1587, 25, 220, 369, 597, 304, 469, 25, 423, 6874, 60, 284, 469, 6874, 933, 2746, 469, 374, 3118, 323, 37856, 264, 662, 10786, 368, 1749, 11, 1243, 1587, 25, 220, 369, 597, 11, 348, 304, 469, 25, 423, 6874, 60, 284, 348, 198, 644, 3060, 1162, 11, 420, 374, 8272, 555, 25, 369, 597, 304, 435, 25, 220, 423, 6874, 60, 284, 435, 6874, 60 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters.html
537f7ffc44f8-2
values() → an object providing a view on D's values¶ chunk_overlap: int¶ The maximum overlap allowed between chunks. chunk_size: int¶ The maximum size of the text chunks. chunk_splitter: str¶ The text splitter class name for creating chunks. file_extension: str¶ The file extension of the document. file_name: str¶ The file name of the document. instruction: str¶ The instruction to pass to the Embaas document extraction API. mime_type: str¶ The mime type of the document. model: str¶ The model to pass to the Embaas document extraction API. separators: List[str]¶ The separators for chunks. should_chunk: bool¶ Whether to chunk the document into pages. should_embed: bool¶ Whether to create embeddings for the document in the response.
[ 3745, 368, 11651, 459, 1665, 8405, 264, 1684, 389, 423, 596, 2819, 55609, 198, 27069, 66894, 25, 528, 55609, 198, 791, 7340, 28347, 5535, 1990, 27855, 627, 27069, 2424, 25, 528, 55609, 198, 791, 7340, 1404, 315, 279, 1495, 27855, 627, 27069, 17489, 466, 25, 610, 55609, 198, 791, 1495, 74086, 538, 836, 369, 6968, 27855, 627, 1213, 32135, 25, 610, 55609, 198, 791, 1052, 9070, 315, 279, 2246, 627, 1213, 1292, 25, 610, 55609, 198, 791, 1052, 836, 315, 279, 2246, 627, 56074, 25, 610, 55609, 198, 791, 7754, 311, 1522, 311, 279, 30227, 64, 300, 2246, 33289, 5446, 627, 50688, 1857, 25, 610, 55609, 198, 791, 46370, 955, 315, 279, 2246, 627, 2590, 25, 610, 55609, 198, 791, 1646, 311, 1522, 311, 279, 30227, 64, 300, 2246, 33289, 5446, 627, 325, 1768, 3046, 25, 1796, 17752, 60, 55609, 198, 791, 83602, 369, 27855, 627, 5562, 31639, 25, 1845, 55609, 198, 25729, 311, 12143, 279, 2246, 1139, 6959, 627, 5562, 24967, 25, 1845, 55609, 198, 25729, 311, 1893, 71647, 369, 279, 2246, 304, 279, 2077, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters.html
2c6573b63a45-0
langchain.document_loaders.azure_blob_storage_file.AzureBlobStorageFileLoader¶ class langchain.document_loaders.azure_blob_storage_file.AzureBlobStorageFileLoader(conn_str: str, container: str, blob_name: str)[source]¶ Bases: BaseLoader Loading logic for loading documents from Azure Blob Storage. Initialize with connection string, container and blob name. Methods __init__(conn_str, container, blob_name) Initialize with connection string, container and blob name. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 71340, 47008, 24192, 2517, 58927, 39085, 5913, 1738, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 71340, 47008, 24192, 2517, 58927, 39085, 5913, 1738, 9360, 21214, 2966, 25, 610, 11, 5593, 25, 610, 11, 24295, 1292, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 35219, 50539, 15035, 627, 10130, 449, 3717, 925, 11, 5593, 323, 24295, 836, 627, 18337, 198, 565, 2381, 3889, 5259, 2966, 11, 4194, 3670, 11, 4194, 36212, 1292, 340, 10130, 449, 3717, 925, 11, 5593, 323, 24295, 836, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.azure_blob_storage_file.AzureBlobStorageFileLoader.html
1405c8d572fa-0
langchain.document_loaders.markdown.UnstructuredMarkdownLoader¶ class langchain.document_loaders.markdown.UnstructuredMarkdownLoader(file_path: Union[str, List[str]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load markdown files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 18913, 2996, 10840, 52243, 69105, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 18913, 2996, 10840, 52243, 69105, 9360, 4971, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 51594, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.markdown.UnstructuredMarkdownLoader.html
1a854b91d9a4-0
langchain.document_loaders.diffbot.DiffbotLoader¶ class langchain.document_loaders.diffbot.DiffbotLoader(api_token: str, urls: List[str], continue_on_failure: bool = True)[source]¶ Bases: BaseLoader Loader that loads Diffbot file json. Initialize with API token, ids, and key. Methods __init__(api_token, urls[, continue_on_failure]) Initialize with API token, ids, and key. lazy_load() A lazy loader for document content. load() Extract text from Diffbot on all the URLs and return Document instances load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Extract text from Diffbot on all the URLs and return Document instances load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 41779, 6465, 99163, 6465, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 41779, 6465, 99163, 6465, 9360, 25865, 6594, 25, 610, 11, 31084, 25, 1796, 17752, 1145, 3136, 4570, 44718, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 29469, 6465, 1052, 3024, 627, 10130, 449, 5446, 4037, 11, 14483, 11, 323, 1401, 627, 18337, 198, 565, 2381, 3889, 2113, 6594, 11, 4194, 21141, 38372, 4194, 9726, 4570, 44718, 2608, 10130, 449, 5446, 4037, 11, 14483, 11, 323, 1401, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 30059, 1495, 505, 29469, 6465, 389, 682, 279, 36106, 323, 471, 12051, 13422, 198, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 30059, 1495, 505, 29469, 6465, 389, 682, 279, 36106, 323, 471, 12051, 13422, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.diffbot.DiffbotLoader.html
01a01ba3eddf-0
langchain.document_loaders.pdf.PyPDFDirectoryLoader¶ class langchain.document_loaders.pdf.PyPDFDirectoryLoader(path: str, glob: str = '**/[!.]*.pdf', silent_errors: bool = False, load_hidden: bool = False, recursive: bool = False)[source]¶ Bases: BaseLoader Loads a directory with PDF files with pypdf and chunks at character level. Loader also stores page numbers in metadatas. Methods __init__(path[, glob, silent_errors, ...]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 16378, 1087, 88, 24317, 9494, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 1087, 88, 24317, 9494, 9360, 5698, 25, 610, 11, 13509, 25, 610, 284, 78265, 45610, 15725, 8632, 13, 12091, 518, 21737, 20808, 25, 1845, 284, 3641, 11, 2865, 27837, 25, 1845, 284, 3641, 11, 31919, 25, 1845, 284, 3641, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 264, 6352, 449, 11612, 3626, 449, 281, 1100, 3013, 323, 27855, 520, 3752, 2237, 627, 9360, 1101, 10756, 2199, 5219, 304, 2322, 329, 19907, 627, 18337, 198, 565, 2381, 3889, 2398, 38372, 4194, 60026, 11, 4194, 69758, 20808, 11, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.PyPDFDirectoryLoader.html
d2ea1a644092-0
langchain.document_loaders.hn.HNLoader¶ class langchain.document_loaders.hn.HNLoader(web_path: Union[str, List[str]], header_template: Optional[dict] = None, verify: Optional[bool] = True, proxies: Optional[dict] = None)[source]¶ Bases: WebBaseLoader Load Hacker News data from either main page results or the comments page. Initialize with webpage path. Methods __init__(web_path[, header_template, ...]) Initialize with webpage path. aload() Load text from the urls in web_path async into Documents. fetch_all(urls) Fetch all urls concurrently with rate limiting. lazy_load() Lazy load text from the url(s) in web_path. load() Get important HN webpage information. load_and_split([text_splitter]) Load documents and split into chunks. load_comments(soup_info) Load comments from a HN post. load_results(soup) Load items from an HN page. scrape([parser]) Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls[, parser]) Fetch all urls, then return soups for all results. Attributes bs_get_text_kwargs kwargs for beatifulsoup4 get_text default_parser Default parser to use for BeautifulSoup. raise_for_status Raise an exception if http status code denotes an error. requests_kwargs kwargs for requests requests_per_second Max number of concurrent requests to make. web_path aload() → List[Document]¶ Load text from the urls in web_path async into Documents. async fetch_all(urls: List[str]) → Any¶ Fetch all urls concurrently with rate limiting. lazy_load() → Iterator[Document]¶ Lazy load text from the url(s) in web_path.
[ 5317, 8995, 17926, 12693, 388, 870, 77, 3924, 45, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 870, 77, 3924, 45, 9360, 40869, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 4342, 8864, 25, 12536, 58, 8644, 60, 284, 2290, 11, 10356, 25, 12536, 58, 2707, 60, 284, 3082, 11, 60465, 25, 12536, 58, 8644, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5000, 4066, 9360, 198, 6003, 89165, 5513, 828, 505, 3060, 1925, 2199, 3135, 477, 279, 6170, 2199, 627, 10130, 449, 45710, 1853, 627, 18337, 198, 565, 2381, 3889, 2984, 2703, 38372, 4194, 2775, 8864, 11, 4194, 1131, 2608, 10130, 449, 45710, 1853, 627, 55496, 746, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 9838, 5823, 92282, 340, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 746, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 746, 1991, 3062, 473, 45, 45710, 2038, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 31459, 1161, 13649, 3186, 340, 6003, 6170, 505, 264, 473, 45, 1772, 627, 1096, 13888, 1161, 13649, 340, 6003, 3673, 505, 459, 473, 45, 2199, 627, 2445, 20432, 2625, 9854, 2608, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 38372, 4194, 9854, 2608, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 10738, 198, 1302, 3138, 4424, 37335, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 2984, 2703, 198, 55496, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 7847, 7963, 5823, 92282, 25, 1796, 17752, 2526, 11651, 5884, 55609, 198, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.hn.HNLoader.html
d2ea1a644092-1
Lazy load text from the url(s) in web_path. load() → List[Document][source]¶ Get important HN webpage information. Components are: title content source url, time of post author of the post number of comments rank of the post load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. load_comments(soup_info: Any) → List[Document][source]¶ Load comments from a HN post. load_results(soup: Any) → List[Document][source]¶ Load items from an HN page. scrape(parser: Optional[str] = None) → Any¶ Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls: List[str], parser: Optional[str] = None) → List[Any]¶ Fetch all urls, then return soups for all results. bs_get_text_kwargs: Dict[str, Any] = {}¶ kwargs for beatifulsoup4 get_text default_parser: str = 'html.parser'¶ Default parser to use for BeautifulSoup. raise_for_status: bool = False¶ Raise an exception if http status code denotes an error. requests_kwargs: Dict[str, Any] = {}¶ kwargs for requests requests_per_second: int = 2¶ Max number of concurrent requests to make. property web_path: str¶ web_paths: List[str]¶
[ 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 1991, 3062, 473, 45, 45710, 2038, 627, 10660, 527, 512, 2150, 198, 1834, 198, 2484, 2576, 345, 1712, 315, 1772, 198, 3170, 315, 279, 1772, 198, 4174, 315, 6170, 198, 13430, 315, 279, 1772, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 1096, 31459, 1161, 13649, 3186, 25, 5884, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 6170, 505, 264, 473, 45, 1772, 627, 1096, 13888, 1161, 13649, 25, 5884, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 3673, 505, 459, 473, 45, 2199, 627, 2445, 20432, 36435, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 5884, 55609, 198, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 25, 1796, 17752, 1145, 6871, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 71401, 60, 55609, 198, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 1302, 3138, 4424, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 25, 610, 284, 364, 1580, 26699, 6, 55609, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 25, 1845, 284, 3641, 55609, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 25, 528, 284, 220, 17, 55609, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 3784, 3566, 2703, 25, 610, 55609, 198, 2984, 25124, 25, 1796, 17752, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.hn.HNLoader.html
c9818c126c59-0
langchain.document_loaders.college_confidential.CollegeConfidentialLoader¶ class langchain.document_loaders.college_confidential.CollegeConfidentialLoader(web_path: Union[str, List[str]], header_template: Optional[dict] = None, verify: Optional[bool] = True, proxies: Optional[dict] = None)[source]¶ Bases: WebBaseLoader Loader that loads College Confidential webpages. Initialize with webpage path. Methods __init__(web_path[, header_template, ...]) Initialize with webpage path. aload() Load text from the urls in web_path async into Documents. fetch_all(urls) Fetch all urls concurrently with rate limiting. lazy_load() Lazy load text from the url(s) in web_path. load() Load webpage. load_and_split([text_splitter]) Load documents and split into chunks. scrape([parser]) Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls[, parser]) Fetch all urls, then return soups for all results. Attributes bs_get_text_kwargs kwargs for beatifulsoup4 get_text default_parser Default parser to use for BeautifulSoup. raise_for_status Raise an exception if http status code denotes an error. requests_kwargs kwargs for requests requests_per_second Max number of concurrent requests to make. web_path aload() → List[Document]¶ Load text from the urls in web_path async into Documents. async fetch_all(urls: List[str]) → Any¶ Fetch all urls concurrently with rate limiting. lazy_load() → Iterator[Document]¶ Lazy load text from the url(s) in web_path. load() → List[Document][source]¶ Load webpage.
[ 5317, 8995, 17926, 12693, 388, 13720, 4862, 16445, 11484, 55750, 4862, 15949, 11484, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 13720, 4862, 16445, 11484, 55750, 4862, 15949, 11484, 9360, 40869, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 4342, 8864, 25, 12536, 58, 8644, 60, 284, 2290, 11, 10356, 25, 12536, 58, 2707, 60, 284, 3082, 11, 60465, 25, 12536, 58, 8644, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5000, 4066, 9360, 198, 9360, 430, 21577, 9304, 74465, 3566, 11014, 627, 10130, 449, 45710, 1853, 627, 18337, 198, 565, 2381, 3889, 2984, 2703, 38372, 4194, 2775, 8864, 11, 4194, 1131, 2608, 10130, 449, 45710, 1853, 627, 55496, 746, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 9838, 5823, 92282, 340, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 746, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 746, 6003, 45710, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 2625, 9854, 2608, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 38372, 4194, 9854, 2608, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 10738, 198, 1302, 3138, 4424, 37335, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 2984, 2703, 198, 55496, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 7847, 7963, 5823, 92282, 25, 1796, 17752, 2526, 11651, 5884, 55609, 198, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 45710, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.college_confidential.CollegeConfidentialLoader.html
c9818c126c59-1
load() → List[Document][source]¶ Load webpage. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. scrape(parser: Optional[str] = None) → Any¶ Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls: List[str], parser: Optional[str] = None) → List[Any]¶ Fetch all urls, then return soups for all results. bs_get_text_kwargs: Dict[str, Any] = {}¶ kwargs for beatifulsoup4 get_text default_parser: str = 'html.parser'¶ Default parser to use for BeautifulSoup. raise_for_status: bool = False¶ Raise an exception if http status code denotes an error. requests_kwargs: Dict[str, Any] = {}¶ kwargs for requests requests_per_second: int = 2¶ Max number of concurrent requests to make. property web_path: str¶ web_paths: List[str]¶
[ 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 45710, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 36435, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 5884, 55609, 198, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 25, 1796, 17752, 1145, 6871, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 71401, 60, 55609, 198, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 1302, 3138, 4424, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 25, 610, 284, 364, 1580, 26699, 6, 55609, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 25, 1845, 284, 3641, 55609, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 25, 528, 284, 220, 17, 55609, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 3784, 3566, 2703, 25, 610, 55609, 198, 2984, 25124, 25, 1796, 17752, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.college_confidential.CollegeConfidentialLoader.html
8f4a474a1393-0
langchain.document_loaders.conllu.CoNLLULoader¶ class langchain.document_loaders.conllu.CoNLLULoader(file_path: str)[source]¶ Bases: BaseLoader Load CoNLL-U files. Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() A lazy loader for document content. load() Load from file path. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load from file path. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 2932, 61849, 53214, 45, 4178, 1112, 41066, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 2932, 61849, 53214, 45, 4178, 1112, 41066, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 6003, 3623, 45, 4178, 35681, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 505, 1052, 1853, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 505, 1052, 1853, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.conllu.CoNLLULoader.html
6b503ea70a64-0
langchain.document_loaders.telegram.text_to_docs¶ langchain.document_loaders.telegram.text_to_docs(text: Union[str, List[str]]) → List[Document][source]¶ Converts a string or list of strings to a list of Documents with metadata.
[ 5317, 8995, 17926, 12693, 388, 83903, 2858, 2401, 50792, 55609, 198, 5317, 8995, 17926, 12693, 388, 83903, 2858, 2401, 50792, 7383, 25, 9323, 17752, 11, 1796, 17752, 30716, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 12281, 82, 264, 925, 477, 1160, 315, 9246, 311, 264, 1160, 315, 45890, 449, 11408, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.telegram.text_to_docs.html
215ce6a2340d-0
langchain.document_loaders.figma.FigmaFileLoader¶ class langchain.document_loaders.figma.FigmaFileLoader(access_token: str, ids: str, key: str)[source]¶ Bases: BaseLoader Loader that loads Figma file json. Initialize with access token, ids, and key. Methods __init__(access_token, ids, key) Initialize with access token, ids, and key. lazy_load() A lazy loader for document content. load() Load file load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load file load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 840, 11750, 1006, 11750, 1738, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 840, 11750, 1006, 11750, 1738, 9360, 56287, 6594, 25, 610, 11, 14483, 25, 610, 11, 1401, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 435, 11750, 1052, 3024, 627, 10130, 449, 2680, 4037, 11, 14483, 11, 323, 1401, 627, 18337, 198, 565, 2381, 3889, 5323, 6594, 11, 4194, 3447, 11, 4194, 798, 340, 10130, 449, 2680, 4037, 11, 14483, 11, 323, 1401, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 198, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 1052, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.figma.FigmaFileLoader.html
5865905d2d3d-0
langchain.document_loaders.web_base.WebBaseLoader¶ class langchain.document_loaders.web_base.WebBaseLoader(web_path: Union[str, List[str]], header_template: Optional[dict] = None, verify: Optional[bool] = True, proxies: Optional[dict] = None)[source]¶ Bases: BaseLoader Loader that uses urllib and beautiful soup to load webpages. Initialize with webpage path. Methods __init__(web_path[, header_template, ...]) Initialize with webpage path. aload() Load text from the urls in web_path async into Documents. fetch_all(urls) Fetch all urls concurrently with rate limiting. lazy_load() Lazy load text from the url(s) in web_path. load() Load text from the url(s) in web_path. load_and_split([text_splitter]) Load documents and split into chunks. scrape([parser]) Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls[, parser]) Fetch all urls, then return soups for all results. Attributes bs_get_text_kwargs kwargs for beatifulsoup4 get_text default_parser Default parser to use for BeautifulSoup. raise_for_status Raise an exception if http status code denotes an error. requests_kwargs kwargs for requests requests_per_second Max number of concurrent requests to make. web_path web_paths aload() → List[Document][source]¶ Load text from the urls in web_path async into Documents. async fetch_all(urls: List[str]) → Any[source]¶ Fetch all urls concurrently with rate limiting. lazy_load() → Iterator[Document][source]¶ Lazy load text from the url(s) in web_path. load() → List[Document][source]¶ Load text from the url(s) in web_path.
[ 5317, 8995, 17926, 12693, 388, 6545, 7806, 6609, 4066, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 6545, 7806, 6609, 4066, 9360, 40869, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 4342, 8864, 25, 12536, 58, 8644, 60, 284, 2290, 11, 10356, 25, 12536, 58, 2707, 60, 284, 3082, 11, 60465, 25, 12536, 58, 8644, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 5829, 25057, 323, 6366, 19724, 311, 2865, 3566, 11014, 627, 10130, 449, 45710, 1853, 627, 18337, 198, 565, 2381, 3889, 2984, 2703, 38372, 4194, 2775, 8864, 11, 4194, 1131, 2608, 10130, 449, 45710, 1853, 627, 55496, 746, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 9838, 5823, 92282, 340, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 746, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 746, 6003, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 2625, 9854, 2608, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 38372, 4194, 9854, 2608, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 10738, 198, 1302, 3138, 4424, 37335, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 2984, 2703, 198, 2984, 25124, 198, 55496, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 1495, 505, 279, 31084, 304, 3566, 2703, 3393, 1139, 45890, 627, 7847, 7963, 5823, 92282, 25, 1796, 17752, 2526, 11651, 5884, 76747, 60, 55609, 198, 21373, 682, 31084, 79126, 449, 4478, 33994, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 40866, 2865, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.web_base.WebBaseLoader.html
5865905d2d3d-1
Load text from the url(s) in web_path. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. scrape(parser: Optional[str] = None) → Any[source]¶ Scrape data from webpage and return it in BeautifulSoup format. scrape_all(urls: List[str], parser: Optional[str] = None) → List[Any][source]¶ Fetch all urls, then return soups for all results. bs_get_text_kwargs: Dict[str, Any] = {}¶ kwargs for beatifulsoup4 get_text default_parser: str = 'html.parser'¶ Default parser to use for BeautifulSoup. raise_for_status: bool = False¶ Raise an exception if http status code denotes an error. requests_kwargs: Dict[str, Any] = {}¶ kwargs for requests requests_per_second: int = 2¶ Max number of concurrent requests to make. property web_path: str¶ web_paths: List[str]¶
[ 6003, 1495, 505, 279, 2576, 1161, 8, 304, 3566, 2703, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 2445, 20432, 36435, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 5884, 76747, 60, 55609, 198, 3407, 20432, 828, 505, 45710, 323, 471, 433, 304, 37010, 3645, 627, 2445, 20432, 5823, 92282, 25, 1796, 17752, 1145, 6871, 25, 12536, 17752, 60, 284, 2290, 8, 11651, 1796, 71401, 1483, 2484, 60, 55609, 198, 21373, 682, 31084, 11, 1243, 471, 5945, 1725, 369, 682, 3135, 627, 1302, 3138, 4424, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 9567, 5092, 90642, 19, 636, 4424, 198, 2309, 19024, 25, 610, 284, 364, 1580, 26699, 6, 55609, 198, 3760, 6871, 311, 1005, 369, 37010, 627, 19223, 5595, 4878, 25, 1845, 284, 3641, 55609, 198, 94201, 459, 4788, 422, 1795, 2704, 2082, 72214, 459, 1493, 627, 37342, 37335, 25, 30226, 17752, 11, 5884, 60, 284, 4792, 55609, 198, 9872, 369, 7540, 198, 37342, 5796, 30744, 25, 528, 284, 220, 17, 55609, 198, 6102, 1396, 315, 35135, 7540, 311, 1304, 627, 3784, 3566, 2703, 25, 610, 55609, 198, 2984, 25124, 25, 1796, 17752, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.web_base.WebBaseLoader.html
c3533f6e31f3-0
langchain.document_loaders.snowflake_loader.SnowflakeLoader¶ class langchain.document_loaders.snowflake_loader.SnowflakeLoader(query: str, user: str, password: str, account: str, warehouse: str, role: str, database: str, schema: str, parameters: Optional[Dict[str, Any]] = None, page_content_columns: Optional[List[str]] = None, metadata_columns: Optional[List[str]] = None)[source]¶ Bases: BaseLoader Loads a query result from Snowflake into a list of documents. Each document represents one row of the result. The page_content_columns are written into the page_content of the document. The metadata_columns are written into the metadata of the document. By default, all columns are written into the page_content and none into the metadata. Initialize Snowflake document loader. Parameters query – The query to run in Snowflake. user – Snowflake user. password – Snowflake password. account – Snowflake account. warehouse – Snowflake warehouse. role – Snowflake role. database – Snowflake database schema – Snowflake schema page_content_columns – Optional. Columns written to Document page_content. metadata_columns – Optional. Columns written to Document metadata. Methods __init__(query, user, password, account, ...) Initialize Snowflake document loader. lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document][source]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
[ 5317, 8995, 17926, 12693, 388, 516, 3409, 64556, 22927, 815, 3409, 64556, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 516, 3409, 64556, 22927, 815, 3409, 64556, 9360, 10974, 25, 610, 11, 1217, 25, 610, 11, 3636, 25, 610, 11, 2759, 25, 610, 11, 31212, 25, 610, 11, 3560, 25, 610, 11, 4729, 25, 610, 11, 11036, 25, 610, 11, 5137, 25, 12536, 58, 13755, 17752, 11, 5884, 5163, 284, 2290, 11, 2199, 7647, 23412, 25, 12536, 53094, 17752, 5163, 284, 2290, 11, 11408, 23412, 25, 12536, 53094, 17752, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 264, 3319, 1121, 505, 19435, 64556, 1139, 264, 1160, 315, 9477, 627, 4959, 2246, 11105, 832, 2872, 315, 279, 1121, 13, 578, 2199, 7647, 23412, 198, 548, 5439, 1139, 279, 2199, 7647, 315, 279, 2246, 13, 578, 11408, 23412, 198, 548, 5439, 1139, 279, 11408, 315, 279, 2246, 13, 3296, 1670, 11, 682, 8310, 198, 548, 5439, 1139, 279, 2199, 7647, 323, 7000, 1139, 279, 11408, 627, 10130, 19435, 64556, 2246, 16432, 627, 9905, 198, 1663, 1389, 578, 3319, 311, 1629, 304, 19435, 64556, 627, 882, 1389, 19435, 64556, 1217, 627, 3918, 1389, 19435, 64556, 3636, 627, 4711, 1389, 19435, 64556, 2759, 627, 46646, 1389, 19435, 64556, 31212, 627, 5898, 1389, 19435, 64556, 3560, 627, 12494, 1389, 19435, 64556, 4729, 198, 17801, 1389, 19435, 64556, 11036, 198, 2964, 7647, 23412, 1389, 12536, 13, 54673, 5439, 311, 12051, 2199, 7647, 627, 18103, 23412, 1389, 12536, 13, 54673, 5439, 311, 12051, 11408, 627, 18337, 198, 565, 2381, 3889, 1663, 11, 4194, 882, 11, 4194, 3918, 11, 4194, 4711, 11, 4194, 32318, 10130, 19435, 64556, 2246, 16432, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.snowflake_loader.SnowflakeLoader.html
c3533f6e31f3-1
Load documents and split into chunks.
[ 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.snowflake_loader.SnowflakeLoader.html
6aebe490b3eb-0
langchain.document_loaders.iugu.IuguLoader¶ class langchain.document_loaders.iugu.IuguLoader(resource: str, api_token: Optional[str] = None)[source]¶ Bases: BaseLoader Loader that fetches data from IUGU. Methods __init__(resource[, api_token]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 8777, 30885, 2506, 30885, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 8777, 30885, 2506, 30885, 9360, 24517, 25, 610, 11, 6464, 6594, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 7963, 288, 828, 505, 358, 3014, 52, 627, 18337, 198, 565, 2381, 3889, 9416, 38372, 4194, 2113, 6594, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.iugu.IuguLoader.html
30478d981fab-0
langchain.document_loaders.pdf.PDFMinerPDFasHTMLLoader¶ class langchain.document_loaders.pdf.PDFMinerPDFasHTMLLoader(file_path: str)[source]¶ Bases: BasePDFLoader Loader that uses PDFMiner to load PDF files as HTML content. Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. Attributes source lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. property source: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 1087, 5375, 6349, 261, 24317, 300, 5959, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 1087, 5375, 6349, 261, 24317, 300, 5959, 9360, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 24317, 9360, 198, 9360, 430, 5829, 11612, 6349, 261, 311, 2865, 11612, 3626, 439, 9492, 2262, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 2484, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 3784, 2592, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.PDFMinerPDFasHTMLLoader.html
e8fd0fcb8ab7-0
langchain.document_loaders.parsers.language.code_segmenter.CodeSegmenter¶ class langchain.document_loaders.parsers.language.code_segmenter.CodeSegmenter(code: str)[source]¶ Bases: ABC Methods __init__(code) extract_functions_classes() is_valid() simplify_code() abstract extract_functions_classes() → List[str][source]¶ is_valid() → bool[source]¶ abstract simplify_code() → str[source]¶
[ 5317, 8995, 17926, 12693, 388, 76592, 32733, 10421, 29161, 261, 20889, 21766, 261, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 76592, 32733, 10421, 29161, 261, 20889, 21766, 261, 16221, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 19921, 198, 18337, 198, 565, 2381, 3889, 1889, 340, 24396, 32808, 17255, 746, 285, 8501, 746, 82, 71306, 4229, 746, 16647, 8819, 32808, 17255, 368, 11651, 1796, 17752, 1483, 2484, 60, 55609, 198, 285, 8501, 368, 11651, 1845, 76747, 60, 55609, 198, 16647, 40821, 4229, 368, 11651, 610, 76747, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.parsers.language.code_segmenter.CodeSegmenter.html
d78a07776f1f-0
langchain.document_loaders.max_compute.MaxComputeLoader¶ class langchain.document_loaders.max_compute.MaxComputeLoader(query: str, api_wrapper: MaxComputeAPIWrapper, *, page_content_columns: Optional[Sequence[str]] = None, metadata_columns: Optional[Sequence[str]] = None)[source]¶ Bases: BaseLoader Loads a query result from Alibaba Cloud MaxCompute table into documents. Initialize Alibaba Cloud MaxCompute document loader. Parameters query – SQL query to execute. api_wrapper – MaxCompute API wrapper. page_content_columns – The columns to write into the page_content of the Document. If unspecified, all columns will be written to page_content. metadata_columns – The columns to write into the metadata of the Document. If unspecified, all columns not added to page_content will be written. Methods __init__(query, api_wrapper, *[, ...]) Initialize Alibaba Cloud MaxCompute document loader. from_params(query, endpoint, project, *[, ...]) Convenience constructor that builds the MaxCompute API wrapper from lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. classmethod from_params(query: str, endpoint: str, project: str, *, access_id: Optional[str] = None, secret_access_key: Optional[str] = None, **kwargs: Any) → MaxComputeLoader[source]¶ Convenience constructor that builds the MaxCompute API wrapper fromgiven parameters. Parameters query – SQL query to execute. endpoint – MaxCompute endpoint. project – A project is a basic organizational unit of MaxCompute, which is similar to a database. access_id – MaxCompute access ID. Should be passed in directly or set as the environment variable MAX_COMPUTE_ACCESS_ID.
[ 5317, 8995, 17926, 12693, 388, 6817, 58128, 14877, 47354, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 6817, 58128, 14877, 47354, 9360, 10974, 25, 610, 11, 6464, 24474, 25, 7639, 47354, 7227, 11803, 11, 12039, 2199, 7647, 23412, 25, 12536, 58, 14405, 17752, 5163, 284, 2290, 11, 11408, 23412, 25, 12536, 58, 14405, 17752, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 264, 3319, 1121, 505, 55464, 15161, 7639, 47354, 2007, 1139, 9477, 627, 10130, 55464, 15161, 7639, 47354, 2246, 16432, 627, 9905, 198, 1663, 1389, 8029, 3319, 311, 9203, 627, 2113, 24474, 1389, 7639, 47354, 5446, 13564, 627, 2964, 7647, 23412, 1389, 578, 8310, 311, 3350, 1139, 279, 2199, 7647, 315, 279, 198, 7676, 13, 1442, 55411, 11, 682, 8310, 690, 387, 5439, 311, 2199, 7647, 627, 18103, 23412, 1389, 578, 8310, 311, 3350, 1139, 279, 11408, 315, 279, 12051, 627, 2746, 55411, 11, 682, 8310, 539, 3779, 311, 2199, 7647, 690, 387, 5439, 627, 18337, 198, 565, 2381, 3889, 1663, 11, 4194, 2113, 24474, 11, 4194, 9, 38372, 4194, 1131, 2608, 10130, 55464, 15161, 7639, 47354, 2246, 16432, 627, 1527, 6887, 10974, 11, 4194, 33640, 11, 4194, 5094, 11, 4194, 9, 38372, 4194, 1131, 2608, 1128, 40647, 4797, 430, 22890, 279, 7639, 47354, 5446, 13564, 505, 198, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 27853, 505, 6887, 10974, 25, 610, 11, 15233, 25, 610, 11, 2447, 25, 610, 11, 12039, 2680, 851, 25, 12536, 17752, 60, 284, 2290, 11, 6367, 13049, 3173, 25, 12536, 17752, 60, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 7639, 47354, 9360, 76747, 60, 55609, 198, 1128, 40647, 4797, 430, 22890, 279, 7639, 47354, 5446, 13564, 505, 43068, 5137, 627, 9905, 198, 1663, 1389, 8029, 3319, 311, 9203, 627, 33640, 1389, 7639, 47354, 15233, 627, 5094, 1389, 362, 2447, 374, 264, 6913, 41295, 5089, 315, 7639, 47354, 11, 902, 374, 198, 65387, 311, 264, 4729, 627, 5323, 851, 1389, 7639, 47354, 2680, 3110, 13, 12540, 387, 5946, 304, 6089, 477, 743, 439, 279, 198, 24175, 3977, 8498, 7021, 93443, 25424, 3533, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.max_compute.MaxComputeLoader.html
d78a07776f1f-1
environment variable MAX_COMPUTE_ACCESS_ID. secret_access_key – MaxCompute secret access key. Should be passed in directly or set as the environment variable MAX_COMPUTE_SECRET_ACCESS_KEY. lazy_load() → Iterator[Document][source]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 24175, 3977, 8498, 7021, 93443, 25424, 3533, 627, 21107, 13049, 3173, 1389, 7639, 47354, 6367, 2680, 1401, 13, 12540, 387, 5946, 304, 198, 20384, 398, 477, 743, 439, 279, 4676, 3977, 198, 10809, 7021, 93443, 32508, 25424, 6738, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.max_compute.MaxComputeLoader.html
ce619eb3a9b9-0
langchain.document_loaders.gcs_directory.GCSDirectoryLoader¶ class langchain.document_loaders.gcs_directory.GCSDirectoryLoader(project_name: str, bucket: str, prefix: str = '')[source]¶ Bases: BaseLoader Loading logic for loading documents from GCS. Initialize with bucket and key name. Methods __init__(project_name, bucket[, prefix]) Initialize with bucket and key name. lazy_load() A lazy loader for document content. load() Load documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 1326, 4942, 15191, 1246, 34, 5608, 4863, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1326, 4942, 15191, 1246, 34, 5608, 4863, 9360, 21855, 1292, 25, 610, 11, 15994, 25, 610, 11, 9436, 25, 610, 284, 364, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 480, 6546, 627, 10130, 449, 15994, 323, 1401, 836, 627, 18337, 198, 565, 2381, 3889, 5094, 1292, 11, 4194, 31510, 38372, 4194, 12113, 2608, 10130, 449, 15994, 323, 1401, 836, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.gcs_directory.GCSDirectoryLoader.html
b4b18c8e1c9a-0
langchain.document_loaders.helpers.FileEncoding¶ class langchain.document_loaders.helpers.FileEncoding(encoding, confidence, language)[source]¶ Bases: NamedTuple Create new instance of FileEncoding(encoding, confidence, language) Methods __init__() count(value, /) Return number of occurrences of value. index(value[, start, stop]) Return first index of value. Attributes confidence Alias for field number 1 encoding Alias for field number 0 language Alias for field number 2 count(value, /)¶ Return number of occurrences of value. index(value, start=0, stop=9223372036854775807, /)¶ Return first index of value. Raises ValueError if the value is not present. confidence: float¶ Alias for field number 1 encoding: Optional[str]¶ Alias for field number 0 language: Optional[str]¶ Alias for field number 2
[ 5317, 8995, 17926, 12693, 388, 48914, 8744, 15032, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 48914, 8744, 15032, 86963, 11, 12410, 11, 4221, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 41559, 29781, 198, 4110, 502, 2937, 315, 2958, 15032, 86963, 11, 12410, 11, 4221, 340, 18337, 198, 565, 2381, 33716, 1868, 3764, 11, 4194, 54660, 5715, 1396, 315, 57115, 315, 907, 627, 1275, 3764, 38372, 4194, 2527, 11, 4194, 9684, 2608, 5715, 1176, 1963, 315, 907, 627, 10738, 198, 83029, 198, 23555, 369, 2115, 1396, 220, 16, 198, 17600, 198, 23555, 369, 2115, 1396, 220, 15, 198, 11789, 198, 23555, 369, 2115, 1396, 220, 17, 198, 1868, 3764, 11, 611, 8, 55609, 198, 5715, 1396, 315, 57115, 315, 907, 627, 1275, 3764, 11, 1212, 28, 15, 11, 3009, 28, 20275, 17609, 9639, 23717, 21144, 18216, 22, 11, 611, 8, 55609, 198, 5715, 1176, 1963, 315, 907, 627, 36120, 15764, 422, 279, 907, 374, 539, 3118, 627, 83029, 25, 2273, 55609, 198, 23555, 369, 2115, 1396, 220, 16, 198, 17600, 25, 12536, 17752, 60, 55609, 198, 23555, 369, 2115, 1396, 220, 15, 198, 11789, 25, 12536, 17752, 60, 55609, 198, 23555, 369, 2115, 1396, 220, 17 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.helpers.FileEncoding.html
2023b01a264b-0
langchain.document_loaders.tencent_cos_file.TencentCOSFileLoader¶ class langchain.document_loaders.tencent_cos_file.TencentCOSFileLoader(conf: Any, bucket: str, key: str)[source]¶ Bases: BaseLoader Loading logic for loading documents from Tencent Cloud COS. Initialize with COS config, bucket and key name. :param conf(CosConfig): COS config. :param bucket(str): COS bucket. :param key(str): COS file key. Methods __init__(conf, bucket, key) Initialize with COS config, bucket and key name. lazy_load() Load documents. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document][source]¶ Load documents. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 41026, 62292, 2517, 844, 27462, 34, 3204, 1738, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 41026, 62292, 2517, 844, 27462, 34, 3204, 1738, 9360, 30979, 25, 5884, 11, 15994, 25, 610, 11, 1401, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 8746, 12496, 369, 8441, 9477, 505, 71021, 15161, 74044, 627, 10130, 449, 74044, 2242, 11, 15994, 323, 1401, 836, 627, 68416, 2389, 3100, 437, 2714, 1680, 74044, 2242, 627, 68416, 15994, 4293, 1680, 74044, 15994, 627, 68416, 1401, 4293, 1680, 74044, 1052, 1401, 627, 18337, 198, 565, 2381, 3889, 6263, 11, 4194, 31510, 11, 4194, 798, 340, 10130, 449, 74044, 2242, 11, 15994, 323, 1401, 836, 627, 50113, 12693, 746, 6003, 9477, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.tencent_cos_file.TencentCOSFileLoader.html
04492435147d-0
langchain.document_loaders.unstructured.UnstructuredFileIOLoader¶ class langchain.document_loaders.unstructured.UnstructuredFileIOLoader(file: Union[IO, Sequence[IO]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredBaseLoader Loader that uses unstructured to load file IO objects. Initialize with file path. Methods __init__(file[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 1738, 40, 1971, 41066, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 6441, 52243, 10840, 52243, 1738, 40, 1971, 41066, 4971, 25, 9323, 58, 3895, 11, 29971, 58, 3895, 21128, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 4066, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 1052, 6565, 6302, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.unstructured.UnstructuredFileIOLoader.html
9c63d5f73a09-0
langchain.document_loaders.embaas.EmbaasLoader¶ class langchain.document_loaders.embaas.EmbaasLoader(*, embaas_api_key: Optional[str] = None, api_url: str = 'https://api.embaas.io/v1/document/extract-text/bytes/', params: EmbaasDocumentExtractionParameters = {}, file_path: str, blob_loader: Optional[EmbaasBlobLoader] = None)[source]¶ Bases: BaseEmbaasLoader, BaseLoader Wrapper around embaas’s document loader service. To use, you should have the environment variable EMBAAS_API_KEY set with your API key, or pass it as a named parameter to the constructor. Example # Default parsing from langchain.document_loaders.embaas import EmbaasLoader loader = EmbaasLoader(file_path="example.mp3") documents = loader.load() # Custom api parameters (create embeddings automatically) from langchain.document_loaders.embaas import EmbaasBlobLoader loader = EmbaasBlobLoader( file_path="example.pdf", params={ "should_embed": True, "model": "e5-large-v2", "chunk_size": 256, "chunk_splitter": "CharacterTextSplitter" } ) documents = loader.load() Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_url: str = 'https://api.embaas.io/v1/document/extract-text/bytes/'¶ The URL of the embaas document extraction API. param blob_loader: Optional[langchain.document_loaders.embaas.EmbaasBlobLoader] = None¶
[ 5317, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 9360, 4163, 11, 991, 4749, 300, 11959, 3173, 25, 12536, 17752, 60, 284, 2290, 11, 6464, 2975, 25, 610, 284, 364, 2485, 1129, 2113, 9485, 4749, 300, 4340, 5574, 16, 47488, 14, 24396, 9529, 14, 9848, 14688, 3712, 25, 30227, 64, 300, 7676, 849, 27523, 9905, 284, 16857, 1052, 2703, 25, 610, 11, 24295, 22927, 25, 12536, 58, 2321, 4749, 300, 39085, 9360, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 2321, 4749, 300, 9360, 11, 5464, 9360, 198, 11803, 2212, 991, 4749, 300, 753, 2246, 16432, 2532, 627, 1271, 1005, 11, 499, 1288, 617, 279, 198, 24175, 3977, 17329, 7209, 1950, 11669, 6738, 743, 449, 701, 5446, 1401, 11, 477, 1522, 198, 275, 439, 264, 7086, 5852, 311, 279, 4797, 627, 13617, 198, 2, 8058, 23115, 198, 1527, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 1179, 30227, 64, 300, 9360, 198, 8520, 284, 30227, 64, 300, 9360, 4971, 2703, 429, 8858, 17295, 18, 1158, 51878, 284, 16432, 5214, 746, 2, 8572, 6464, 5137, 320, 3261, 71647, 9651, 340, 1527, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 1179, 30227, 64, 300, 39085, 9360, 198, 8520, 284, 30227, 64, 300, 39085, 9360, 1021, 262, 1052, 2703, 429, 8858, 16378, 761, 262, 3712, 18013, 286, 330, 5562, 24967, 794, 3082, 345, 286, 330, 2590, 794, 330, 68, 20, 40248, 8437, 17, 761, 286, 330, 27069, 2424, 794, 220, 4146, 345, 286, 330, 27069, 17489, 466, 794, 330, 12686, 1199, 20805, 466, 702, 262, 457, 340, 51878, 284, 16432, 5214, 746, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 2975, 25, 610, 284, 364, 2485, 1129, 2113, 9485, 4749, 300, 4340, 5574, 16, 47488, 14, 24396, 9529, 14, 9848, 11576, 55609, 198, 791, 5665, 315, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 913, 24295, 22927, 25, 12536, 58, 5317, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 39085, 9360, 60, 284, 2290, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasLoader.html
9c63d5f73a09-1
The blob loader to use. If not provided, a default one will be created. param embaas_api_key: Optional[str] = None¶ param file_path: str [Required]¶ The path to the file to load. param params: langchain.document_loaders.embaas.EmbaasDocumentExtractionParameters = {}¶ Additional parameters to pass to the embaas document extraction API. lazy_load() → Iterator[Document][source]¶ Load the documents from the file path lazily. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document][source]¶ Load documents and split into chunks. validator validate_blob_loader  »  blob_loader[source]¶ validator validate_environment  »  all fields¶ Validate that api key and python package exists in environment.
[ 791, 24295, 16432, 311, 1005, 13, 1442, 539, 3984, 11, 264, 1670, 832, 690, 387, 3549, 627, 913, 991, 4749, 300, 11959, 3173, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 1052, 2703, 25, 610, 510, 8327, 60, 55609, 198, 791, 1853, 311, 279, 1052, 311, 2865, 627, 913, 3712, 25, 8859, 8995, 17926, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 9905, 284, 4792, 55609, 198, 30119, 5137, 311, 1522, 311, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 279, 9477, 505, 279, 1052, 1853, 65536, 1570, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 16503, 9788, 47008, 22927, 4194, 8345, 4194, 24295, 22927, 76747, 60, 55609, 198, 16503, 9788, 52874, 4194, 8345, 4194, 682, 5151, 55609, 198, 18409, 430, 6464, 1401, 323, 10344, 6462, 6866, 304, 4676, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.embaas.EmbaasLoader.html
bca588e94577-0
langchain.document_loaders.image.UnstructuredImageLoader¶ class langchain.document_loaders.image.UnstructuredImageLoader(file_path: Union[str, List[str]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load image files, such as PNGs and JPGs. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 7502, 10840, 52243, 1945, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 7502, 10840, 52243, 1945, 9360, 4971, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 2217, 3626, 11, 1778, 439, 42739, 82, 323, 90056, 82, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.image.UnstructuredImageLoader.html
ce534220a0a7-0
langchain.document_loaders.unstructured.get_elements_from_api¶ langchain.document_loaders.unstructured.get_elements_from_api(file_path: Optional[Union[str, List[str]]] = None, file: Optional[Union[IO, Sequence[IO]]] = None, api_url: str = 'https://api.unstructured.io/general/v0/general', api_key: str = '', **unstructured_kwargs: Any) → List[source]¶ Retrieves a list of elements from the Unstructured API.
[ 5317, 8995, 17926, 12693, 388, 6441, 52243, 673, 23646, 5791, 11959, 55609, 198, 5317, 8995, 17926, 12693, 388, 6441, 52243, 673, 23646, 5791, 11959, 4971, 2703, 25, 12536, 58, 33758, 17752, 11, 1796, 17752, 5163, 60, 284, 2290, 11, 1052, 25, 12536, 58, 33758, 58, 3895, 11, 29971, 58, 3895, 5163, 60, 284, 2290, 11, 6464, 2975, 25, 610, 284, 364, 2485, 1129, 2113, 6441, 52243, 4340, 67061, 5574, 15, 67061, 518, 6464, 3173, 25, 610, 284, 9158, 3146, 359, 52243, 37335, 25, 5884, 8, 11651, 1796, 76747, 60, 55609, 198, 12289, 7379, 2396, 264, 1160, 315, 5540, 505, 279, 1252, 52243, 5446, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.unstructured.get_elements_from_api.html
c1ba22f17a48-0
langchain.document_loaders.epub.UnstructuredEPubLoader¶ class langchain.document_loaders.epub.UnstructuredEPubLoader(file_path: Union[str, List[str]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶ Bases: UnstructuredFileLoader Loader that uses unstructured to load epub files. Initialize with file path. Methods __init__(file_path[, mode]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document]¶ Load file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 34476, 392, 10840, 52243, 9377, 392, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 34476, 392, 10840, 52243, 9377, 392, 9360, 4971, 2703, 25, 9323, 17752, 11, 1796, 17752, 21128, 3941, 25, 610, 284, 364, 15698, 518, 3146, 359, 52243, 37335, 25, 5884, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 1252, 52243, 1738, 9360, 198, 9360, 430, 5829, 653, 52243, 311, 2865, 65049, 3626, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 8684, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.epub.UnstructuredEPubLoader.html
dfb1d4274f13-0
langchain.document_loaders.helpers.detect_file_encodings¶ langchain.document_loaders.helpers.detect_file_encodings(file_path: str, timeout: int = 5) → List[FileEncoding][source]¶ Try to detect the file encoding. Returns a list of FileEncoding tuples with the detected encodings ordered by confidence.
[ 5317, 8995, 17926, 12693, 388, 48914, 30253, 2517, 14100, 59435, 55609, 198, 5317, 8995, 17926, 12693, 388, 48914, 30253, 2517, 14100, 59435, 4971, 2703, 25, 610, 11, 9829, 25, 528, 284, 220, 20, 8, 11651, 1796, 58, 1738, 15032, 1483, 2484, 60, 55609, 198, 22170, 311, 11388, 279, 1052, 11418, 627, 16851, 264, 1160, 315, 2958, 15032, 46325, 449, 279, 16914, 3289, 59435, 11713, 198, 1729, 12410, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.helpers.detect_file_encodings.html
1c6bed9a2b71-0
langchain.document_loaders.url_playwright.PlaywrightURLLoader¶ class langchain.document_loaders.url_playwright.PlaywrightURLLoader(urls: List[str], continue_on_failure: bool = True, headless: bool = True, remove_selectors: Optional[List[str]] = None)[source]¶ Bases: BaseLoader Loader that uses Playwright and to load a page and unstructured to load the html. This is useful for loading pages that require javascript to render. urls¶ List of URLs to load. Type List[str] continue_on_failure¶ If True, continue loading other URLs on failure. Type bool headless¶ If True, the browser will run in headless mode. Type bool Load a list of URLs using Playwright and unstructured. Methods __init__(urls[, continue_on_failure, ...]) Load a list of URLs using Playwright and unstructured. lazy_load() A lazy loader for document content. load() Load the specified URLs using Playwright and create Document instances. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load the specified URLs using Playwright and create Document instances. Returns A list of Document instances with loaded content. Return type List[Document] load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 7464, 22932, 53852, 25469, 53852, 3222, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 7464, 22932, 53852, 25469, 53852, 3222, 9360, 92282, 25, 1796, 17752, 1145, 3136, 4570, 44718, 25, 1845, 284, 3082, 11, 2010, 1752, 25, 1845, 284, 3082, 11, 4148, 13350, 1105, 25, 12536, 53094, 17752, 5163, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 5829, 7199, 53852, 323, 311, 2865, 264, 2199, 323, 653, 52243, 311, 2865, 279, 5385, 627, 2028, 374, 5505, 369, 8441, 6959, 430, 1397, 36810, 311, 3219, 627, 21141, 55609, 198, 861, 315, 36106, 311, 2865, 627, 941, 198, 861, 17752, 933, 9726, 4570, 44718, 55609, 198, 2746, 3082, 11, 3136, 8441, 1023, 36106, 389, 8060, 627, 941, 198, 2707, 198, 2025, 1752, 55609, 198, 2746, 3082, 11, 279, 7074, 690, 1629, 304, 2010, 1752, 3941, 627, 941, 198, 2707, 198, 6003, 264, 1160, 315, 36106, 1701, 7199, 53852, 323, 653, 52243, 627, 18337, 198, 565, 2381, 3889, 21141, 38372, 4194, 9726, 4570, 44718, 11, 4194, 1131, 2608, 6003, 264, 1160, 315, 36106, 1701, 7199, 53852, 323, 653, 52243, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 279, 5300, 36106, 1701, 7199, 53852, 323, 1893, 12051, 13422, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 279, 5300, 36106, 1701, 7199, 53852, 323, 1893, 12051, 13422, 627, 16851, 198, 32, 1160, 315, 12051, 13422, 449, 6799, 2262, 627, 5715, 955, 198, 861, 58, 7676, 933, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.url_playwright.PlaywrightURLLoader.html
27bbcc744383-0
langchain.document_loaders.image_captions.ImageCaptionLoader¶ class langchain.document_loaders.image_captions.ImageCaptionLoader(path_images: Union[str, List[str]], blip_processor: str = 'Salesforce/blip-image-captioning-base', blip_model: str = 'Salesforce/blip-image-captioning-base')[source]¶ Bases: BaseLoader Loader that loads the captions of an image Initialize with a list of image paths Methods __init__(path_images[, blip_processor, ...]) Initialize with a list of image paths lazy_load() A lazy loader for document content. load() Load from a list of image files load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load from a list of image files load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 7502, 669, 2756, 919, 7680, 33223, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 7502, 669, 2756, 919, 7680, 33223, 9360, 5698, 13586, 25, 9323, 17752, 11, 1796, 17752, 21128, 1529, 575, 51227, 25, 610, 284, 364, 36518, 9009, 90293, 575, 14064, 59417, 287, 31113, 518, 1529, 575, 5156, 25, 610, 284, 364, 36518, 9009, 90293, 575, 14064, 59417, 287, 31113, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 9360, 430, 21577, 279, 78888, 315, 459, 2217, 198, 10130, 449, 264, 1160, 315, 2217, 13006, 198, 18337, 198, 565, 2381, 3889, 2398, 13586, 38372, 4194, 2067, 575, 51227, 11, 4194, 1131, 2608, 10130, 449, 264, 1160, 315, 2217, 13006, 198, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 505, 264, 1160, 315, 2217, 3626, 198, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 505, 264, 1160, 315, 2217, 3626, 198, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.image_captions.ImageCaptionLoader.html
7bdf3e38af66-0
langchain.document_loaders.generic.GenericLoader¶ class langchain.document_loaders.generic.GenericLoader(blob_loader: BlobLoader, blob_parser: BaseBlobParser)[source]¶ Bases: BaseLoader A generic document loader. A generic document loader that allows combining an arbitrary blob loader with a blob parser. Examples from langchain.document_loaders import GenericLoader from langchain.document_loaders.blob_loaders import FileSystemBlobLoader loader = GenericLoader.from_filesystem(path=”path/to/directory”, glob=”**/[!.]*”, suffixes=[“.pdf”], show_progress=True, ) docs = loader.lazy_load() next(docs) Example instantiations to change which files are loaded: … code-block:: python # Recursively load all text files in a directory. loader = GenericLoader.from_filesystem(“/path/to/dir”, glob=”**/*.txt”) # Recursively load all non-hidden files in a directory. loader = GenericLoader.from_filesystem(“/path/to/dir”, glob=”**/[!.]*”) # Load all files in a directory without recursion. loader = GenericLoader.from_filesystem(“/path/to/dir”, glob=”*”) Example instantiations to change which parser is used: … code-block:: python from langchain.document_loaders.parsers.pdf import PyPDFParser # Recursively load all text files in a directory. loader = GenericLoader.from_filesystem( “/path/to/dir”, glob=”**/*.pdf”, parser=PyPDFParser() ) A generic document loader. Parameters blob_loader – A blob loader which knows how to yield blobs blob_parser – A blob parser which knows how to parse blobs into documents Methods __init__(blob_loader, blob_parser) A generic document loader.
[ 5317, 8995, 17926, 12693, 388, 43367, 4439, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 43367, 4439, 9360, 69038, 22927, 25, 50539, 9360, 11, 24295, 19024, 25, 5464, 39085, 6707, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 32, 14281, 2246, 16432, 627, 32, 14281, 2246, 16432, 430, 6276, 35271, 459, 25142, 24295, 16432, 449, 198, 64, 24295, 6871, 627, 41481, 198, 1527, 8859, 8995, 17926, 12693, 388, 1179, 21981, 9360, 198, 1527, 8859, 8995, 17926, 12693, 388, 97381, 12693, 388, 1179, 54561, 39085, 9360, 198, 8520, 284, 21981, 9360, 6521, 2517, 9125, 5698, 45221, 2398, 33529, 3529, 4863, 863, 345, 60026, 45221, 334, 45610, 15725, 8632, 863, 345, 27884, 288, 5941, 77284, 12091, 863, 1282, 3528, 28299, 3702, 345, 340, 14452, 284, 16432, 85221, 12693, 746, 3684, 90519, 340, 13617, 9888, 17583, 311, 2349, 902, 3626, 527, 6799, 512, 1981, 2082, 9612, 487, 10344, 198, 2, 4158, 80837, 2865, 682, 1495, 3626, 304, 264, 6352, 627, 8520, 284, 21981, 9360, 6521, 2517, 9125, 7, 2118, 14, 2398, 33529, 89326, 9520, 13509, 45221, 334, 24449, 8754, 863, 340, 2, 4158, 80837, 2865, 682, 2536, 13609, 3626, 304, 264, 6352, 627, 8520, 284, 21981, 9360, 6521, 2517, 9125, 7, 2118, 14, 2398, 33529, 89326, 9520, 13509, 45221, 334, 45610, 15725, 8632, 863, 340, 2, 9069, 682, 3626, 304, 264, 6352, 2085, 51362, 627, 8520, 284, 21981, 9360, 6521, 2517, 9125, 7, 2118, 14, 2398, 33529, 89326, 9520, 13509, 45221, 9, 863, 340, 13617, 9888, 17583, 311, 2349, 902, 6871, 374, 1511, 512, 1981, 2082, 9612, 487, 10344, 198, 1527, 8859, 8995, 17926, 12693, 388, 76592, 16378, 1179, 5468, 24317, 6707, 198, 2, 4158, 80837, 2865, 682, 1495, 3626, 304, 264, 6352, 627, 8520, 284, 21981, 9360, 6521, 2517, 9125, 1021, 2118, 14, 2398, 33529, 89326, 863, 345, 60026, 45221, 334, 24449, 12091, 863, 345, 9854, 28, 14149, 24317, 6707, 746, 340, 32, 14281, 2246, 16432, 627, 9905, 198, 36212, 22927, 1389, 362, 24295, 16432, 902, 8964, 1268, 311, 7692, 77999, 198, 36212, 19024, 1389, 362, 24295, 6871, 902, 8964, 1268, 311, 4820, 77999, 1139, 9477, 198, 18337, 198, 565, 2381, 3889, 36212, 22927, 11, 4194, 36212, 19024, 340, 32, 14281, 2246, 16432, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.generic.GenericLoader.html
7bdf3e38af66-1
Methods __init__(blob_loader, blob_parser) A generic document loader. from_filesystem(path, *[, glob, suffixes, ...]) Create a generic document loader using a filesystem blob loader. lazy_load() Load documents lazily. load() Load all documents. load_and_split([text_splitter]) Load all documents and split them into sentences. classmethod from_filesystem(path: Union[str, Path], *, glob: str = '**/[!.]*', suffixes: Optional[Sequence[str]] = None, show_progress: bool = False, parser: Union[Literal['default'], BaseBlobParser] = 'default') → GenericLoader[source]¶ Create a generic document loader using a filesystem blob loader. Parameters path – The path to the directory to load documents from. glob – The glob pattern to use to find documents. suffixes – The suffixes to use to filter documents. If None, all files matching the glob will be loaded. show_progress – Whether to show a progress bar or not (requires tqdm). Proxies to the file system loader. parser – A blob parser which knows how to parse blobs into documents Returns A generic document loader. lazy_load() → Iterator[Document][source]¶ Load documents lazily. Use this when working at a large scale. load() → List[Document][source]¶ Load all documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document][source]¶ Load all documents and split them into sentences.
[ 18337, 198, 565, 2381, 3889, 36212, 22927, 11, 4194, 36212, 19024, 340, 32, 14281, 2246, 16432, 627, 1527, 2517, 9125, 5698, 11, 4194, 9, 38372, 4194, 60026, 11, 4194, 27884, 288, 11, 4194, 1131, 2608, 4110, 264, 14281, 2246, 16432, 1701, 264, 39489, 24295, 16432, 627, 50113, 12693, 746, 6003, 9477, 65536, 1570, 627, 1096, 746, 6003, 682, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 682, 9477, 323, 6859, 1124, 1139, 23719, 627, 27853, 505, 2517, 9125, 5698, 25, 9323, 17752, 11, 8092, 1145, 12039, 13509, 25, 610, 284, 78265, 45610, 15725, 8632, 518, 21166, 288, 25, 12536, 58, 14405, 17752, 5163, 284, 2290, 11, 1501, 28299, 25, 1845, 284, 3641, 11, 6871, 25, 9323, 58, 17802, 681, 2309, 4181, 5464, 39085, 6707, 60, 284, 364, 2309, 873, 11651, 21981, 9360, 76747, 60, 55609, 198, 4110, 264, 14281, 2246, 16432, 1701, 264, 39489, 24295, 16432, 627, 9905, 198, 2398, 1389, 578, 1853, 311, 279, 6352, 311, 2865, 9477, 505, 627, 60026, 1389, 578, 13509, 5497, 311, 1005, 311, 1505, 9477, 627, 27884, 288, 1389, 578, 21166, 288, 311, 1005, 311, 4141, 9477, 13, 1442, 2290, 11, 682, 3626, 198, 90143, 279, 13509, 690, 387, 6799, 627, 3528, 28299, 1389, 13440, 311, 1501, 264, 5208, 3703, 477, 539, 320, 42475, 40504, 4390, 1360, 82034, 311, 279, 1052, 1887, 16432, 627, 9854, 1389, 362, 24295, 6871, 902, 8964, 1268, 311, 4820, 77999, 1139, 9477, 198, 16851, 198, 32, 14281, 2246, 16432, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 65536, 1570, 13, 5560, 420, 994, 3318, 520, 264, 3544, 5569, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 682, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 682, 9477, 323, 6859, 1124, 1139, 23719, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.generic.GenericLoader.html
fd8b97309e3d-0
langchain.document_loaders.toml.TomlLoader¶ class langchain.document_loaders.toml.TomlLoader(source: Union[str, Path])[source]¶ Bases: BaseLoader A TOML document loader that inherits from the BaseLoader class. This class can be initialized with either a single source file or a source directory containing TOML files. Initialize the TomlLoader with a source file or directory. Methods __init__(source) Initialize the TomlLoader with a source file or directory. lazy_load() Lazily load the TOML documents from the source file or directory. load() Load and return all documents. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document][source]¶ Lazily load the TOML documents from the source file or directory. load() → List[Document][source]¶ Load and return all documents. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 74594, 75, 844, 316, 75, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 74594, 75, 844, 316, 75, 9360, 12719, 25, 9323, 17752, 11, 8092, 41105, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 32, 83565, 43, 2246, 16432, 430, 76582, 505, 279, 5464, 9360, 538, 627, 2028, 538, 649, 387, 17719, 449, 3060, 264, 3254, 2592, 1052, 477, 264, 2592, 198, 23905, 8649, 83565, 43, 3626, 627, 10130, 279, 8529, 75, 9360, 449, 264, 2592, 1052, 477, 6352, 627, 18337, 198, 565, 2381, 3889, 2484, 340, 10130, 279, 8529, 75, 9360, 449, 264, 2592, 1052, 477, 6352, 627, 50113, 12693, 746, 43, 1394, 1570, 2865, 279, 83565, 43, 9477, 505, 279, 2592, 1052, 477, 6352, 627, 1096, 746, 6003, 323, 471, 682, 9477, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 1483, 2484, 60, 55609, 198, 43, 1394, 1570, 2865, 279, 83565, 43, 9477, 505, 279, 2592, 1052, 477, 6352, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 323, 471, 682, 9477, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.toml.TomlLoader.html
f59602c74839-0
langchain.document_loaders.pdf.BasePDFLoader¶ class langchain.document_loaders.pdf.BasePDFLoader(file_path: str)[source]¶ Bases: BaseLoader, ABC Base loader class for PDF files. Defaults to check for local file, but if the file is a web path, it will download it to a temporary file, and use that, then clean up the temporary file after completion Initialize with file path. Methods __init__(file_path) Initialize with file path. lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. Attributes source lazy_load() → Iterator[Document]¶ A lazy loader for document content. abstract load() → List[Document]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks. property source: str¶
[ 5317, 8995, 17926, 12693, 388, 16378, 13316, 24317, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 16378, 13316, 24317, 9360, 4971, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 11, 19921, 198, 4066, 16432, 538, 369, 11612, 3626, 627, 16672, 311, 1817, 369, 2254, 1052, 11, 719, 422, 279, 1052, 374, 264, 3566, 1853, 11, 433, 690, 4232, 433, 198, 998, 264, 13643, 1052, 11, 323, 1005, 430, 11, 1243, 4335, 709, 279, 13643, 1052, 1306, 9954, 198, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 340, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 10738, 198, 2484, 198, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 16647, 2865, 368, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 627, 3784, 2592, 25, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.pdf.BasePDFLoader.html
34bff2ccbc94-0
langchain.document_loaders.evernote.EverNoteLoader¶ class langchain.document_loaders.evernote.EverNoteLoader(file_path: str, load_single_document: bool = True)[source]¶ Bases: BaseLoader EverNote Loader. Loads an EverNote notebook export file e.g. my_notebook.enex into Documents. Instructions on producing this file can be found at https://help.evernote.com/hc/en-us/articles/209005557-Export-notes-and-notebooks-as-ENEX-or-HTML Currently only the plain text in the note is extracted and stored as the contents of the Document, any non content metadata (e.g. ‘author’, ‘created’, ‘updated’ etc. but not ‘content-raw’ or ‘resource’) tags on the note will be extracted and stored as metadata on the Document. Parameters file_path (str) – The path to the notebook export with a .enex extension load_single_document (bool) – Whether or not to concatenate the content of all notes into a single long Document. True (If this is set to) – the ‘source’ which contains the file name of the export. Initialize with file path. Methods __init__(file_path[, load_single_document]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load documents from EverNote export file. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load documents from EverNote export file. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 1770, 424, 10179, 5253, 424, 9290, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 1770, 424, 10179, 5253, 424, 9290, 9360, 4971, 2703, 25, 610, 11, 2865, 20052, 27326, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 44587, 9290, 28911, 627, 79617, 459, 18374, 9290, 38266, 7637, 1052, 384, 1326, 13, 856, 28306, 2239, 7794, 327, 1139, 45890, 627, 56391, 389, 17843, 420, 1052, 649, 387, 1766, 520, 198, 2485, 1129, 8823, 1770, 424, 10179, 916, 7682, 66, 13920, 26766, 55134, 14, 12652, 8504, 23906, 12, 17321, 62967, 9976, 68338, 12383, 33534, 12, 965, 3337, 27609, 12, 5959, 198, 34814, 1193, 279, 14733, 1495, 304, 279, 5296, 374, 28532, 323, 9967, 439, 279, 8970, 198, 1073, 279, 12051, 11, 904, 2536, 2262, 11408, 320, 68, 1326, 13, 3451, 3170, 20182, 3451, 7266, 20182, 3451, 12030, 529, 5099, 627, 8248, 539, 3451, 1834, 12, 1059, 529, 477, 3451, 9416, 96206, 9681, 389, 279, 5296, 690, 387, 28532, 323, 9967, 198, 300, 11408, 389, 279, 12051, 627, 9905, 198, 1213, 2703, 320, 496, 8, 1389, 578, 1853, 311, 279, 38266, 7637, 449, 264, 662, 268, 327, 9070, 198, 1096, 20052, 27326, 320, 2707, 8, 1389, 13440, 477, 539, 311, 78884, 279, 2262, 315, 682, 198, 18790, 1139, 264, 3254, 1317, 12051, 627, 2575, 320, 2746, 420, 374, 743, 311, 8, 1389, 279, 3451, 2484, 529, 902, 5727, 279, 1052, 836, 315, 279, 7637, 627, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 1096, 20052, 27326, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 9477, 505, 18374, 9290, 7637, 1052, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 9477, 505, 18374, 9290, 7637, 1052, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.evernote.EverNoteLoader.html
d78418534e3c-0
langchain.document_loaders.csv_loader.CSVLoader¶ class langchain.document_loaders.csv_loader.CSVLoader(file_path: str, source_column: Optional[str] = None, csv_args: Optional[Dict] = None, encoding: Optional[str] = None)[source]¶ Bases: BaseLoader Loads a CSV file into a list of documents. Each document represents one row of the CSV file. Every row is converted into a key/value pair and outputted to a new line in the document’s page_content. The source for each document loaded from csv is set to the value of the file_path argument for all doucments by default. You can override this by setting the source_column argument to the name of a column in the CSV file. The source of each document will then be set to the value of the column with the name specified in source_column. Output Example:column1: value1 column2: value2 column3: value3 Methods __init__(file_path[, source_column, ...]) lazy_load() A lazy loader for document content. load() Load data into document objects. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load data into document objects. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 11468, 22927, 732, 18282, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 11468, 22927, 732, 18282, 9360, 4971, 2703, 25, 610, 11, 2592, 8918, 25, 12536, 17752, 60, 284, 2290, 11, 13448, 8550, 25, 12536, 58, 13755, 60, 284, 2290, 11, 11418, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 79617, 264, 28545, 1052, 1139, 264, 1160, 315, 9477, 627, 4959, 2246, 11105, 832, 2872, 315, 279, 28545, 1052, 13, 7357, 2872, 374, 16489, 1139, 264, 198, 798, 58642, 6857, 323, 2612, 6702, 311, 264, 502, 1584, 304, 279, 2246, 753, 2199, 7647, 627, 791, 2592, 369, 1855, 2246, 6799, 505, 13448, 374, 743, 311, 279, 907, 315, 279, 198, 1213, 2703, 5811, 369, 682, 25595, 66, 1392, 555, 1670, 627, 2675, 649, 2882, 420, 555, 6376, 279, 2592, 8918, 5811, 311, 279, 198, 609, 315, 264, 3330, 304, 279, 28545, 1052, 627, 791, 2592, 315, 1855, 2246, 690, 1243, 387, 743, 311, 279, 907, 315, 279, 3330, 198, 4291, 279, 836, 5300, 304, 2592, 8918, 627, 5207, 13688, 25, 6361, 16, 25, 907, 16, 198, 6361, 17, 25, 907, 17, 198, 6361, 18, 25, 907, 18, 198, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 2484, 8918, 11, 4194, 1131, 2608, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 828, 1139, 2246, 6302, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.csv_loader.CSVLoader.html
dcb5b7a829aa-0
langchain.document_loaders.mediawikidump.MWDumpLoader¶ class langchain.document_loaders.mediawikidump.MWDumpLoader(file_path: str, encoding: Optional[str] = 'utf8')[source]¶ Bases: BaseLoader Load MediaWiki dump from XML file .. rubric:: Example from langchain.document_loaders import MWDumpLoader loader = MWDumpLoader( file_path="myWiki.xml", encoding="utf8" ) docs = loader.load() from langchain.text_splitter import RecursiveCharacterTextSplitter text_splitter = RecursiveCharacterTextSplitter( chunk_size=1000, chunk_overlap=0 ) texts = text_splitter.split_documents(docs) Parameters file_path (str) – XML local file path encoding (str, optional) – Charset encoding, defaults to “utf8” Initialize with file path. Methods __init__(file_path[, encoding]) Initialize with file path. lazy_load() A lazy loader for document content. load() Load from file path. load_and_split([text_splitter]) Load documents and split into chunks. lazy_load() → Iterator[Document]¶ A lazy loader for document content. load() → List[Document][source]¶ Load from file path. load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶ Load documents and split into chunks.
[ 5317, 8995, 17926, 12693, 388, 749, 19586, 675, 1609, 307, 1538, 1345, 18023, 1538, 9360, 55609, 198, 1058, 8859, 8995, 17926, 12693, 388, 749, 19586, 675, 1609, 307, 1538, 1345, 18023, 1538, 9360, 4971, 2703, 25, 610, 11, 11418, 25, 12536, 17752, 60, 284, 364, 4867, 23, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 9360, 198, 6003, 7972, 54996, 10488, 505, 12138, 1052, 198, 497, 10485, 2265, 487, 13688, 198, 1527, 8859, 8995, 17926, 12693, 388, 1179, 386, 18023, 1538, 9360, 198, 8520, 284, 386, 18023, 1538, 9360, 1021, 262, 1052, 2703, 429, 2465, 54996, 9205, 761, 262, 11418, 429, 4867, 23, 702, 340, 14452, 284, 16432, 5214, 746, 1527, 8859, 8995, 2858, 17489, 466, 1179, 86996, 12686, 1199, 20805, 466, 198, 1342, 17489, 466, 284, 86996, 12686, 1199, 20805, 466, 1021, 262, 12143, 2424, 28, 1041, 15, 11, 12143, 66894, 28, 15, 198, 340, 87042, 284, 1495, 17489, 466, 5402, 77027, 90519, 340, 9905, 198, 1213, 2703, 320, 496, 8, 1389, 12138, 2254, 1052, 1853, 198, 17600, 320, 496, 11, 10309, 8, 1389, 88971, 11418, 11, 17088, 311, 1054, 4867, 23, 89874, 10130, 449, 1052, 1853, 627, 18337, 198, 565, 2381, 3889, 1213, 2703, 38372, 4194, 17600, 2608, 10130, 449, 1052, 1853, 627, 50113, 12693, 746, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 746, 6003, 505, 1052, 1853, 627, 1096, 8543, 17489, 2625, 1342, 17489, 466, 2608, 6003, 9477, 323, 6859, 1139, 27855, 627, 50113, 12693, 368, 11651, 23887, 58, 7676, 60, 55609, 198, 32, 16053, 16432, 369, 2246, 2262, 627, 1096, 368, 11651, 1796, 58, 7676, 1483, 2484, 60, 55609, 198, 6003, 505, 1052, 1853, 627, 1096, 8543, 17489, 7383, 17489, 466, 25, 12536, 58, 1199, 20805, 466, 60, 284, 2290, 8, 11651, 1796, 58, 7676, 60, 55609, 198, 6003, 9477, 323, 6859, 1139, 27855, 13 ]
https://langchain.readthedocs.io/en/latest/document_loaders/langchain.document_loaders.mediawikidump.MWDumpLoader.html