PineconePodBasedIndexService

io.cequence.pineconescala.service.PineconePodBasedIndexService

Attributes

Graph
Supertypes
trait CloseableService
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

Attributes

Inherited from:
PineconeServiceConsts
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

override def createIndex(name: String, dimension: Int, settings: CreatePodBasedIndexSettings): Future[CreateResponse]

This operation creates a Pinecone index. You can use it to specify the measure of similarity, the dimension of vectors to be stored in the index, the numbers of replicas to use, and more.

This operation creates a Pinecone index. You can use it to specify the measure of similarity, the dimension of vectors to be stored in the index, the numbers of replicas to use, and more.

Attributes

dimension

The dimensions of the vectors to be inserted in the index

name

The name of the index to be created. The maximum length is 45 characters.

settings

The settings for the index

Returns:

Whether the index was created successfully or not.

See also:
Definition Classes
def describeIndexTyped(indexName: String): Future[Option[PodBasedIndexInfo]]

Inherited methods

def close(): Unit

Closes the underlying ws client, and releases all its resources.

Closes the underlying ws client, and releases all its resources.

Attributes

Inherited from:
CloseableService
def configureIndex(indexName: String, replicas: Option[Int], podType: Option[PodType]): Future[ConfigureIndexResponse]

This operation specifies the pod type and number of replicas for an index.

This operation specifies the pod type and number of replicas for an index.

Attributes

indexName

The name of the index

podType

The new pod type for the index.

replicas

The desired number of replicas for the index.

Returns:

Whether the index was updated successfully or not found.

See also:
Inherited from:
PineconePodBasedExtra
def createCollection(name: String, source: String): Future[CreateResponse]

This operation creates a Pinecone collection.

This operation creates a Pinecone collection.

Attributes

name

The name of the collection to be created.

source

The name of the source index to be used as the source for the collection.

Returns:

Whether the collection was created successfully or not.

See also:
Inherited from:
PineconePodBasedExtra
def deleteCollection(collectionName: String): Future[DeleteResponse]

This operation deletes an existing collection.

This operation deletes an existing collection.

Attributes

collectionName

The name of the collection

Returns:

Whether the collection was deleted successfully or not found.

See also:
Inherited from:
PineconeIndexService
def deleteIndex(indexName: String): Future[DeleteResponse]

This operation deletes an existing index.

This operation deletes an existing index.

Attributes

indexName

The name of the index

Returns:

Whether the index was deleted successfully or not found.

See also:
Inherited from:
PineconeIndexService
def describeCollection(collectionName: String): Future[Option[CollectionInfo]]

Get a description of a collection.

Get a description of a collection.

Attributes

collectionName

The name of the collection

Returns:

Configuration information and deployment status of the collection (if found)

See also:
Inherited from:
PineconeIndexService
def describeIndex(indexName: String): Future[Option[IndexInfo]]

Get a description of an index.

Get a description of an index.

Attributes

indexName

The name of the index

Returns:

Configuration information and deployment status of the index (if found)

See also:
Inherited from:
PineconeIndexService
def listCollections: Future[Seq[String]]

This operation returns a list of your Pinecone collections.

This operation returns a list of your Pinecone collections.

Attributes

Returns:

List of collections

See also:
Inherited from:
PineconePodBasedExtra
def listIndexes: Future[Seq[String]]

This operation returns a list of your Pinecone indexes.

This operation returns a list of your Pinecone indexes.

Attributes

Returns:

List of indexes associated with the account (API key)

See also:
Inherited from:
PineconeIndexService

Inherited fields

protected val configFileName: String

Attributes

Inherited from:
PineconeServiceConsts
protected val configPrefix: String

Attributes

Inherited from:
PineconeServiceConsts