Get Model Context Window • Rust AI Agent SDK
get_model_context_window: Get model context window size.
get_model_context_window
Function
</div>
This function is defined in the rag module.
Get model context window size.
Signature
def get_model_context_window(model: &str) -> usizeParameters
ParamField
&strNo description available.
Returns
ResponseField
usizeThe result of the operation.
Uses
contains
Source
View on GitHubpraisonai/src/rag/mod.rs at line 408