All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cequence.pineconescala.service.PineconePodBasedIndexService.scala Maven / Gradle / Ivy

package io.cequence.pineconescala.service

import io.cequence.pineconescala.domain.response.{CreateResponse, PodBasedIndexInfo}
import io.cequence.pineconescala.domain.settings.IndexSettings.CreatePodBasedIndexSettings

import scala.concurrent.Future

trait PineconePodBasedIndexService
    extends PineconeIndexService[CreatePodBasedIndexSettings]
    with PineconePodBasedExtra {

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

  def describeIndexTyped(
    indexName: String
  ): Future[Option[PodBasedIndexInfo]]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy