mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 16:43:27 +08:00
* fix: nightly now properly gets 1.9.0 branch (#12215) before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail now we only look at branch names that follow the pattern '^release-[0-9]+\.[0-9]+\.[0-9]+$' * docs: add search icon (#12216) add-back-svg * initial-content * cut-1.8-release-and-include-next-version * stage-1.8.0-and-next --------- Co-authored-by: Adam-Aghili <149833988+Adam-Aghili@users.noreply.github.com>
47 lines
2.4 KiB
Plaintext
47 lines
2.4 KiB
Plaintext
---
|
|
title: FAISS
|
|
slug: /bundles-faiss
|
|
---
|
|
|
|
import Icon from "@site/src/components/icon";
|
|
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
|
import PartialConditionalParams from '@site/docs/_partial-conditional-params.mdx';
|
|
import PartialVectorSearchResults from '@site/docs/_partial-vector-search-results.mdx';
|
|
import PartialVectorStoreInstance from '@site/docs/_partial-vector-store-instance.mdx';
|
|
|
|
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
|
|
|
|
This page describes the components that are available in the **FAISS** bundle.
|
|
|
|
## FAISS vector store
|
|
|
|
The **FAISS** component provides access to the Facebook AI Similarity Search (FAISS) library through an instance of `FAISS` vector store.
|
|
|
|
<details>
|
|
<summary>About vector store instances</summary>
|
|
|
|
<PartialVectorStoreInstance />
|
|
|
|
</details>
|
|
|
|
<PartialVectorSearchResults />
|
|
|
|
### FAISS vector store parameters
|
|
|
|
You can inspect a vector store component's parameters to learn more about the inputs it accepts, the features it supports, and how to configure it.
|
|
|
|
<PartialParams />
|
|
|
|
<PartialConditionalParams />
|
|
|
|
For information about accepted values and functionality, see the [FAISS documentation](https://faiss.ai/index.html) or inspect [component code](/concepts-components#component-code).
|
|
|
|
| Name | Type | Description |
|
|
|---------------------------|---------------|--------------------------------------------------|
|
|
| index_name | String | Input parameter. The name of the FAISS index. Default: "langflow_index". |
|
|
| persist_directory | String | Input parameter. Path to save the FAISS index. It is relative to where Langflow is running. |
|
|
| search_query | String | Input parameter. The query to search for in the vector store. |
|
|
| ingest_data | Data | Input parameter. The list of data to ingest into the vector store. |
|
|
| allow_dangerous_deserialization | Boolean | Input parameter. Set to `True` to allow loading pickle files from untrusted sources. Default: `True`. |
|
|
| embedding | Embeddings | Input parameter. The embedding function to use for the vector store. |
|
|
| number_of_results | Integer | Input parameter. Number of results to return from the search. Default: 4. | |