BaşlayınÜcretsiz Başlayın

Creating a Pinecone client

Throughout the course, you'll write Python code to interact with Pinecone via the Pinecone Python client. As a first step, you'll need to create your own Pinecone API key. Pinecone API keys used in this course's exercises will not be stored in any way.

To create a key, you'll first need to create a Pinecone starter account, which is free, by visiting https://www.pinecone.io/. Next, navigate to the API Keys page to create your key.

Pinecone's API keys page

Bu egzersiz

Vector Databases for Embeddings with Pinecone

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Import the class used to create a Pinecone client from pinecone.
  • Instantiate the Pinecone class, passing in your API key.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import the Pinecone library
from ____ import ____

# Initialize the Pinecone client
pc = ____
Kodu Düzenle ve Çalıştır