Closed edamame8888 closed 3 weeks ago
Thank you for suggesting workaround! Could you explain or guess why your solution resolve the timeout issue?
OK! I'll respond after work, so please wait a bit.
Could you explain or guess why your solution resolve the timeout issue?
The memory being maxed out at 100% is the cause.
Before the improvement, the memory performance in Cloud Watch Insight was maxed out and the content retrieval never finished. After the improvement, memory performance improved and we confirmed that the embedding was completed in a short period of time.
Describe the bug
When creating a bot, inputting about 100 URLs (not YouTube URLs) results in the following error in BedrockChatStack-EmbeddingTask:
version: v1
To Reproduce
Screenshots
Additional context
Workaround Tried
I confirmed an improvement by calling page.close() within a loop of playwright on my end.
https://github.com/aws-samples/bedrock-claude-chat/blob/v1/backend/embedding/loaders/playwright.py#L150-L170
Result