Overview
This node integrates with the AWS Bedrock service to perform web grounding queries using a specified Nova model. It sends a user-provided search query to the model and retrieves a grounded response, which can be used for applications requiring enhanced web-based contextual understanding or information retrieval.
Use Case Examples
- Using the node to query the Nova Premier v1:0 model with a search term to get a grounded response for content generation or research.
- Automating web grounding queries in workflows to enrich data with contextually relevant information from the web.
Properties
| Name | Meaning |
|---|---|
| Model | Selects the Nova model to use for the web grounding query. |
| Query | The search query string to be sent to the model for web grounding. |
Output
JSON
query- The original search query string provided by the user.response- The text response generated by the model based on the query.fullOutput- The complete output object returned from the AWS Bedrock service, including message content and metadata.usage- Information about the usage of the model for the request, such as tokens consumed.error- Error message if the request to the model fails.
Dependencies
- AWS Bedrock Runtime Client from @aws-sdk/client-bedrock-runtime
Troubleshooting
- Ensure AWS credentials (accessKeyId, secretAccessKey, and region) are correctly configured and valid for the Bedrock service.
- Verify that the selected model ID is available and correctly specified.
- Handle cases where the model returns no content or an empty response gracefully.
- Check network connectivity and permissions for accessing AWS Bedrock service.