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/docs
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
6 months ago
..
api_reference community[patch], langchain[minor]: Add retriever self_query and score_threshold in DingoDB (#18106) 6 months ago
data 👥 Update LangChain people data (#18473) 6 months ago
docs commnity[patch]: refactor code for faiss vectorstore, update faiss vectorstore documentation (#18092) 6 months ago
scripts docs: turn on link check (#18924) 6 months ago
src docs[patch]: properly load/use env vars (#18942) 6 months ago
static docs[minor]: Swap gtag for supabase (#18937) 6 months ago
.gitignore docs[minor]: Swap gtag for supabase (#18937) 6 months ago
.local_build.sh docs: partner packages (#16960) 7 months ago
.yarnrc.yml docs[minor]: Add thumbs up/down to all docs pages (#18526) 6 months ago
README.md docs: developer docs (#14776) 9 months ago
babel.config.js Restructure docs (#11620) 11 months ago
code-block-loader.js Restructure docs (#11620) 11 months ago
docusaurus.config.js docs[patch]: properly load/use env vars (#18942) 6 months ago
package.json docs[minor]: Swap gtag for supabase (#18937) 6 months ago
settings.ini Restructure docs (#11620) 11 months ago
sidebars.js docs: `Toolkits` menu (#16217) 7 months ago
vercel.json docs: `providers` update 4 (#18540) 6 months ago
vercel_build.sh docs: turn on link check (#18924) 6 months ago
vercel_requirements.txt infra: docs build install community editable (#14739) 9 months ago
yarn.lock docs[minor]: Swap gtag for supabase (#18937) 6 months ago

README.md

LangChain Documentation

For more information on contributing to our documentation, see the Documentation Contributing Guide