Class EmbeddingAPIKeyHeaderProvider

java.lang.Object
com.datastax.astra.client.auth.EmbeddingAPIKeyHeaderProvider
All Implemented Interfaces:
EmbeddingHeadersProvider

public class EmbeddingAPIKeyHeaderProvider extends Object implements EmbeddingHeadersProvider
Default header when working with an embedding service provider.
  • Field Details

    • HEADER_EMBEDDING_API_KEY

      public static String HEADER_EMBEDDING_API_KEY
      Headers param with the embedding ApiKey when dealing with a embedding service provider.
  • Constructor Details

    • EmbeddingAPIKeyHeaderProvider

      public EmbeddingAPIKeyHeaderProvider(String apiKey)
      Constructor.
      Parameters:
      apiKey - the apiKey to use for the embedding provider.
  • Method Details