1 Answer
- Newest
- Most votes
- Most comments
0
Hello Guru,
I apologize for the delayed response. I have reviewed your issue, and it seems unusual that the response is empty, as the syntax appears to be correct.
Could you please try setting enableTrace
to true
in your invokeAgent
call? This will allow you to track the agent's reasoning process and better understand why the response is empty.
$result = $client->invokeAgent([ 'agentAliasId' => '7KE1CTD7K9', 'agentId' => '1J7WQD0M4G', 'enableTrace' => true, 'inputText' => 'which country won soccer in 2023?', 'sessionId' => 'abc' ]);
🍀 It seems likely that there's a problem with the setup or content of the agent's configuration or knowledge base.
Key Source:
Relevant content
- Accepted Answerasked 10 months ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
Thank you Osvaldo. I'll give it a try..
After you try it, please can you share the trace, to see why this is coming empty?