Home / File/ data.py — langchain Source File

data.py — langchain Source File

Architecture documentation for data.py, a python file in the langchain codebase. 1 imports, 0 dependents.

File python 1 imports

Entity Profile

Dependency Diagram

graph LR
  d5ea3533_69cb_5f0f_0b8d_291bc74a5349["data.py"]
  927570d8_11a6_5c17_0f0d_80baae0c733e["pathlib"]
  d5ea3533_69cb_5f0f_0b8d_291bc74a5349 --> 927570d8_11a6_5c17_0f0d_80baae0c733e
  style d5ea3533_69cb_5f0f_0b8d_291bc74a5349 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Module defines common test data."""

from pathlib import Path

_THIS_DIR = Path(__file__).parent

_EXAMPLES_DIR = _THIS_DIR / "integration_tests" / "examples"

# Paths to test PDF files
HELLO_PDF = _EXAMPLES_DIR / "hello.pdf"
LAYOUT_PARSER_PAPER_PDF = _EXAMPLES_DIR / "layout-parser-paper.pdf"
DUPLICATE_CHARS = _EXAMPLES_DIR / "duplicate-chars.pdf"

Dependencies

  • pathlib

Frequently Asked Questions

What does data.py do?
data.py is a source file in the langchain codebase, written in python.
What does data.py depend on?
data.py imports 1 module(s): pathlib.
Where is data.py in the architecture?
data.py is located at libs/langchain/tests/data.py (directory: libs/langchain/tests).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free