Ask a question to get started
Enter to sendā¢Shift+Enter new line
as_import_path( file: Path | str, *, suffix: str | None =
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
Path of the file as a LangChain import exclude langchain top namespace.
The base path to make the file path relative to.