Class Token
java.lang.Object
org.springframework.ai.huggingface.model.Token
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-15T11:37:42.297563829Z[Etc/UTC]")
public class Token
extends Object
Token
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Get id minimum: 0Get logprobgetText()
Get textint
hashCode()
Get specialvoid
void
setLogprob
(Float logprob) void
setSpecial
(Boolean special) void
toString()
-
Constructor Details
-
Token
public Token()
-
-
Method Details
-
id
-
getId
Get id minimum: 0- Returns:
- id
-
setId
-
logprob
-
getLogprob
Get logprob- Returns:
- logprob
-
setLogprob
-
special
-
isSpecial
Get special- Returns:
- special
-
setSpecial
-
text
-
getText
Get text- Returns:
- text
-
setText
-
equals
-
hashCode
public int hashCode() -
toString
-