id stringlengths 14 15 | text stringlengths 13 2.7k | source stringlengths 60 181 |
|---|---|---|
967cae8f5962-2 | classmethod schema(by_alias: bool = True, ref_template: unicode = '#/definitions/{model}') → DictStrAny¶
classmethod schema_json(*, by_alias: bool = True, ref_template: unicode = '#/definitions/{model}', **dumps_kwargs: Any) → unicode¶
classmethod update_forward_refs(**localns: Any) → None¶
Try to update ForwardRefs on... | https://api.python.langchain.com/en/latest/outputs/langchain_core.outputs.chat_result.ChatResult.html |
a177a2de3c38-0 | langchain_community.document_loaders.airtable.AirtableLoader¶
class langchain_community.document_loaders.airtable.AirtableLoader(api_token: str, table_id: str, base_id: str)[source]¶
Load the Airtable tables.
Initialize with API token and the IDs for table and base
Attributes
api_token
Airtable API token.
table_id
Airt... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.airtable.AirtableLoader.html |
36ce803303f2-0 | langchain_community.document_loaders.s3_file.S3FileLoader¶
class langchain_community.document_loaders.s3_file.S3FileLoader(bucket: str, key: str, *, region_name: Optional[str] = None, api_version: Optional[str] = None, use_ssl: Optional[bool] = True, verify: Union[str, bool, None] = None, endpoint_url: Optional[str] = ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html |
36ce803303f2-1 | different CA cert bundle than the one used by botocore.
endpoint_url – The complete URL to use for the constructed
client. Normally, botocore will automatically construct the
appropriate URL to use when communicating with a service. You can
specify a complete URL (including the “http/https” scheme) to
override this b... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html |
36ce803303f2-2 | load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(bucket: str, key: str, *, region_name: Optional[str] = None, api_version: Optional[str] = None, use_ssl: Optional[bool] = True, verify: Union[str, bool, None] = None, endpoint_url: Optional[str] = None, aws_access_key_id: Optional[str] = Non... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html |
36ce803303f2-3 | client. Normally, botocore will automatically construct the
appropriate URL to use when communicating with a service. You can
specify a complete URL (including the “http/https” scheme) to
override this behavior. If this value is provided, then
use_ssl is ignored.
aws_access_key_id – The access key to use when creati... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html |
ec09f94a3be8-0 | langchain_community.document_loaders.rocksetdb.RocksetLoader¶
class langchain_community.document_loaders.rocksetdb.RocksetLoader(client: ~typing.Any, query: ~typing.Any, content_keys: ~typing.List[str], metadata_keys: ~typing.Optional[~typing.List[str]] = None, content_columns_joiner: ~typing.Callable[[~typing.List[~ty... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.rocksetdb.RocksetLoader.html |
ec09f94a3be8-1 | line. This method is only relevant if there are multiple content_keys.
Methods
__init__(client, query, content_keys[, ...])
Initialize with Rockset client.
lazy_load()
A lazy loader for Documents.
load()
Load data into Document objects.
load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(clie... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.rocksetdb.RocksetLoader.html |
ec09f94a3be8-2 | Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
Examples using RocksetLoader¶
Rockset | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.rocksetdb.RocksetLoader.html |
f0004f80ab99-0 | langchain_community.document_loaders.tomarkdown.ToMarkdownLoader¶
class langchain_community.document_loaders.tomarkdown.ToMarkdownLoader(url: str, api_key: str)[source]¶
Load HTML using 2markdown API.
Initialize with url and api key.
Methods
__init__(url, api_key)
Initialize with url and api key.
lazy_load()
Lazily loa... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.tomarkdown.ToMarkdownLoader.html |
d7e201c4e429-0 | langchain_community.document_loaders.blockchain.BlockchainDocumentLoader¶
class langchain_community.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... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.blockchain.BlockchainDocumentLoader.html |
d7e201c4e429-1 | __init__(contract_address[, blockchainType, ...])
param contract_address
The address of the smart contract.
lazy_load()
A lazy loader for Documents.
load()
Load data into Document objects.
load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(contract_address: str, blockchainType: BlockchainTyp... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.blockchain.BlockchainDocumentLoader.html |
5477d880cb79-0 | langchain_community.document_loaders.whatsapp_chat.WhatsAppChatLoader¶
class langchain_community.document_loaders.whatsapp_chat.WhatsAppChatLoader(path: str)[source]¶
Load WhatsApp messages text file.
Initialize with path.
Methods
__init__(path)
Initialize with path.
lazy_load()
A lazy loader for Documents.
load()
Load... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.whatsapp_chat.WhatsAppChatLoader.html |
4afb35742e95-0 | langchain_community.document_loaders.markdown.UnstructuredMarkdownLoader¶
class langchain_community.document_loaders.markdown.UnstructuredMarkdownLoader(file_path: Union[str, List[str]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶
Load Markdown files using Unstructured.
You can run the loader in one of t... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.markdown.UnstructuredMarkdownLoader.html |
4afb35742e95-1 | Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
Examples using UnstructuredMarkdownLoader¶
StarRocks | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.markdown.UnstructuredMarkdownLoader.html |
1384d4cdc7b0-0 | langchain_community.document_loaders.url_playwright.PlaywrightEvaluator¶
class langchain_community.document_loaders.url_playwright.PlaywrightEvaluator[source]¶
Abstract base class for all evaluators.
Each evaluator should take a page, a browser instance, and a response
object, process the page as necessary, and return ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.url_playwright.PlaywrightEvaluator.html |
131d26f4fe10-0 | langchain_community.document_loaders.docusaurus.DocusaurusLoader¶
class langchain_community.document_loaders.docusaurus.DocusaurusLoader(url: str, custom_html_tags: Optional[List[str]] = None, **kwargs: Any)[source]¶
Loader that leverages the SitemapLoader to loop through the generated pages of a
Docusaurus Documentati... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.docusaurus.DocusaurusLoader.html |
131d26f4fe10-1 | parse_sitemap(soup)
Parse sitemap xml and load into a list of dicts.
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.
__init__(url: str, custom_html_tags: Optional[List[str]] = None, **kwargs: Any)[source]¶
Ini... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.docusaurus.DocusaurusLoader.html |
131d26f4fe10-2 | Fetch all urls, then return soups for all results. | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.docusaurus.DocusaurusLoader.html |
f825bfc06533-0 | langchain_community.document_loaders.assemblyai.AssemblyAIAudioTranscriptLoader¶
class langchain_community.document_loaders.assemblyai.AssemblyAIAudioTranscriptLoader(file_path: str, *, transcript_format: TranscriptFormat = TranscriptFormat.TEXT, config: Optional[assemblyai.TranscriptionConfig] = None, api_key: Optiona... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.assemblyai.AssemblyAIAudioTranscriptLoader.html |
f825bfc06533-1 | Parameters
file_path – An URL or a local file path.
transcript_format – Transcript format to use.
See class TranscriptFormat for more info.
config – Transcription options and features. If None is given,
the Transcriber’s default configuration will be used.
api_key – AssemblyAI API key.
lazy_load() → Iterator[Document]¶... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.assemblyai.AssemblyAIAudioTranscriptLoader.html |
c8027aafa76a-0 | langchain_community.document_loaders.notebook.NotebookLoader¶
class langchain_community.document_loaders.notebook.NotebookLoader(path: str, include_outputs: bool = False, max_output_length: int = 10, remove_newline: bool = False, traceback: bool = False)[source]¶
Load Jupyter notebook (.ipynb) files.
Initialize with a ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.notebook.NotebookLoader.html |
c8027aafa76a-1 | load() → List[Document][source]¶
Load documents.
load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplit... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.notebook.NotebookLoader.html |
cd750f486cdb-0 | langchain_community.document_loaders.parsers.pdf.AmazonTextractPDFParser¶
class langchain_community.document_loaders.parsers.pdf.AmazonTextractPDFParser(textract_features: Optional[Sequence[int]] = None, client: Optional[Any] = None)[source]¶
Send PDF files to Amazon Textract and parse them.
For parsing multi-page PDFs... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.pdf.AmazonTextractPDFParser.html |
cd750f486cdb-1 | output the key/value pairs with a colon (key: value).
This helps most LLMs to achieve better accuracy when
processing these texts.
Initializes the parser.
Parameters
textract_features – Features to be used for extraction, each feature
should be passed as an int that conforms to the enum
Textract_Features, see amazon-te... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.pdf.AmazonTextractPDFParser.html |
1ef5b736d06e-0 | langchain_community.document_loaders.blob_loaders.file_system.FileSystemBlobLoader¶
class langchain_community.document_loaders.blob_loaders.file_system.FileSystemBlobLoader(path: Union[str, Path], *, glob: str = '**/[!.]*', exclude: Sequence[str] = (), suffixes: Optional[Sequence[str]] = None, show_progress: bool = Fal... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.blob_loaders.file_system.FileSystemBlobLoader.html |
1ef5b736d06e-1 | yield_blobs()
Yield blobs that match the requested pattern.
__init__(path: Union[str, Path], *, glob: str = '**/[!.]*', exclude: Sequence[str] = (), suffixes: Optional[Sequence[str]] = None, show_progress: bool = False) → None[source]¶
Initialize with a path to directory and how to glob over it.
Parameters
path – Path ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.blob_loaders.file_system.FileSystemBlobLoader.html |
44a1e45bd6d0-0 | langchain_community.document_loaders.weather.WeatherDataLoader¶
class langchain_community.document_loaders.weather.WeatherDataLoader(client: OpenWeatherMapAPIWrapper, places: Sequence[str])[source]¶
Load weather data with Open Weather Map API.
Reads the forecast & current weather of any location using OpenWeatherMap’s ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.weather.WeatherDataLoader.html |
72da88681afd-0 | langchain_community.document_loaders.git.GitLoader¶
class langchain_community.document_loaders.git.GitLoader(repo_path: str, clone_url: Optional[str] = None, branch: Optional[str] = 'main', file_filter: Optional[Callable[[str], bool]] = None)[source]¶
Load Git repository files.
The Repository can be local on disk avail... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.git.GitLoader.html |
72da88681afd-1 | file_filter – Optional. A function that takes a file path and returns
a boolean indicating whether to load the file. Defaults to None.
lazy_load() → Iterator[Document]¶
A lazy loader for Documents.
load() → List[Document][source]¶
Load data into Document objects.
load_and_split(text_splitter: Optional[TextSplitter] = N... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.git.GitLoader.html |
00b6ed234e34-0 | langchain_community.document_loaders.parsers.pdf.PDFMinerParser¶
class langchain_community.document_loaders.parsers.pdf.PDFMinerParser(extract_images: bool = False, *, concatenate_pages: bool = True)[source]¶
Parse PDF using PDFMiner.
Initialize a parser based on PDFMiner.
Parameters
extract_images – Whether to extract... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.pdf.PDFMinerParser.html |
bea65089e274-0 | langchain_community.document_loaders.url_playwright.PlaywrightURLLoader¶
class langchain_community.document_loaders.url_playwright.PlaywrightURLLoader(urls: List[str], continue_on_failure: bool = True, headless: bool = True, remove_selectors: Optional[List[str]] = None, evaluator: Optional[PlaywrightEvaluator] = None)[... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.url_playwright.PlaywrightURLLoader.html |
bea65089e274-1 | A lazy loader for Documents.
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 spl... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.url_playwright.PlaywrightURLLoader.html |
2b8c76f61379-0 | langchain_community.document_loaders.google_speech_to_text.GoogleSpeechToTextLoader¶
class langchain_community.document_loaders.google_speech_to_text.GoogleSpeechToTextLoader(project_id: str, file_path: str, location: str = 'us-central1', recognizer_id: str = '_', config: Optional[RecognitionConfig] = None, config_mask... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.google_speech_to_text.GoogleSpeechToTextLoader.html |
2b8c76f61379-1 | lazy_load()
A lazy loader for Documents.
load()
Transcribes the audio file and loads the transcript into documents.
load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(project_id: str, file_path: str, location: str = 'us-central1', recognizer_id: str = '_', config: Optional[RecognitionConfig]... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.google_speech_to_text.GoogleSpeechToTextLoader.html |
2b8c76f61379-2 | Returns
List of Documents.
Examples using GoogleSpeechToTextLoader¶
Google Cloud Speech-to-Text | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.google_speech_to_text.GoogleSpeechToTextLoader.html |
cb764eee3583-0 | langchain_community.document_loaders.mediawikidump.MWDumpLoader¶
class langchain_community.document_loaders.mediawikidump.MWDumpLoader(file_path: Union[str, Path], encoding: Optional[str] = 'utf8', namespaces: Optional[Sequence[int]] = None, skip_redirects: Optional[bool] = False, stop_on_error: Optional[bool] = True)[... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.mediawikidump.MWDumpLoader.html |
cb764eee3583-1 | load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(file_path: Union[str, Path], encoding: Optional[str] = 'utf8', namespaces: Optional[Sequence[int]] = None, skip_redirects: Optional[bool] = False, stop_on_error: Optional[bool] = True)[source]¶
lazy_load() → Iterator[Document]¶
A lazy loader... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.mediawikidump.MWDumpLoader.html |
3192a2973e63-0 | langchain_community.document_loaders.parsers.language.cobol.CobolSegmenter¶
class langchain_community.document_loaders.parsers.language.cobol.CobolSegmenter(code: str)[source]¶
Code segmenter for COBOL.
Attributes
DIVISION_PATTERN
PARAGRAPH_PATTERN
SECTION_PATTERN
Methods
__init__(code)
extract_functions_classes()
is_v... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.language.cobol.CobolSegmenter.html |
8ee5cc6a6117-0 | langchain_community.document_loaders.bilibili.BiliBiliLoader¶
class langchain_community.document_loaders.bilibili.BiliBiliLoader(video_urls: List[str])[source]¶
Load BiliBili video transcripts.
Initialize with bilibili url.
Parameters
video_urls – List of bilibili urls.
Methods
__init__(video_urls)
Initialize with bili... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.bilibili.BiliBiliLoader.html |
91dd6584428a-0 | langchain_community.document_loaders.onedrive.OneDriveLoader¶
class langchain_community.document_loaders.onedrive.OneDriveLoader[source]¶
Bases: O365BaseLoader
Load from Microsoft OneDrive.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.onedrive.OneDriveLoader.html |
91dd6584428a-1 | Parameters
include – fields to include in new model
exclude – fields to exclude from new model, as with values this takes precedence over include
update – values to change/add in the new model. Note: the data is not validated before creating
the new model: you should trust this data
deep – set to True to make a deep co... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.onedrive.OneDriveLoader.html |
91dd6584428a-2 | load() → List[Document][source]¶
Load all documents.
load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextS... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.onedrive.OneDriveLoader.html |
00a6961aa5a3-0 | langchain_community.document_loaders.news.NewsURLLoader¶
class langchain_community.document_loaders.news.NewsURLLoader(urls: List[str], text_mode: bool = True, nlp: bool = False, continue_on_failure: bool = True, show_progress_bar: bool = False, **newspaper_kwargs: Any)[source]¶
Load news articles from URLs using Unstr... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.news.NewsURLLoader.html |
00a6961aa5a3-1 | Initialize with file path.
lazy_load() → Iterator[Document][source]¶
A lazy loader for 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. Chunks are returned as Documents.
Param... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.news.NewsURLLoader.html |
78e0495cd2a2-0 | langchain_community.document_loaders.rst.UnstructuredRSTLoader¶
class langchain_community.document_loaders.rst.UnstructuredRSTLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶
Load RST files using Unstructured.
You can run the loader in one of two modes: “single” and “elements”.
If you u... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.rst.UnstructuredRSTLoader.html |
78e0495cd2a2-1 | Defaults to “single”.
**unstructured_kwargs – Additional keyword arguments to pass
to unstructured.
lazy_load() → Iterator[Document]¶
A lazy loader for Documents.
load() → List[Document]¶
Load file.
load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
Load Documents and split into chunks. Chun... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.rst.UnstructuredRSTLoader.html |
f840acf41269-0 | langchain_community.document_loaders.tencent_cos_file.TencentCOSFileLoader¶
class langchain_community.document_loaders.tencent_cos_file.TencentCOSFileLoader(conf: Any, bucket: str, key: str)[source]¶
Load from Tencent Cloud COS file.
Initialize with COS config, bucket and key name.
:param conf(CosConfig): COS config.
:... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.tencent_cos_file.TencentCOSFileLoader.html |
718f6a0f5e2b-0 | langchain_community.document_loaders.chatgpt.concatenate_rows¶
langchain_community.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
Ret... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.chatgpt.concatenate_rows.html |
e628b75facf5-0 | langchain_community.document_loaders.html.UnstructuredHTMLLoader¶
class langchain_community.document_loaders.html.UnstructuredHTMLLoader(file_path: Union[str, List[str]], mode: str = 'single', **unstructured_kwargs: Any)[source]¶
Load HTML files using Unstructured.
You can run the loader in one of two modes: “single” a... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.html.UnstructuredHTMLLoader.html |
e628b75facf5-1 | Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents. | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.html.UnstructuredHTMLLoader.html |
cd19f7b2e178-0 | langchain_community.document_loaders.github.GitHubIssuesLoader¶
class langchain_community.document_loaders.github.GitHubIssuesLoader[source]¶
Bases: BaseGitHubLoader
Load issues of a GitHub repository.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input da... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.github.GitHubIssuesLoader.html |
cd19f7b2e178-1 | 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’.
p... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.github.GitHubIssuesLoader.html |
cd19f7b2e178-2 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.github.GitHubIssuesLoader.html |
cd19f7b2e178-3 | 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... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.github.GitHubIssuesLoader.html |
9f182d32ed05-0 | langchain_community.document_loaders.url_playwright.UnstructuredHtmlEvaluator¶
class langchain_community.document_loaders.url_playwright.UnstructuredHtmlEvaluator(remove_selectors: Optional[List[str]] = None)[source]¶
Evaluates the page HTML content using the unstructured library.
Initialize UnstructuredHtmlEvaluator.
... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.url_playwright.UnstructuredHtmlEvaluator.html |
060934c25411-0 | langchain_community.document_loaders.telegram.TelegramChatApiLoader¶
class langchain_community.document_loaders.telegram.TelegramChatApiLoader(chat_entity: Optional[EntityLike] = None, api_id: Optional[int] = None, api_hash: Optional[str] = None, username: Optional[str] = None, file_path: str = 'telegram_data.json')[so... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.telegram.TelegramChatApiLoader.html |
060934c25411-1 | lazy_load() → Iterator[Document]¶
A lazy loader for Documents.
load() → List[Document][source]¶
Load documents.
load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use f... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.telegram.TelegramChatApiLoader.html |
297e76206e49-0 | langchain_community.document_loaders.helpers.detect_file_encodings¶
langchain_community.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.... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.helpers.detect_file_encodings.html |
6d82c6022d90-0 | langchain_community.document_loaders.tensorflow_datasets.TensorflowDatasetLoader¶
class langchain_community.document_loaders.tensorflow_datasets.TensorflowDatasetLoader(dataset_name: str, split_name: str, load_max_docs: Optional[int] = 100, sample_to_document_function: Optional[Callable[[Dict], Document]] = None)[sourc... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.tensorflow_datasets.TensorflowDatasetLoader.html |
6d82c6022d90-1 | sample_to_document_function
Custom function that transform a dataset sample into a Document.
Methods
__init__(dataset_name, split_name[, ...])
Initialize the TensorflowDatasetLoader.
lazy_load()
A lazy loader for Documents.
load()
Load data into Document objects.
load_and_split([text_splitter])
Load Documents and split... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.tensorflow_datasets.TensorflowDatasetLoader.html |
772f22b035cd-0 | langchain_community.document_loaders.s3_directory.S3DirectoryLoader¶
class langchain_community.document_loaders.s3_directory.S3DirectoryLoader(bucket: str, prefix: str = '', *, region_name: Optional[str] = None, api_version: Optional[str] = None, use_ssl: Optional[bool] = True, verify: Union[str, bool, None] = None, en... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_directory.S3DirectoryLoader.html |
772f22b035cd-1 | different CA cert bundle than the one used by botocore.
endpoint_url – The complete URL to use for the constructed
client. Normally, botocore will automatically construct the
appropriate URL to use when communicating with a service. You can
specify a complete URL (including the “http/https” scheme) to
override this b... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_directory.S3DirectoryLoader.html |
772f22b035cd-2 | load_and_split([text_splitter])
Load Documents and split into chunks.
__init__(bucket: str, prefix: str = '', *, region_name: Optional[str] = None, api_version: Optional[str] = None, use_ssl: Optional[bool] = True, verify: Union[str, bool, None] = None, endpoint_url: Optional[str] = None, aws_access_key_id: Optional[st... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_directory.S3DirectoryLoader.html |
772f22b035cd-3 | client. Normally, botocore will automatically construct the
appropriate URL to use when communicating with a service. You can
specify a complete URL (including the “http/https” scheme) to
override this behavior. If this value is provided, then
use_ssl is ignored.
aws_access_key_id – The access key to use when creati... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_directory.S3DirectoryLoader.html |
7353f3e378d7-0 | langchain_community.document_loaders.modern_treasury.ModernTreasuryLoader¶
class langchain_community.document_loaders.modern_treasury.ModernTreasuryLoader(resource: str, organization_id: Optional[str] = None, api_key: Optional[str] = None)[source]¶
Load from Modern Treasury.
Parameters
resource – The Modern Treasury re... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.modern_treasury.ModernTreasuryLoader.html |
7353f3e378d7-1 | Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
Examples using ModernTreasuryLoader¶
Modern Treasury | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.modern_treasury.ModernTreasuryLoader.html |
1997ebc0c1a5-0 | langchain_community.document_loaders.base_o365.O365BaseLoader¶
class langchain_community.document_loaders.base_o365.O365BaseLoader[source]¶
Bases: BaseLoader, BaseModel
Base class for all loaders that uses O365 Package
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationErro... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.base_o365.O365BaseLoader.html |
1997ebc0c1a5-1 | deep – set to True to make a deep copy of the model
Returns
new model instance
dict(*, include: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, exclude: Optional[Union[AbstractSetIntStr, MappingIntStrAny]] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, ex... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.base_o365.O365BaseLoader.html |
1997ebc0c1a5-2 | Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
classmethod parse_file(path: Union[str, Path], *, content_type: unicode = None, encoding: unicode = 'utf8', proto: Protocol = None, allow_pickle: bool = False) → Model¶
classmethod parse_obj(obj: Any) → Model¶
classmethod parse_raw(b: Union[str, byt... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.base_o365.O365BaseLoader.html |
276f22f53459-0 | langchain_community.document_loaders.helpers.FileEncoding¶
class langchain_community.document_loaders.helpers.FileEncoding(encoding: Optional[str], confidence: float, language: Optional[str])[source]¶
File encoding as the NamedTuple.
Create new instance of FileEncoding(encoding, confidence, language)
Attributes
confide... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.helpers.FileEncoding.html |
0b720e6ee57b-0 | langchain_community.document_loaders.email.UnstructuredEmailLoader¶
class langchain_community.document_loaders.email.UnstructuredEmailLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶
Load email files using Unstructured.
Works with both
.eml and .msg files. You can process attachments in... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.email.UnstructuredEmailLoader.html |
0b720e6ee57b-1 | Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
Examples using UnstructuredEmailLoader¶
Email | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.email.UnstructuredEmailLoader.html |
83958f525ff5-0 | langchain_community.document_loaders.gitbook.GitbookLoader¶
class langchain_community.document_loaders.gitbook.GitbookLoader(web_page: str, load_all_paths: bool = False, base_url: Optional[str] = None, content_selector: str = 'main', continue_on_failure: bool = False)[source]¶
Load GitBook data.
load from either a sing... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gitbook.GitbookLoader.html |
83958f525ff5-1 | scrape_all(urls[, parser])
Fetch all urls, then return soups for all results.
__init__(web_page: str, load_all_paths: bool = False, base_url: Optional[str] = None, content_selector: str = 'main', continue_on_failure: bool = False)[source]¶
Initialize with web page and whether to load all paths.
Parameters
web_page – Th... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gitbook.GitbookLoader.html |
83958f525ff5-2 | List of Documents.
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.
Examples using GitbookLoader¶
GitBook | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gitbook.GitbookLoader.html |
4d7fe0b7d0dd-0 | langchain_community.document_loaders.mhtml.MHTMLLoader¶
class langchain_community.document_loaders.mhtml.MHTMLLoader(file_path: str, open_encoding: Optional[str] = None, bs_kwargs: Optional[dict] = None, get_text_separator: str = '')[source]¶
Parse MHTML files with BeautifulSoup.
Initialise with path, and optionally, f... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.mhtml.MHTMLLoader.html |
4d7fe0b7d0dd-1 | 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. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveC... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.mhtml.MHTMLLoader.html |
de01ef3c12b7-0 | langchain_community.document_loaders.gcs_directory.GCSDirectoryLoader¶
class langchain_community.document_loaders.gcs_directory.GCSDirectoryLoader(project_name: str, bucket: str, prefix: str = '', loader_func: Optional[Callable[[str], BaseLoader]] = None)[source]¶
Load from GCS directory.
Initialize with bucket and key... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gcs_directory.GCSDirectoryLoader.html |
de01ef3c12b7-1 | Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
Examples using GCSDirectoryLoader¶
Google Cloud Storage
Google Cloud Storage Directory | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gcs_directory.GCSDirectoryLoader.html |
a5eb9740a8a3-0 | langchain_community.document_loaders.arxiv.ArxivLoader¶
class langchain_community.document_loaders.arxiv.ArxivLoader(query: str, doc_content_chars_max: Optional[int] = None, **kwargs: Any)[source]¶
Load a query result from Arxiv.
The loader converts the original PDF format into the text.
Parameters
ArxivAPIWrapper. (Su... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.arxiv.ArxivLoader.html |
30704da86f04-0 | langchain_community.document_loaders.pdf.PyPDFLoader¶
class langchain_community.document_loaders.pdf.PyPDFLoader(file_path: str, password: Optional[Union[str, bytes]] = None, headers: Optional[Dict] = None, extract_images: bool = False)[source]¶
Load PDF using pypdf into list of documents.
Loader chunks by page and sto... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.pdf.PyPDFLoader.html |
f99af37b430d-0 | langchain_community.document_loaders.chromium.AsyncChromiumLoader¶
class langchain_community.document_loaders.chromium.AsyncChromiumLoader(urls: List[str])[source]¶
Scrape HTML pages from URLs using a
headless instance of the Chromium.
Initialize the loader with a list of URL paths.
Parameters
urls (List[str]) – A list... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.chromium.AsyncChromiumLoader.html |
f99af37b430d-1 | load() → List[Document][source]¶
Load and return all Documents from the provided URLs.
Returns
A list of Document objects
containing the scraped content from each URL.
Return type
List[Document]
load_and_split(text_splitter: Optional[TextSplitter] = None) → List[Document]¶
Load Documents and split into chunks. Chunks a... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.chromium.AsyncChromiumLoader.html |
07c7dafdc626-0 | langchain_community.document_loaders.odt.UnstructuredODTLoader¶
class langchain_community.document_loaders.odt.UnstructuredODTLoader(file_path: str, mode: str = 'single', **unstructured_kwargs: Any)[source]¶
Load OpenOffice ODT files using Unstructured.
You can run the loader in one of two modes: “single” and “elements... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.odt.UnstructuredODTLoader.html |
07c7dafdc626-1 | mode – The mode to use when loading the file. Can be one of “single”,
“multi”, or “all”. Default is “single”.
**unstructured_kwargs – Any kwargs to pass to the unstructured.
lazy_load() → Iterator[Document]¶
A lazy loader for Documents.
load() → List[Document]¶
Load file.
load_and_split(text_splitter: Optional[TextSpli... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.odt.UnstructuredODTLoader.html |
c6b62b0b2def-0 | langchain_community.document_loaders.azlyrics.AZLyricsLoader¶
class langchain_community.document_loaders.azlyrics.AZLyricsLoader(web_path: Union[str, Sequence[str]] = '', header_template: Optional[dict] = None, verify_ssl: bool = True, proxies: Optional[dict] = None, continue_on_failure: bool = False, autoset_encoding:... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.azlyrics.AZLyricsLoader.html |
c6b62b0b2def-1 | 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.
__init__(web_path: Union[str, Sequence[str]] = '', header_template: Optional[dict] = None, verify_ssl: bool = True, proxies: Optional[dict] = None, continue_on_f... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.azlyrics.AZLyricsLoader.html |
c6b62b0b2def-2 | Load Documents and split into chunks. Chunks are returned as Documents.
Parameters
text_splitter – TextSplitter instance to use for splitting documents.
Defaults to RecursiveCharacterTextSplitter.
Returns
List of Documents.
scrape(parser: Optional[str] = None) → Any¶
Scrape data from webpage and return it in BeautifulS... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.azlyrics.AZLyricsLoader.html |
20002f375f2b-0 | langchain_community.document_loaders.parsers.audio.OpenAIWhisperParser¶
class langchain_community.document_loaders.parsers.audio.OpenAIWhisperParser(api_key: Optional[str] = None)[source]¶
Transcribe and parse audio files.
Audio transcription is with OpenAI Whisper model.
Methods
__init__([api_key])
lazy_parse(blob)
La... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.audio.OpenAIWhisperParser.html |
89c37d6f5179-0 | langchain_community.document_loaders.parsers.grobid.ServerUnavailableException¶
class langchain_community.document_loaders.parsers.grobid.ServerUnavailableException[source]¶
Exception raised when the Grobid server is unavailable. | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.grobid.ServerUnavailableException.html |
171bf3a12d95-0 | langchain_community.document_loaders.parsers.pdf.extract_from_images_with_rapidocr¶
langchain_community.document_loaders.parsers.pdf.extract_from_images_with_rapidocr(images: Sequence[Union[Iterable[ndarray], bytes]]) → str[source]¶
Extract text from images with RapidOCR.
Parameters
images – Images to extract text from... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.pdf.extract_from_images_with_rapidocr.html |
0a8e1397b257-0 | langchain_community.document_loaders.confluence.ContentFormat¶
class langchain_community.document_loaders.confluence.ContentFormat(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Enumerator of the content formats of Confluence page.
EDITOR = 'body.editor'¶
EXPORT_VIEW = 'bo... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.confluence.ContentFormat.html |
061d179a7277-0 | langchain_community.document_loaders.gutenberg.GutenbergLoader¶
class langchain_community.document_loaders.gutenberg.GutenbergLoader(file_path: str)[source]¶
Load from Gutenberg.org.
Initialize with a file path.
Methods
__init__(file_path)
Initialize with a file path.
lazy_load()
A lazy loader for Documents.
load()
Loa... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.gutenberg.GutenbergLoader.html |
d401bb4d9faf-0 | langchain_community.document_loaders.parsers.audio.YandexSTTParser¶
class langchain_community.document_loaders.parsers.audio.YandexSTTParser(*, api_key: Optional[str] = None, iam_token: Optional[str] = None, model: str = 'general', language: str = 'auto')[source]¶
Transcribe and parse audio files.
Audio transcription i... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.audio.YandexSTTParser.html |
d401bb4d9faf-1 | 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.
Parameter... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.parsers.audio.YandexSTTParser.html |
b4dd6fb372d9-0 | langchain_community.document_loaders.dataframe.DataFrameLoader¶
class langchain_community.document_loaders.dataframe.DataFrameLoader(data_frame: Any, page_content_column: str = 'text')[source]¶
Load Pandas DataFrame.
Initialize with dataframe object.
Parameters
data_frame – Pandas DataFrame object.
page_content_column ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.dataframe.DataFrameLoader.html |
36719af6d9d1-0 | langchain_community.document_loaders.wikipedia.WikipediaLoader¶
class langchain_community.document_loaders.wikipedia.WikipediaLoader(query: str, lang: str = 'en', load_max_docs: Optional[int] = 25, load_all_available_meta: Optional[bool] = False, doc_content_chars_max: Optional[int] = 4000)[source]¶
Load from Wikipedia... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.wikipedia.WikipediaLoader.html |
36719af6d9d1-1 | Parameters
query (str) – The query string to search on Wikipedia.
lang (str, optional) – The language code for the Wikipedia language edition.
Defaults to “en”.
load_max_docs (int, optional) – The maximum number of documents to load.
Defaults to 100.
load_all_available_meta (bool, optional) – Indicates whether to load ... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.wikipedia.WikipediaLoader.html |
d41be26c6dc4-0 | langchain_community.document_loaders.blob_loaders.schema.Blob¶
class langchain_community.document_loaders.blob_loaders.schema.Blob[source]¶
Bases: BaseModel
Blob represents raw data by either reference or value.
Provides an interface to materialize the blob in different representations, and
help to decouple the develop... | https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.blob_loaders.schema.Blob.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.