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

io.pinecone.PineconePackageInfo Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package io.pinecone;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

class PineconePackageInfo {

    public static final Package INFO = PineconePackageInfo.class.getPackage();

    private static final Logger logger = LoggerFactory.getLogger(PineconePackageInfo.class);
    static {
        logger.debug("loaded pinecone package info: {}", INFO);
    }

    private static final String UNKOWN = "unknown";

    public static String clientVersion() {
        String version = INFO.getImplementationVersion();
        return version != null ? version : UNKOWN;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy