public final class EmbeddingResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddingResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EmbeddingResponse.Builder |
builder() |
List<Embedding> |
data() |
List<Float> |
embedding()
Convenience method to get the embedding from the first data.
|
boolean |
equals(Object another) |
int |
hashCode() |
String |
model() |
String |
toString() |
Usage |
usage() |
public String model()
public Usage usage()
@Experimental public List<Float> embedding()
public static EmbeddingResponse.Builder builder()
Copyright © 2023. All rights reserved.