texts (List[str]) – A list of texts to index into marqo upon creation.
embedding (Any, optional) – Embeddings (not required). Defaults to None.
index_name (str, optional) – The name of the index to use, if none is
None. (accompany the texts. Defaults to) – 
url (str, optional) – The URL for Marqo. Defaults to “http://localhost:8882”.
api_key (str, optional) – The API key for Marqo. Defaults to “”.
metadatas (Optional[List[dict]], optional) – A list of metadatas, to
None. – 
Can (this is only used when a new index is being created. Defaults to "cpu".) – 
"cuda". (be "cpu" or) – 
add_documents_settings (Optional[Dict[str, Any]], optional) – Settings
documents (for adding) – 
see – 
https – //docs.marqo.ai/0.0.16/API-Reference/documents/#query-parameters.
{}. (Defaults to) – 
index_settings (Optional[Dict[str, Any]], optional) – Index settings if
exist (the index doesn't) – 
see – 
https – //docs.marqo.ai/0.0.16/API-Reference/indexes/#index-defaults-object.
{}. – 
Returns
An instance of the Marqo vector store
Return type
Marqo
get_indexes() → List[Dict[str, str]][source]¶
Helper to see your available indexes in marqo, useful if the
from_texts method was used without an index name specified
Returns
The list of indexes
Return type
List[Dict[str, str]]
get_number_of_documents() → int[source]¶