Federico Mariani created CAMEL-27573:
----------------------------------------
Summary: camel-ibm-watsonx-ai - detectContext and detectGenerated
operations
Key: CAMEL-27573
URL: https://issues.apache.org/jira/browse/CAMEL-27573
Project: Camel
Issue Type: New Feature
Components: camel-ai
Reporter: Federico Mariani
Assignee: Federico Mariani
Fix For: 4.24.0
The SDK 0.50.0 adds the context and generated text detection of watsonx.ai (the
RAG guardrails): context relevance and faithfulness of a context against an
input, and answer relevance of a generated text against its prompt. In IBM
Cloud these detectors run in a watsonx.governance instance.
Add {{detectContext}} and {{detectGenerated}} operations, a
{{governanceInstanceId}} option, and let the detectors be named with plain
values (hap, pii, granite_guardian, context_relevance, faithfulness,
answer_relevance) so routes do not need SDK objects in a header.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)