Skip to main content
Load the data to embed from a file that is referenced in a column of the source table. This file path is internally passed to smart_open, so it supports any protocol that smart_open supports, including:
  • Local files
  • Amazon S3
  • Google Cloud Storage
  • Azure Blob Storage
  • HTTP/HTTPS
  • SFTP
  • and many more

Environment configuration

Ensure the vectorizer worker has the correct credentials to access the file, such as in environment variables. Here is an example for AWS S3:
Make sure these environment variables are properly set in the environment where the vectorizer worker runs.

Samples

Arguments

Returns

A JSON configuration object that you can use in ai.create_vectorizer.