Struct ManualRoutingMode (0.5.0)

When manual routing is set, the specified model will be used directly.

Fields

model_name

The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.

Implementations

new

 fn new() -> Self

set_model_name

 fn set_model_name<T>(self, v: T) -> Self
where
    T: std::convert::Into<std::string::String>,

Sets the value of [model_name][crate::model::generation_config::routing_config::ManualRoutingMode::model_name].

set_or_clear_model_name

 fn set_or_clear_model_name<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<std::string::String>,

Sets or clears the value of [model_name][crate::model::generation_config::routing_config::ManualRoutingMode::model_name].