Andrea Cosentino created CAMEL-23466:
----------------------------------------
Summary: Camel-AWS-Bedrock: Add support for Retrieve operation in
Bedrock Agent Runtime
Key: CAMEL-23466
URL: https://issues.apache.org/jira/browse/CAMEL-23466
Project: Camel
Issue Type: New Feature
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
The {{aws-bedrock-agent-runtime}} component currently exposes only the
{{retrieveAndGenerate}} operation. The {{Retrieve}} API (semantic search
against a knowledge base, returning matched chunks without LLM generation) is a
commonly-used standalone operation when users want to plug in their own
generation step or simply inspect retrieval quality.
The SDK class
{{software.amazon.awssdk.services.bedrockagentruntime.BedrockAgentRuntimeClient}}
already exposes {{retrieve(RetrieveRequest)}}; only the Camel wiring is
missing.
*Suggested scope:*
* Add {{retrieve}} to {{BedrockAgentRuntimeOperations}} enum.
* Wire it in {{BedrockAgentRuntimeProducer}} (header- and POJO-mode).
* Surface result chunks via headers/body (e.g.,
{{CamelAwsBedrockAgentRuntimeRetrievedResults}}).
* Honor retrieval-config knobs ({{numberOfResults}}, {{filter}},
{{overrideSearchType}}).
* Add unit/integration test.
* Update {{aws-bedrock-agent-runtime-component.adoc}}.
----
_Filed by Claude Code on behalf of Andrea Cosentino._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)