Ask a question to get started
Enter to send•Shift+Enter new line
Path of the file as a LangChain import exclude langchain top namespace.
as_import_path( file: Path | str, *, suffix: str | None = None, relative_to: Path = PACKAGE_DIR ) -> str
file
Path | str
The file path to convert.
suffix
str | None
None
An optional suffix to append to the import path.
relative_to
Path
PACKAGE_DIR
The base path to make the file path relative to.