mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 22:44:36 +00:00
@@ -214,7 +214,7 @@ if TYPE_CHECKING:
|
||||
GitHubIssuesLoader,
|
||||
)
|
||||
from langchain_community.document_loaders.glue_catalog import (
|
||||
GlueCatalogLoader, # noqa: F401
|
||||
GlueCatalogLoader,
|
||||
)
|
||||
from langchain_community.document_loaders.google_speech_to_text import (
|
||||
GoogleSpeechToTextLoader,
|
||||
@@ -332,8 +332,8 @@ if TYPE_CHECKING:
|
||||
OracleAutonomousDatabaseLoader,
|
||||
)
|
||||
from langchain_community.document_loaders.oracleai import (
|
||||
OracleDocLoader, # noqa: F401
|
||||
OracleTextSplitter, # noqa: F401
|
||||
OracleDocLoader,
|
||||
OracleTextSplitter,
|
||||
)
|
||||
from langchain_community.document_loaders.org_mode import (
|
||||
UnstructuredOrgModeLoader,
|
||||
|
@@ -31,7 +31,7 @@ class BlackboardLoader(WebBaseLoader):
|
||||
)
|
||||
documents = loader.load()
|
||||
|
||||
""" # noqa: E501
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
@@ -34,7 +34,7 @@ class EverNoteLoader(BaseLoader):
|
||||
notes into a single long Document.
|
||||
If this is set to True (default) then the only metadata on the document will be
|
||||
the 'source' which contains the file name of the export.
|
||||
""" # noqa: E501
|
||||
"""
|
||||
|
||||
def __init__(self, file_path: Union[str, Path], load_single_document: bool = True):
|
||||
"""Initialize with file path."""
|
||||
|
@@ -208,9 +208,9 @@ class PebbloSafeLoader(BaseLoader):
|
||||
if loading_end is True:
|
||||
payload["loading_end"] = "true"
|
||||
if "loader_details" in payload:
|
||||
payload["loader_details"]["source_aggregate_size"] = ( # noqa
|
||||
self.source_aggregate_size
|
||||
)
|
||||
payload["loader_details"][
|
||||
"source_aggregate_size"
|
||||
] = self.source_aggregate_size
|
||||
payload = Doc(**payload).dict(exclude_unset=True)
|
||||
load_doc_url = f"{self.classifier_url}{LOADER_DOC_URL}"
|
||||
classified_docs = []
|
||||
|
Reference in New Issue
Block a user