Docs
Vector Search Node

Vector Search Node Documentation

Vector search Node provides the ability to retrie of information retrieval where documents and queries are represented as vectors instead of plain text.

vector.png

Features

Key Functionalities
  1. Dynamic Search Query Input: Allows for customizable search queries using dynamic placeholders like {{triggerNode_1.output.topic}}.

  2. Vector Database Selection: Provides an option to select a specific vector database for efficient retrieval of information.

  3. Embedding Model Integration: Supports the integration of embedding models by selecting predefined credentials.

  4. Certainty Threshold Adjustment: Enables users to set a certainty threshold for search results using an adjustable slider.

  5. Result Limitation: Allows limiting the number of search results returned with a configurable limit.

Benefits
  1. Customizability: The dynamic query capability ensures that search inputs are adaptable to various scenarios and workflows.

  2. Precision: The certainty threshold ensures high relevance of retrieved results by filtering based on confidence levels.

  3. Scalability: Supports integration with vector databases and embedding models, making it suitable for complex and large-scale applications.

  4. Efficiency: Configurable result limits optimize the retrieval process, saving time and resources.

What can I build?

  1. Create a dynamic search interface within your application to query a vector database.
  2. Develop a personalized recommendation system using text and vector based search results.
  3. Integrate real-time search capabilities to enhance user experience in your app.

Setup

Select the Vector Search Node

  1. Fill in the required parameters.
  2. Build the desired flow
  3. Deploy the Project
  4. Click Setup on the workflow editor to get the automatically generated instruction and add it in your application.

Configuration Reference

ParameterDescriptionExample Value
Search QueryInput the query to search the vector database.Tell me something about Bali
Vector DBSelect the vector database to be queried.Database
Embedding Model NameThis field allows the user to select the embedding model used to embed the query into vector space. It loads available embedding models through the listModels method.Embedding Model Name
Boost PropertiesSpecific properties can be boosted by a factor specified as a numberTrue/False
CertaintyIts the distance score into a value between 0 <= certainty <= 1, where 1 would represent identical vectors and 0 would represent opposite vectors.Its the distance score into a value between 0 <= certainty <= 1, where 1 would represent identical vectors and 0 would represent opposite vectors.0.7
LimitNumber of results to return3
FiltersApply JSON-based filters to refine search results.[]

Low-Code Example

nodes:
  - nodeId: searchNode_747
    nodeType: searchNode
    nodeName: Vector Search
    values:
      searchQuery: Tell me something about ${{triggerNode_1.output.topic}}
      vectorDB: ""
      certainty: "0.85"
      limit: "3"
      filters: "[]"
    needs:
      - triggerNode_1
  - nodeId: plus-node-addNode_670114
    nodeType: addNode
    nodeName: ""
    values: {}
    needs:
      - searchNode_747

Troubleshooting

Common Issues

ProblemSolution
Invalid API KeyEnsure the API key is correct and has not expired.
Dynamic Content Not LoadedIncrease the Wait for Page Load time in the configuration.

Debugging

  1. Check Lamatic Flow logs for error details.
  2. Verify API Key.

Was this page useful?

Questions? We're here to help

Subscribe to updates