create_index(
contexts: List[str],
index: Any,
embeddings: EmbeddingsCreate an index from a list of contexts.
It modifies the index argument in-place!
Sparse encoder to use.
List of ids to use for the documents.
List of metadata to use for the documents.
Namespace value for index partition.