create_index
operation as follows:
name
for the index.dimension
and metric
of the vectors you’ll store in the index. This should match the dimension and metric supported by your embedding model.spec.environment
to the environment where the index should be deployed. For Python, you also need to import the ServerlessSpec
class.spec.pod_type
to the pod type and size that you want.