Class Token
java.lang.Object
org.springframework.ai.huggingface.model.Token
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-03-12T15:00:59.645979611-04:00[America/New_York]")
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
-