diff --git a/semantic-agent-routing/META-INF/services/org/apache/camel/other.properties b/semantic-agent-routing/META-INF/services/org/apache/camel/other.properties new file mode 100644 index 000000000..7308fb5c9 --- /dev/null +++ b/semantic-agent-routing/META-INF/services/org/apache/camel/other.properties @@ -0,0 +1,7 @@ +# Generated by camel build tools - do NOT edit this file! +name=semantic-typesafe-ai +groupId=org.apache.camel +artifactId=camel-semantic-typesafe-ai +version=4.24.0-SNAPSHOT +projectName=Camel :: AI :: Semantic TypeSafe AI +projectDescription=Semantic expert using the TypeSafe AI decision API diff --git a/semantic-agent-routing/other.properties b/semantic-agent-routing/other.properties new file mode 100644 index 000000000..7308fb5c9 --- /dev/null +++ b/semantic-agent-routing/other.properties @@ -0,0 +1,7 @@ +# Generated by camel build tools - do NOT edit this file! +name=semantic-typesafe-ai +groupId=org.apache.camel +artifactId=camel-semantic-typesafe-ai +version=4.24.0-SNAPSHOT +projectName=Camel :: AI :: Semantic TypeSafe AI +projectDescription=Semantic expert using the TypeSafe AI decision API diff --git a/semantic-agent-routing/pom.xml b/semantic-agent-routing/pom.xml index bffd6c757..31db1e966 100644 --- a/semantic-agent-routing/pom.xml +++ b/semantic-agent-routing/pom.xml @@ -73,6 +73,10 @@ limitations under the License. org.apache.camel camel-semantic-typesafe-ai + + org.apache.camel + camel-typesafe-ai + org.apache.camel camel-a2a diff --git a/semantic-agent-routing/src/main/resources/routes/coordinator.yaml b/semantic-agent-routing/src/main/resources/routes/coordinator.yaml index 897bd2cd3..6fedc1fa7 100644 --- a/semantic-agent-routing/src/main/resources/routes/coordinator.yaml +++ b/semantic-agent-routing/src/main/resources/routes/coordinator.yaml @@ -16,11 +16,13 @@ - beans: - name: tripSupport type: org.apache.camel.example.routing.TripSupport + - name: typesafe-ai + type: org.apache.camel.component.typesafeai.TypeSafeAiSemanticAdapter - semantic: evaluation: specialist: - expert: decisions + expert: typesafe-ai type: choice instructions: Which car rental specialist should handle the customer's request? criteria: @@ -29,22 +31,22 @@ cost: Rental prices, total cost, budget, fees or price comparison general: Greetings, service information or other questions needsReservation: - expert: decisions + expert: typesafe-ai type: boolean instructions: Does answering this customer request fully require input about booking details, reservation lookup, changes or cancellation? threshold: "{{routing.fan-out-threshold}}" needsWeather: - expert: decisions + expert: typesafe-ai type: boolean instructions: Does answering this customer request fully require input about weather, rain, forecasts or driving conditions at the destination? threshold: "{{routing.fan-out-threshold}}" needsCost: - expert: decisions + expert: typesafe-ai type: boolean instructions: Does answering this customer request fully require input about rental prices, total cost, budget or fees? threshold: "{{routing.fan-out-threshold}}" relevant: - expert: decisions + expert: typesafe-ai type: boolean instructions: >- Does the drafted reply address every requested part within the named specialist's @@ -56,7 +58,7 @@ uncertainty: 0.1 uncertaintyPolicy: non-match complete: - expert: decisions + expert: typesafe-ai type: boolean instructions: >- Does the final reply address every part of the customer's original request,