Find answers from the community

Updated 2 months ago

can you help with the required pinecone dimensions, pod type and and metrics?

can you help with the required pinecone dimensions, pod type and and metrics?
k
2 comments
Please stand by @Matt Thompson as I search the knowledge base. We are experiencing especially high traffic right now and might take longer than usual. :wave:
----------------------
Yes, I can help you with the required Pinecone dimensions, pod type, and metrics. Based on the information provided in the extract (https://github.com/jerryjliu/gpt_index/tree/main/examples/vector_indices/PineconeIndexDemo.ipynb), you can create a Pinecone index with the following parameters:

  • Dimension: 1536 (for text-embedding-ada-002)
  • Metric: "euclidean"
  • Pod type: "p1"
Here's the code snippet to create a Pinecone index with these parameters:

Plain Text
pinecone.create_index("quickstart", dimension=1536, metric="euclidean", pod_type="p1")


Keep in mind that these parameters are specific to the example provided in the extract. You may need to adjust them according to your use case and the model you are using.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Add a reply
Sign up and join the conversation on Discord