Update TitanEmbeddingBedrockApi for TitanEmbeddingResponse
- Update the fields successCount, failureCount and results Signed-off-by: Ilayaperumal Gopinathan <ilayaperumal.gopinathan@broadcom.com>
This commit is contained in:
@@ -177,7 +177,10 @@ public class TitanEmbeddingBedrockApi extends
|
||||
public record TitanEmbeddingResponse(
|
||||
@JsonProperty("embedding") float[] embedding,
|
||||
@JsonProperty("inputTextTokenCount") Integer inputTextTokenCount,
|
||||
@JsonProperty("successCount") Integer successCount,
|
||||
@JsonProperty("failureCount") Integer failureCount,
|
||||
@JsonProperty("embeddingsByType") Map<String, Object> embeddingsByType,
|
||||
@JsonProperty("results") Object results,
|
||||
@JsonProperty("message") Object message) {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user