This documentation page is also available as an interactive notebook. You can launch the notebook in
Kaggle or Colab, or download it for use with an IDE or local Jupyter installation, by clicking one of the
above links.
Pixeltable’s Voyage AI integration enables you to access
state-of-the-art embedding and reranker models via the Voyage AI API.
Prerequisites
Important notes
- Voyage AI usage may incur costs based on your Voyage AI plan.
- Be mindful of sensitive data and consider security measures when
integrating with external services.
First you’ll need to install required libraries and enter your Voyage AI
API key.
Now let’s create a Pixeltable directory to hold the tables for our demo.
Created directory ‘voyageai_demo’.
<pixeltable.catalog.dir.Dir at 0x106daf2d0>
Text embeddings
Voyage AI provides state-of-the-art embedding models for semantic search
and RAG applications.
Created table ‘documents’.
Added 0 column values with 0 errors.
No rows affected.
Inserting rows into `documents`: 6 rows [00:00, 2561.67 rows/s]
Inserted 6 rows with 0 errors.
6 rows inserted, 12 values computed.
Embedding index for similarity search
You can use Voyage AI embeddings with Pixeltable’s embedding index for
efficient similarity search.
Created table ‘search’.
Inserting rows into `search`: 6 rows [00:00, 973.68 rows/s]
Inserted 6 rows with 0 errors.
6 rows inserted, 12 values computed.
Reranking
Voyage AI’s rerankers can refine search results by providing more
accurate relevance scores.
Created table ‘rerank’.
Added 0 column values with 0 errors.
No rows affected.
Inserting rows into `rerank`: 1 rows [00:00, 343.65 rows/s]
Inserted 1 row with 0 errors.
1 row inserted, 2 values computed.
Added 1 column value with 0 errors.
1 row updated, 1 value computed.
Multimodal Embeddings
Voyage AI’s multimodal model (voyage-multimodal-3) can embed both
images and text into the same vector space, enabling cross-modal
similarity search.
Created table ‘multimodal’.
Added 0 column values with 0 errors.
Added 0 column values with 0 errors.
No rows affected.
Inserting rows into `multimodal`: 1 rows [00:00, 520.00 rows/s]
Inserted 1 row with 0 errors.
1 row inserted, 5 values computed.
Learn more
To learn more about RAG operations in Pixeltable, check out the RAG
Operations in
Pixeltable
tutorial.
For more information about Voyage AI models and features, visit:
If you have any questions, don’t hesitate to reach out.