Interface PineconeConfig
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="quarkus.langchain4j.pinecone")
public interface PineconeConfig
-
Method Summary
Modifier and TypeMethodDescriptionapiKey()The API key to Pinecone.Dimension of the embeddings in the index.Environment name, e.g.Name of the index within the project.The namespace.ID of the project.The name of the field that contains the text segment.timeout()The timeout duration for the Pinecone client.
-
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
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. -
namespace
The namespace. -
textFieldName
The name of the field that contains the text segment. -
timeout
The timeout duration for the Pinecone client. If not specified, 5 seconds will be used.
-