We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec8f34 commit 29f728eCopy full SHA for 29f728e
router/src/http/types.rs
@@ -375,6 +375,7 @@ pub(crate) struct SimilarityInput {
375
pub(crate) struct SimilarityParameters {
376
#[schema(default = "false", example = "false", nullable = true)]
377
pub truncate: Option<bool>,
378
+ #[serde(default)]
379
#[schema(default = "right", example = "right")]
380
pub truncation_direction: TruncationDirection,
381
/// The name of the prompt that should be used by for encoding. If not set, no prompt
0 commit comments