Skip to content

Commit

Permalink
Merge branch 'fux/ark/embedding_json_ignore' into 'integration_2024-0…
Browse files Browse the repository at this point in the history
…7-04_320633038338'

feat: [development task] ark-runtime-manual-Java (711654)

See merge request iaasng/volcengine-java-sdk!215
  • Loading branch information
BitsAdmin committed Jul 4, 2024
2 parents d2e90b6 + 08ef4c3 commit 9dca90c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.volcengine.ark.runtime.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Usage {
/**
* The number of prompt tokens used.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package com.volcengine.ark.runtime.model.embeddings;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Embedding {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package com.volcengine.ark.runtime.model.embeddings;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.volcengine.ark.runtime.model.Usage;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class EmbeddingResult {

/**
Expand Down

0 comments on commit 9dca90c

Please sign in to comment.