forked from crowdin/crowdin-api-client-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAiSupportedModel.java
More file actions
50 lines (43 loc) · 1.15 KB
/
AiSupportedModel.java
File metadata and controls
50 lines (43 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.crowdin.client.ai.model;
import lombok.Data;
import java.util.Date;
@Data
public class AiSupportedModel {
private Long providerId;
private String providerType;
private String providerName;
private String id;
private String displayName;
private Boolean supportReasoning;
private Integer intelligence;
private Integer speed;
private Price price;
private Modality modalities;
private Integer contextWindow;
private Integer maxOutputTokens;
private Date knowledgeCutoff;
private Date releaseDate;
private Feature features;
@Data
public static class Price {
private Double input;
private Double output;
}
@Data
public static class Modality {
private ModalityConfig input;
private ModalityConfig output;
@Data
public static class ModalityConfig {
private Boolean text;
private Boolean image;
private Boolean audio;
}
}
@Data
public static class Feature {
private Boolean streaming;
private Boolean structuredOutput;
private Boolean functionCalling;
}
}