Skip to main content

Configuration Options

Required

OptionTypeDescription
api_keyStringThe Marqo API key. Can be set with MARQO_API_KEY environment variable.
hostStringThe Marqo API host. Can be set with MARQO_HOST environment variable.

marqo_read_indices (Data Source)

Required

OptionTypeDescription
idStringThe unique identifier for the resource

Read-Only

OptionDescription
itemsList of Indexes in your account
last_updatedThe last time the resource was updated

Nested Schema for items

FieldDescription
all_fieldsThe fields to make available in a structured index.
tensor_fieldsAn array of fields that will be vectorised.
ann_parametersThe hyperparameters for the ANN method
createdThe creation date of the index
docs_countThe number of documents in the index
docs_deletedThe number of documents deleted from the index
filter_string_max_lengthThe filter string max length
index_nameThe name of the index
index_statusThe status of the index
inference_typeThe type of inference used by the index
marqo_endpointThe Marqo endpoint used by the index
marqo_versionThe version of Marqo used by the index
modelThe model used by the index
model_propertiesThe properties of the model used by the index
normalize_embeddings (Boolean)Indicates if embeddings should be normalized
number_of_inferencesThe number of inferences made by the index
number_of_replicasThe number of replicas for the index
number_of_shardsThe number of shards for the index
search_query_totalThe total number of search queries made on the index
storage_classThe storage class of the index
store_sizeThe size of the index storage
text_preprocessingThe text preprocessing settings for text
treat_urls_and_pointers_as_images (Boolean)Indicates if URLs and pointers should be treated as images
treat_urls_and_pointers_as_media (Boolean)Indicates if URLs and pointers should be treated as media
typeThe type of the index
vector_numeric_typeThe numeric type of the vector

Nested Schema for items.model_properties

FieldDescription
typeThe type of the model
dimensionsThe dimensions of the model
tokensThe tokens of the model
model_locationThe location of the model
urlThe URL of the model
trust_remote_codeIndicates if the remote code should be trusted

Nested Schema for items.all_fields

FieldType
dependent_fieldsMap of Number
featuresList of String
nameString
typeString

Nested Schema for items.ann_parameters

FieldDescription
parametersHyperparameters for the ANN method
space_typeThe space type for ANN parameters

Nested Schema for items.ann_parameters.parameters

FieldDescription
ef_constructionThe efConstruction parameter for ANN
mThe m parameter for ANN

Nested Schema for items.text_preprocessing

Read-OnlyDescription
split_lengthThe split length for text preprocessing
split_methodThe split method for text preprocessing
split_overlapThe split overlap for text preprocessing

marqo_index (Resource)

For default values in optional fields, please refer to the documentation pages on creating unstructured and structured indexes.

Required

OptionTypeDescription
index_nameStringThe name of the index.
settingsAttributesThe settings for the index.

Nested Schema for settings

Required

FieldType
inference_typeString
modelString
number_of_inferencesNumber
number_of_replicasNumber
number_of_shardsNumber
storage_classString
typeString

Optional

FieldType
model_propertiesAttributes
all_fieldsAttributes List
ann_parametersAttributes
filter_string_max_lengthNumber
normalize_embeddingsBoolean
tensor_fieldsList of String
text_preprocessingAttributes
image_preprocessingAttributes
video_preprocessingAttributes
audio_preprocessingAttributes
treat_urls_and_pointers_as_imagesBoolean
treat_urls_and_pointers_as_mediaBoolean
vector_numeric_typeString

Nested Schema for settings.model_properties

FieldType
typeString
dimensionsNumber
tokensNumber
model_locationString
urlString
trust_remote_codeBoolean

Nested Schema for settings.all_fields

FieldType
dependent_fieldsMap of Number
featuresList of String
nameString
typeString

Nested Schema for settings.ann_parameters

FieldType
parametersAttributes
space_typeString

Nested Schema for settings.ann_parameters.parameters

FieldType
ef_constructionNumber
mNumber

Nested Schema for settings.image_preprocessing

FieldType
patch_methodString

Nested Schema for settings.text_preprocessing

FieldType
split_lengthNumber
split_methodString
split_overlapNumber

Nested Schema for settings.video_preprocessing

FieldType
split_lengthNumber
split_overlapNumber

Nested Schema for settings.audio_preprocessing

FieldType
split_lengthNumber
split_overlapNumber