Pinecone Database
# pip install "pinecone[grpc]" from pinecone.grpc import PineconeGRPC as Pinecone pc = Pinecone(api_key="YOUR_API_KEY") pc.describe_index(name="movie-recommendations")
200
movie-recommendations-serverless
{ "dimension": 1536, "host": "movie-recommendations-c01b5b5.svc.us-east1-gcp.pinecone.io", "metric": "cosine", "name": "movie-recommendations", "spec": { "serverless": { "cloud": "aws", "region": "us-east-1" } }, "status": { "ready": false, "state": "Initializing" }}
Get a description of an index.
An API Key is required to call Pinecone APIs. Get yours from the console.
The name of the index to be described.
Configuration information and deployment status of the index.
The IndexModel describes the configuration and status of a Pinecone index.
Was this page helpful?