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

com.marklogic.flux.api.EmbedderOptions Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2025 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.flux.api;

import java.util.Map;

/**
 * @since 1.2.0
 */
public interface EmbedderOptions {

    /**
     * Valid values:
     * 
    *
  • azure
  • *
  • minilm
  • *
  • ollama
  • *
* * @param name either one of the abbreviations listed above, or the fully-qualified class name of an implementation of * {@code java.util.Function, dev.langchain4j.model.embedding.EmbeddingModel>} or * an abbreviation associated with the class name of an implementation. * @return */ EmbedderOptions embedder(String name); EmbedderOptions chunksJsonPointer(String jsonPointer); EmbedderOptions textJsonPointer(String jsonPointer); EmbedderOptions chunksXPath(String xpath); EmbedderOptions textXPath(String xpath); EmbedderOptions embeddingName(String embeddingName); EmbedderOptions embeddingNamespace(String embeddingNamespace); EmbedderOptions batchSize(int batchSize); EmbedderOptions embedderOptions(Map options); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy