langchain/libs/community/tests/unit_tests/document_loaders
Ian 3019a594b7
community[minor]: Add tidb loader support (#17788)
This pull request support loading data from TiDB database with
Langchain.

A simple usage:
```
from  langchain_community.document_loaders import TiDBLoader

CONNECTION_STRING = "mysql+pymysql://root@127.0.0.1:4000/test"

QUERY = "select id, name, description from items;"
loader = TiDBLoader(
    connection_string=CONNECTION_STRING,
    query=QUERY,
    page_content_columns=["name", "description"],
    metadata_columns=["id"],
)
documents = loader.load()
print(documents)
```
2024-02-21 16:42:33 -08:00
..
blob_loaders
loaders
parsers infra: ignore flakey lua test (#17618) 2024-02-16 05:02:58 -07:00
sample_documents
test_docs
__init__.py
test_airbyte.py
test_arcgis_loader.py
test_assemblyai.py
test_base.py langchain[minor],community[minor]: Add async methods in BaseLoader (#16634) 2024-01-31 11:08:11 -08:00
test_bibtex.py
test_bshtml.py
test_confluence.py
test_couchbase.py
test_csv_loader.py
test_cube_semantic.py
test_detect_encoding.py
test_directory.py community[minor]: add exclude parameter to DirectoryLoader (#17316) 2024-02-16 09:42:42 -05:00
test_evernote_loader.py
test_generic_loader.py
test_git.py
test_github.py community[minor]: add github file loader to load any github file content b… (#15305) 2024-02-06 09:42:33 -08:00
test_hugging_face.py
test_imports.py community[minor]: Add tidb loader support (#17788) 2024-02-21 16:42:33 -08:00
test_json_loader.py
test_lakefs.py
test_mediawikidump.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
test_mhtml.py
test_mongodb.py
test_obsidian.py
test_onenote.py
test_pebblo.py community[minor]: Add pebblo safe document loader (#16862) 2024-02-12 21:56:12 -08:00
test_psychic.py
test_readthedoc.py
test_rspace_loader.py
test_rss.py
test_trello.py
test_web_base.py
test_youtube.py