__init__.py — langchain Source File
Architecture documentation for __init__.py, a python file in the langchain codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 3cd0f26f_95b5_bda0_cba6_6d3435bd71da["__init__.py"] feec1ec4_6917_867b_d228_b134d0ff8099["typing"] 3cd0f26f_95b5_bda0_cba6_6d3435bd71da --> feec1ec4_6917_867b_d228_b134d0ff8099 f75e66a0_314a_f961_16d7_464ee959064b["langchain_core.vectorstores"] 3cd0f26f_95b5_bda0_cba6_6d3435bd71da --> f75e66a0_314a_f961_16d7_464ee959064b e4596b95_ed91_0e47_96dd_7e987bc14a69["langchain_classic._api"] 3cd0f26f_95b5_bda0_cba6_6d3435bd71da --> e4596b95_ed91_0e47_96dd_7e987bc14a69 bc17d2e1_7cf6_0264_36b7_5541fc5ef1dd["langchain_community.vectorstores"] 3cd0f26f_95b5_bda0_cba6_6d3435bd71da --> bc17d2e1_7cf6_0264_36b7_5541fc5ef1dd style 3cd0f26f_95b5_bda0_cba6_6d3435bd71da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""**Vector store** stores embedded data and performs vector search.
One of the most common ways to store and search over unstructured data is to
embed it and store the resulting embedding vectors, and then query the store
and retrieve the data that are 'most similar' to the embedded query.
"""
from typing import TYPE_CHECKING, Any
from langchain_core.vectorstores import VectorStore
from langchain_classic._api import create_importer
if TYPE_CHECKING:
from langchain_community.vectorstores import (
FAISS,
AlibabaCloudOpenSearch,
AlibabaCloudOpenSearchSettings,
AnalyticDB,
Annoy,
AstraDB,
AtlasDB,
AwaDB,
AzureCosmosDBVectorSearch,
AzureSearch,
Bagel,
Cassandra,
Chroma,
Clarifai,
Clickhouse,
ClickhouseSettings,
DashVector,
DatabricksVectorSearch,
DeepLake,
Dingo,
DocArrayHnswSearch,
DocArrayInMemorySearch,
DuckDB,
EcloudESVectorStore,
ElasticKnnSearch,
ElasticsearchStore,
ElasticVectorSearch,
Epsilla,
Hologres,
LanceDB,
LLMRails,
Marqo,
MatchingEngine,
Meilisearch,
Milvus,
MomentoVectorIndex,
MongoDBAtlasVectorSearch,
MyScale,
MyScaleSettings,
Neo4jVector,
NeuralDBClientVectorStore,
NeuralDBVectorStore,
OpenSearchVectorSearch,
PGEmbedding,
PGVector,
// ... (186 more lines)
Domain
Subdomains
Functions
Dependencies
- langchain_classic._api
- langchain_community.vectorstores
- langchain_core.vectorstores
- typing
Source
Frequently Asked Questions
What does __init__.py do?
__init__.py is a source file in the langchain codebase, written in python. It belongs to the LangChainCore domain, MessageInterface subdomain.
What functions are defined in __init__.py?
__init__.py defines 2 function(s): __getattr__, langchain_community.
What does __init__.py depend on?
__init__.py imports 4 module(s): langchain_classic._api, langchain_community.vectorstores, langchain_core.vectorstores, typing.
Where is __init__.py in the architecture?
__init__.py is located at libs/langchain/langchain_classic/vectorstores/__init__.py (domain: LangChainCore, subdomain: MessageInterface, directory: libs/langchain/langchain_classic/vectorstores).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free