# Class EmbeddingRequest.Builder

java.lang.Object
com.codename1.ai.EmbeddingRequest.Builder

Enclosing class:
  `EmbeddingRequest`

public static final class EmbeddingRequest.Builder extends java.lang.Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `EmbeddingRequest.Builder`
  `addInput(String s)`
  `EmbeddingRequest`
  `build()`
  `EmbeddingRequest.Builder`
  `dimensions(Integer d)`
  `EmbeddingRequest.Builder`
  `inputs(List<String> in)`
  `EmbeddingRequest.Builder`
  `model(String m)`

  ### Methods inherited from class java.lang.Object

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

- ## Method Details

  - ### model

    public EmbeddingRequest.Builder model(String m)

  - ### inputs

    public EmbeddingRequest.Builder inputs(List<String> in)

  - ### addInput

    public EmbeddingRequest.Builder addInput(String s)

  - ### dimensions

    public EmbeddingRequest.Builder dimensions(Integer d)

  - ### build

    public EmbeddingRequest build()