mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
61a2eba081
Make `ElasticsearchRetriever` available as top-level import. The `langchain` package depends on `langchain-community` so we do not need to depend on it explicitly.
20 lines
618 B
Python
20 lines
618 B
Python
from langchain_elasticsearch.chat_history import ElasticsearchChatMessageHistory
|
|
from langchain_elasticsearch.embeddings import ElasticsearchEmbeddings
|
|
from langchain_elasticsearch.retrievers import ElasticsearchRetriever
|
|
from langchain_elasticsearch.vectorstores import (
|
|
ApproxRetrievalStrategy,
|
|
ElasticsearchStore,
|
|
ExactRetrievalStrategy,
|
|
SparseRetrievalStrategy,
|
|
)
|
|
|
|
__all__ = [
|
|
"ApproxRetrievalStrategy",
|
|
"ElasticsearchChatMessageHistory",
|
|
"ElasticsearchEmbeddings",
|
|
"ElasticsearchRetriever",
|
|
"ElasticsearchStore",
|
|
"ExactRetrievalStrategy",
|
|
"SparseRetrievalStrategy",
|
|
]
|