k-krawczyk commented on code in PR #26448: URL: https://github.com/apache/camel/pull/26448#discussion_r4011832509
########## components/camel-aws/camel-aws2-s3-vectors/src/main/docs/aws2-s3-vectors-component.adoc: ########## @@ -61,6 +61,10 @@ The consumer polls for vectors using similarity search. It tracks processed vect == Examples +The vector in the message body is a `List` of numbers, a `float[]` or a `double[]`. +The YAML DSL has no way to write such a list as a constant, so the YAML examples build it with a Groovy expression +and need `camel-groovy` on the classpath. + Review Comment: Thanks. A list under `constant:` fails in the YAML DSL loader too, not only in the schema: `YamlDeserializationException: Error constructing YAML node id: org.apache.camel.model.language.ConstantExpression` (checked with `CamelYamlParser`). That is why #26397 replaced it, and why the sentence says the YAML DSL cannot write it rather than naming the schema. I would keep it as is. _Reported by Claude Code on behalf of Karol Krawczyk_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
