Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]RAG is not available in v2.3.3 #661

Open
HirokiNakatani opened this issue Dec 25, 2024 · 5 comments
Open

[BUG]RAG is not available in v2.3.3 #661

HirokiNakatani opened this issue Dec 25, 2024 · 5 comments
Labels
needs-info Need more information such as reproduction step

Comments

@HirokiNakatani
Copy link

🚨 Please Note 🚨

To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.

Describe the bug

I created a RAG bot with source in v2.3.3 and when I chat, an error occurs and it does not function.
[error messsage]
Failed to run stream handler: An error occurred (ValidationException) when calling the ConverseStream operation: The model returned the following errors: The guardrail can't assess the content in the guardContent field. The guardrail configuration is missing. Specify the guardrailConfig field and try again.

To Reproduce

Steps to reproduce the behavior:

  1. Create RAG bot with source
  2. Start chatting
    image
  3. An error occurred

Screenshots

image

Additional context

Add any other context about the problem here.

@statefb
Copy link
Contributor

statefb commented Jan 14, 2025

Could you provide more detail including logs? e.g.

  • /aws/lambda/BedrockChatStack-BackendApiHandlerXXXX
  • /aws/lambda/BedrockChatStack-WebSocketHandlerXXXX
  • EmbeddingStateMachineXXX

@statefb statefb added needs-info Need more information such as reproduction step and removed needs-triage labels Jan 14, 2025
@HirokiNakatani
Copy link
Author

The problem was resolved when I updated to v2.3.4, and I'm sorry, but the logs have disappeared. If it occurs again, register the incident again.

@HirokiNakatani
Copy link
Author

The event has been reproduced.
I will send you the error part.
/aws/lambda/BedrockChatStack-WebSocketHandlerXXXX
Image

@HirokiNakatani
Copy link
Author

Regarding this issue, it always seems to occur when using the guardrail function. Guardrails cannot be used.

@HirokiNakatani
Copy link
Author

Additional information.The event was not reproduced when the grounding feature was disabled as followsThe event occurs when the grounding function is enabled.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info Need more information such as reproduction step
Projects
None yet
Development

No branches or pull requests

2 participants