Interface OrchestrationEmbeddingRequest.InputStep

Enclosing class:
OrchestrationEmbeddingRequest
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OrchestrationEmbeddingRequest.InputStep
Builder step for specifying text inputs to embed.
  • Method Details

    • forInputs

      @Nonnull OrchestrationEmbeddingRequest forInputs(@Nonnull List<String> inputs)
      Specifies text inputs to be embedded.
      Parameters:
      inputs - the text strings to embed
      Returns:
      a new embedding request instance
    • forInputs

      @Nonnull default OrchestrationEmbeddingRequest forInputs(@Nonnull String firstInput, @Nonnull String... inputs)
      Specifies multiple text inputs using variable arguments.
      Parameters:
      firstInput - string to embed
      inputs - optional additional strings to embed
      Returns:
      a new embedding request instance