__init__.py — langchain Source File
Architecture documentation for __init__.py, a python file in the langchain codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6cbe43ba_af5e_0eac_ec3d_55d16906adf7["__init__.py"] 918b8514_ba55_6df2_7254_4598ec160e33["langchain_core.embeddings"] 6cbe43ba_af5e_0eac_ec3d_55d16906adf7 --> 918b8514_ba55_6df2_7254_4598ec160e33 62ce970c_d85a_1868_2620_da6f7ee9ea93["langchain.embeddings.base"] 6cbe43ba_af5e_0eac_ec3d_55d16906adf7 --> 62ce970c_d85a_1868_2620_da6f7ee9ea93 style 6cbe43ba_af5e_0eac_ec3d_55d16906adf7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Embeddings models.
!!! warning "Modules moved"
With the release of `langchain 1.0.0`, several embeddings modules were moved to
`langchain-classic`, such as `CacheBackedEmbeddings` and all community
embeddings. See [list](https://github.com/langchain-ai/langchain/blob/bdf1cd383ce36dc18381a3bf3fb0a579337a32b5/libs/langchain/langchain/embeddings/__init__.py)
of moved modules to inform your migration.
"""
from langchain_core.embeddings import Embeddings
from langchain.embeddings.base import init_embeddings
__all__ = [
"Embeddings",
"init_embeddings",
]
Dependencies
- langchain.embeddings.base
- langchain_core.embeddings
Source
Frequently Asked Questions
What does __init__.py do?
__init__.py is a source file in the langchain codebase, written in python.
What does __init__.py depend on?
__init__.py imports 2 module(s): langchain.embeddings.base, langchain_core.embeddings.
Where is __init__.py in the architecture?
__init__.py is located at libs/langchain_v1/langchain/embeddings/__init__.py (directory: libs/langchain_v1/langchain/embeddings).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free