Class DisabledEmbeddingModel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Response<Embedding> embed(String text) Embed a text.
      Response<Embedding> embed(TextSegment textSegment) Embed the text content of a TextSegment.
      Response<List<Embedding>> embedAll(List<TextSegment> textSegments) Embeds the text content of a list of TextSegments.
      • Methods inherited from class dev.langchain4j.model.embedding.EmbeddingModel

        dimension
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisabledEmbeddingModel

        DisabledEmbeddingModel()