gnodet opened a new pull request, #297: URL: https://github.com/apache/camel-examples/pull/297
## Problem The `semantic-agent-routing` example failed to start with three errors: 1. **`question:` is not a valid key** — the YAML DSL deserializer only accepts `evaluation:` (and `audit:`) inside the `semantic:` block. Using `question:` caused an "Unknown property" error at parse time. 2. **Missing `expert:` per evaluation** — each evaluation block must declare an `expert:` field naming the `SemanticAdapter` registry bean to use. The evaluations had none. 3. **Missing `camel-semantic-typesafe-ai` dependency** — this module provides `TypeSafeAiSemanticAdapter`, the bridge between the semantic language and the TypeSafe AI component. Without it, no bean implementing `SemanticAdapter` is available to register. ## Fix - Replace `question:` with `evaluation:` in `coordinator.yaml` - Add `expert: typesafe-ai` to each evaluation block - Register a `TypeSafeAiSemanticAdapter` bean named `typesafe-ai` in the YAML `beans:` block - Add `camel-semantic-typesafe-ai` to `pom.xml` (it is in the BOM, no version needed) All 20 tests in `RoutingTest` now pass. -- 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]
