Package ai.vectros.types
Class TruncationWarningEvent
java.lang.Object
ai.vectros.types.TruncationWarningEvent
-
Method Details
-
getEvent
- Returns:
- Backward-compatible alias of
type. Alwaystruncation_warning.
-
getResultsRequested
public int getResultsRequested()- Returns:
- The number of results retrieved before truncation.
-
getResultsUsed
public int getResultsUsed()- Returns:
- The number of results actually included in the prompt after dropping lower-scoring overflow.
-
getReason
- Returns:
- Why truncation occurred. Currently only
context_window_budget(the results did not fit the model's context window).
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-