类 SimpleEmbeddingGenerator

java.lang.Object
top.aoyudi.rag.impl.SimpleEmbeddingGenerator
所有已实现的接口:
EmbeddingGenerator

public class SimpleEmbeddingGenerator extends Object implements EmbeddingGenerator
无模型嵌入生成器,使用简单哈希算法生成文本向量
  • 字段详细资料

    • EMBEDDING_DIMENSION

      private static final int EMBEDDING_DIMENSION
      嵌入向量维度
      另请参阅:
  • 构造器详细资料

    • SimpleEmbeddingGenerator

      public SimpleEmbeddingGenerator()
  • 方法详细资料