PineconeInferenceService

io.cequence.pineconescala.service.PineconeInferenceService
trait PineconeInferenceService extends CloseableService with PineconeServiceConsts

Pinecone inference operations as defined at the API ref. page

The following services are supported:

  • createEmbeddings

Attributes

Since:

May 2024

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

def createEmbeddings(inputs: Seq[String], settings: GenerateEmbeddingsSettings): Future[GenerateEmbeddingsResponse]

Uses the specified model to generate embeddings for the input sequence.

Uses the specified model to generate embeddings for the input sequence.

Attributes

inputs

Input sequence for which to generate embeddings.

Returns:

list of embeddings inside an envelope

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

Inherited fields

protected val configFileName: String

Attributes

Inherited from:
PineconeServiceConsts
protected val configPrefix: String

Attributes

Inherited from:
PineconeServiceConsts