182 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
127
views
Observability in AWS Bedrock Agent Core Runtime
I am experimenting with AWS Bedrock Agent Core runtime for production level deployments of Agents. I already have deployed an agent in a runtime successfully. But now, I want to enable the ...
0
votes
0
answers
65
views
How can I standardize Amazon Bedrock model invocation parameters when each provider and model uses different request schemas?
I’m building an internal LLM testing platform where users can select any Amazon Bedrock model and dynamically adjust its input parameters (e.g., max_tokens, temperature, top_p, embedding options, etc.)...
0
votes
0
answers
71
views
AWS Bedrock Data Automation (BDA) – InvokeDataAutomationAsync returns "Data automation project does not exist"
I am trying to invoke an Amazon Bedrock Data Automation (BDA) project asynchronously to extract structured data from a PDF stored in S3. I am able to successfully create, list, and retrieve the BDA ...
0
votes
0
answers
63
views
Integrating R functions in Python AWS Bedrock agents
I have the following Python code and I was just curious how I can use the rpy2 package to import some R functions such that Bedrocks Agent() can have access to them. (I know I could just write a Sys....
1
vote
0
answers
71
views
How should the knowledge base search operation be handled within an AWS Bedrock Agent custom orchestration Lambda? [closed]
According to the official AWS Bedrock Agent documentation, I can write a Lambda function to perform custom orchestration, also known as the ReWoo approach, in order to reduce the number of FM (...
-1
votes
1
answer
99
views
(Amplify Gen 2) Bedrock AI Generation Produces ValidationException (Mapping Error) [closed]
I'm following the AWS Amplify Gen 2 documentation here: https://docs.amplify.aws/react-native/ai/generation/ exactly as it is written. Our ./amplify/data/resource.ts looks like this:
const schema = a....
1
vote
0
answers
70
views
Why does botocore raise ValidationException with pydantic BaseModel output constraint on variable length output types?
I am using pydantic AI and use pydantic BaseModel to set the output_type of the answer. From time to time I encounter a ValidationException. I cannot accurately pinpoint the issue creating this ...
0
votes
0
answers
118
views
AWS bedrock agent - formatting issues
I have this promp template:
# System Prompt Instructions
You are "Compliance Copilot", a structured JSON API assistant specialized in compliance analysis.
Your task: Given any user query, ...
0
votes
1
answer
111
views
Amazon Nova Sonic — should contentStart / contentEnd be sent once per session or once per user turn?
I'm integrating Amazon Nova Sonic (the speech-to-speech foundation model available through Amazon Bedrock) using the bidirectional streaming API
The official Amazon Nova Sonic User Guide explains that:...
0
votes
0
answers
128
views
How to filter boto3 retrieve_and_generate on a date range?: AWS bedrock knowledge base vector search filter configuration
How do I configure the boto3 retrieve_and_generate function to filter knowledge base retrieval for a date range?
I have a knowledge base configured with AWS OpenSearch. In OpenSearch, I can run a date ...
0
votes
1
answer
104
views
AWS Lex descriptive bot builder
I am trying to create an AWS Lex bot with the AI Descriptive bot builder. No matter what I do I get: Please ensure your botLocale has Descriptive bot builder enabled with a valid foundation model, ...
0
votes
0
answers
106
views
Reading return values from AWS Bedrock action groups
I am building a service based on AWS Bedrock and I have run into an issue which I have been unable to solve. In short, I want to return the return value of an action in addition to the default text ...
1
vote
0
answers
155
views
How do I add custom IChatClient middleware to chat client registered with a Semantic Kernel?
I'm trying to figure out how to add middleware to a chat client added to the Kernel. It seems like I need the actual instance of the chat client in order to add the middleware?
This is the ...
0
votes
0
answers
147
views
What does a ToolResult message look like when using Claude in AWS Bedrock?
I've been fighting conflicting documentation for days now.
Some documentation says a Tool Result response message looks like this:
{
"role": "user",
"content": [
...
0
votes
1
answer
565
views
Automating access to models in AWS Bedrock
I'm trying to write a script that keeps the available Bedrock models in sync across multiple accounts (primarily to be sure that we have the same models available in DR as we do in production).
I've ...