public static interface Api.LogprobsOrBuilder
extends com.google.protobuf.MessageOrBuilder
限定符和类型 | 方法和说明 |
---|---|
long |
getTextOffset(int index)
repeated int64 text_offset = 1; |
int |
getTextOffsetCount()
repeated int64 text_offset = 1; |
List<Long> |
getTextOffsetList()
repeated int64 text_offset = 1; |
double |
getTokenLogprobs(int index)
repeated double token_logprobs = 2; |
int |
getTokenLogprobsCount()
repeated double token_logprobs = 2; |
List<Double> |
getTokenLogprobsList()
repeated double token_logprobs = 2; |
String |
getTokens(int index)
repeated string tokens = 3; |
com.google.protobuf.ByteString |
getTokensBytes(int index)
repeated string tokens = 3; |
int |
getTokensCount()
repeated string tokens = 3; |
List<String> |
getTokensList()
repeated string tokens = 3; |
com.google.protobuf.ListValue |
getTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4; |
com.google.protobuf.ListValueOrBuilder |
getTopLogprobsOrBuilder()
.google.protobuf.ListValue top_logprobs = 4; |
boolean |
hasTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4; |
List<Long> getTextOffsetList()
repeated int64 text_offset = 1;
int getTextOffsetCount()
repeated int64 text_offset = 1;
long getTextOffset(int index)
repeated int64 text_offset = 1;
index
- The index of the element to return.List<Double> getTokenLogprobsList()
repeated double token_logprobs = 2;
int getTokenLogprobsCount()
repeated double token_logprobs = 2;
double getTokenLogprobs(int index)
repeated double token_logprobs = 2;
index
- The index of the element to return.List<String> getTokensList()
repeated string tokens = 3;
int getTokensCount()
repeated string tokens = 3;
String getTokens(int index)
repeated string tokens = 3;
index
- The index of the element to return.com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 3;
index
- The index of the value to return.boolean hasTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4;
com.google.protobuf.ListValue getTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4;
com.google.protobuf.ListValueOrBuilder getTopLogprobsOrBuilder()
.google.protobuf.ListValue top_logprobs = 4;
Copyright © 2024. All rights reserved.