Types:
from cloudflare.types.vectorize import (
CreateIndex,
IndexDeleteVectorsByID,
IndexDimensionConfiguration,
IndexInsert,
IndexQuery,
IndexUpsert,
IndexDeleteResponse,
IndexDeleteByIDsResponse,
IndexInfoResponse,
IndexInsertResponse,
IndexListVectorsResponse,
IndexQueryResponse,
IndexUpsertResponse,
)Methods:
client.vectorize.indexes.create(*, account_id, **params) -> Optional[CreateIndex]client.vectorize.indexes.list(*, account_id) -> SyncSinglePage[CreateIndex]client.vectorize.indexes.delete(index_name, *, account_id) -> Optional[IndexDeleteResponse]client.vectorize.indexes.delete_by_ids(index_name, *, account_id, **params) -> Optional[IndexDeleteByIDsResponse]client.vectorize.indexes.get(index_name, *, account_id) -> Optional[CreateIndex]client.vectorize.indexes.get_by_ids(index_name, *, account_id, **params) -> objectclient.vectorize.indexes.info(index_name, *, account_id) -> Optional[IndexInfoResponse]client.vectorize.indexes.insert(index_name, *, account_id, **params) -> Optional[IndexInsertResponse]client.vectorize.indexes.list_vectors(index_name, *, account_id, **params) -> Optional[IndexListVectorsResponse]client.vectorize.indexes.query(index_name, *, account_id, **params) -> Optional[IndexQueryResponse]client.vectorize.indexes.upsert(index_name, *, account_id, **params) -> Optional[IndexUpsertResponse]
Types:
from cloudflare.types.vectorize.indexes import (
MetadataIndexCreateResponse,
MetadataIndexListResponse,
MetadataIndexDeleteResponse,
)Methods:
client.vectorize.indexes.metadata_index.create(index_name, *, account_id, **params) -> Optional[MetadataIndexCreateResponse]client.vectorize.indexes.metadata_index.list(index_name, *, account_id) -> Optional[MetadataIndexListResponse]client.vectorize.indexes.metadata_index.delete(index_name, *, account_id, **params) -> Optional[MetadataIndexDeleteResponse]