mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08:00
Space changes
This commit is contained in:
parent
1d13e804f7
commit
bfdcd1cf33
@ -47,11 +47,11 @@ impl RawVectorsError {
|
|||||||
),
|
),
|
||||||
RawVectorsError::UnknownField { field } => format!(
|
RawVectorsError::UnknownField { field } => format!(
|
||||||
"Unexpected field `._vectors.{embedder_name}.{field}`\n \
|
"Unexpected field `._vectors.{embedder_name}.{field}`\n \
|
||||||
\t - note: the allowed fields are `regenerate` and `embeddings`"
|
- note: the allowed fields are `regenerate` and `embeddings`"
|
||||||
),
|
),
|
||||||
RawVectorsError::MissingRegenerate => format!(
|
RawVectorsError::MissingRegenerate => format!(
|
||||||
"Missing field `._vectors.{embedder_name}.regenerate`\n \
|
"Missing field `._vectors.{embedder_name}.regenerate`\n \
|
||||||
\t - note: `._vectors.{embedder_name}` must be an array of floats, an array of arrays of floats, or an object with field `regenerate`"
|
- note: `._vectors.{embedder_name}` must be an array of floats, an array of arrays of floats, or an object with field `regenerate`"
|
||||||
),
|
),
|
||||||
RawVectorsError::WrongKind { kind, value } => format!(
|
RawVectorsError::WrongKind { kind, value } => format!(
|
||||||
"Expected `._vectors.{embedder_name}` to be an array of floats, an array of arrays of floats, or an object with at least the field `regenerate`, but got the {kind} `{value}`"
|
"Expected `._vectors.{embedder_name}` to be an array of floats, an array of arrays of floats, or an object with at least the field `regenerate`, but got the {kind} `{value}`"
|
||||||
|
Loading…
Reference in New Issue
Block a user