Interface EmbeddingCreateParams.Input.Visitor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T visitString(String string) The string that will be turned into an embedding.
      abstract T visitArrayOfStrings(List<String> arrayOfStrings) The array of strings that will be turned into an embedding.
      abstract T visitArrayOfTokens(List<Long> arrayOfTokens) The array of integers that will be turned into an embedding.
      abstract T visitArrayOfTokenArrays(List<List<Long>> arrayOfTokenArrays) The array of arrays containing integers that will be turned into an embedding.
      T unknown(JsonValue json)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait