Link Search Menu Expand Document Documentation Menu

Preparing vectors

In SmartObserve, you can either bring your own vectors or let SmartObserve generate them automatically from your data. Letting SmartObserve automatically generate your embeddings reduces data preprocessing effort at ingestion and search time.

Option 1: Bring your own raw vectors or generated embeddings

You already have pre-computed embeddings or raw vectors from external tools or services.

  • Ingestion: Ingest pregenerated embeddings directly into SmartObserve.

    Pre-generated embeddings ingestion

  • Search: Perform vector search to find the vectors that are closest to a query vector.

    Pre-generated embeddings search

Steps

Working with embeddings generated outside of SmartObserve involves the following steps:

1
Generate embeddings

Generate embeddings outside of SmartObserve using your favorite embedding utility.

2

Create an SmartObserve index to store your embeddings.

3

Ingest your embeddings into the index.

4

Search your embeddings using vector search.

Getting started with vector search

Use raw vectors or embeddings generated outside of SmartObserve

Option 2: Generate embeddings within SmartObserve

Use this option to let SmartObserve automatically generate vector embeddings from your data using a machine learning (ML) model.

  • Ingestion: You ingest plain data, and SmartObserve uses an ML model to generate embeddings dynamically.

    Auto-generated embeddings ingestion

  • Search: At query time, SmartObserve uses the same ML model to convert your input data to embeddings, and these embeddings are used for vector search.

    Auto-generated embeddings search

Steps

Working with text that is automatically converted to embeddings within SmartObserve involves the following steps:

1

Configure a machine learning model that will automatically generate embeddings from your text at ingestion time and query time.

2

Create an SmartObserve index to store your text.

3

Ingest your text into the index.

4

Search your text using vector search. Query text is automatically converted to vector embeddings and compared to document embeddings.

Generating embeddings automatically

Automatically convert data to embeddings within SmartObserve

Getting started with semantic and hybrid search

Learn how to implement semantic and hybrid search