You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community
Tymofii 0bec1f6877
commnity[patch]: refactor code for faiss vectorstore, update faiss vectorstore documentation (#18092)
**Description:** Refactor code of FAISS vectorcstore and update the
related documentation.
Details: 
 - replace `.format()` with f-strings for strings formatting;
- refactor definition of a filtering function to make code more readable
and more flexible;
- slightly improve efficiency of
`max_marginal_relevance_search_with_score_by_vector` method by removing
unnecessary looping over the same elements;
- slightly improve efficiency of `delete` method by using set data
structure for checking if the element was already deleted;

**Issue:** fix small inconsistency in the documentation (the old example
was incorrect and unappliable to faiss vectorstore)

**Dependencies:** basic langchain-community dependencies and `faiss`
(for CPU or for GPU)

**Twitter handle:** antonenkodev
5 months ago
..
adapters docs: added `community` modules descriptions (#17827) 5 months ago
agent_toolkits community: Add PolygonAggregates tool (#18882) 5 months ago
callbacks community[patch]: speed up import times in the community package (#18928) 5 months ago
chat_loaders community[patch]: speed up import times in the community package (#18928) 5 months ago
chat_message_histories community[patch]: speed up import times in the community package (#18928) 5 months ago
chat_models community[patch]: speed up import times in the community package (#18928) 5 months ago
docstore community[patch]: speed up import times in the community package (#18928) 5 months ago
document_compressors community[patch]: speed up import times in the community package (#18928) 5 months ago
document_loaders community[patch]: speed up import times in the community package (#18928) 5 months ago
document_transformers community[minor]: Adding asynchronous function implementation for Doctran (#15941) 7 months ago
embeddings community[patch]: Add embedding instruction to HuggingFaceBgeEmbeddings (#18017) 5 months ago
example_selectors docs: added `community` modules descriptions (#17827) 5 months ago
graphs Switch to md5 for deduplication in neo4j integrations (#18846) 5 months ago
indexes community: Add document manager and mongo document manager (#17320) 5 months ago
llms community[patch]: Bedrock add support for mistral models (#18756) 5 months ago
output_parsers langchain[patch], community[minor]: move `output_parsers.ernie_functions` (#16057) 7 months ago
retrievers community[patch]: Added support for filter out AWS Kendra search by score confidence (#12920) 5 months ago
storage multiple[patch]: fix deprecation versions (#18349) 5 months ago
tools community: Add PolygonAggregates tool (#18882) 5 months ago
utilities community: Add PolygonAggregates tool (#18882) 5 months ago
utils Add the BQ job usage tracking from LangChain (#17123) 6 months ago
vectorstores commnity[patch]: refactor code for faiss vectorstore, update faiss vectorstore documentation (#18092) 5 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
cache.py community[minor]: Adding Azure Cosmos Mongo vCore Vector DB Cache (#16856) 5 months ago
py.typed community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago