Interface PineconeConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.langchain4j.pinecone") public interface PineconeConfig
  • Method Details

    • apiKey

      String apiKey()
      The API key to Pinecone.
    • environment

      String environment()
      Environment name, e.g. gcp-starter or northamerica-northeast1-gcp.
    • projectId

      String projectId()
      ID of the project.
    • indexName

      String indexName()
      Name of the index within the project. If the index doesn't exist, it will be created.
    • dimension

      Optional<Integer> dimension()
      Dimension of the embeddings in the index. This is required only in case that the index doesn't exist yet and needs to be created.
    • podType

      @WithDefault("s1.x1") String podType()
      The type of the pod to use. This is only used if the index doesn't exist yet and needs to be created. The format: One of `s1`, `p1`, or `p2` appended with `.` and one of `x1`, `x2`, `x4`, or `x8`.
    • indexReadinessTimeout

      Optional<Duration> indexReadinessTimeout()
      The timeout duration for the index to become ready. Only relevant if the index doesn't exist yet and needs to be created. If not specified, 1 minute will be used.
    • namespace

      Optional<String> namespace()
      The namespace.
    • textFieldName

      @WithDefault("text") String textFieldName()
      The name of the field that contains the text segment.
    • timeout

      Optional<Duration> timeout()
      The timeout duration for the Pinecone client. If not specified, 5 seconds will be used.