类 EmbeddingResult

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
com.zhipu.oapi.service.v4.embedding.EmbeddingResult
所有已实现的接口:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

public class EmbeddingResult extends com.fasterxml.jackson.databind.node.ObjectNode
An object containing a response from the answer api
另请参阅:
  • 嵌套类概要

    从接口继承的嵌套类/接口 com.fasterxml.jackson.databind.JsonSerializable

    com.fasterxml.jackson.databind.JsonSerializable.Base
  • 字段概要

    从类继承的字段 com.fasterxml.jackson.databind.node.ObjectNode

    _children

    从类继承的字段 com.fasterxml.jackson.databind.node.ContainerNode

    _nodeFactory
  • 构造器概要

    构造器
    构造器
    说明
     
    EmbeddingResult(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
     
    void
     
    void
    setObject(String object)
     
    void
    setUsage(Usage usage)
     

    从类继承的方法 com.fasterxml.jackson.databind.node.ObjectNode

    _at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isEmpty, isObject, path, path, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeWithType, set, setAll, setAll, size, with, withArray, without, without

    从类继承的方法 com.fasterxml.jackson.databind.node.ContainerNode

    arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNode

    从类继承的方法 com.fasterxml.jackson.databind.node.BaseJsonNode

    findPath, numberType, required, toPrettyString, toString, traverse, traverse

    从类继承的方法 com.fasterxml.jackson.databind.JsonNode

    _reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 java.lang.Iterable

    forEach, spliterator
  • 构造器详细资料

    • EmbeddingResult

      public EmbeddingResult()
    • EmbeddingResult

      public EmbeddingResult(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
  • 方法详细资料

    • setModel

      public void setModel(String model)
    • setObject

      public void setObject(String object)
    • setData

      public void setData(List<Embedding> data)
    • setUsage

      public void setUsage(Usage usage)