mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Remove templating validation
This commit is contained in:
@ -105,10 +105,10 @@ impl Prompt {
|
|||||||
max_bytes,
|
max_bytes,
|
||||||
};
|
};
|
||||||
|
|
||||||
// render template with special object that's OK with `doc.*` and `fields.*`
|
// // render template with special object that's OK with `doc.*` and `fields.*`
|
||||||
this.template
|
// this.template
|
||||||
.render(&template_checker::TemplateChecker)
|
// .render(&template_checker::TemplateChecker)
|
||||||
.map_err(NewPromptError::invalid_fields_in_template)?;
|
// .map_err(NewPromptError::invalid_fields_in_template)?;
|
||||||
|
|
||||||
Ok(this)
|
Ok(this)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user