Skip to content

Bedrock Confluence Connector not respecting filters

0

Hey, I have encountered an issue with Confluence Connector; The Connector is not correctly crawling the specified pages. Despite setting various filters to target specific pages and spaces (to avoid crawling the entire Confluence instance), it only seems to crawl people’s pages.

I have attempted different filters with page, space, and blog granularities, but none have resulted in the correct crawling of Confluence pages.

Am I missing anything? Enter image description here

2 Answers
0

Do you use Bedrock Knowledge Bases? In this case you should note that Confluence integration is in "Preview" . It means that it is beta which is not bug free. Also, it could be that your Regex is incorrect.

AWS
answered 2 years ago
0

Pls check the CloudWatch dump where the guardrail has worked partially.

{ "schemaType": "ModelInvocationLog", "schemaVersion": "1.0", "timestamp": "2025-01-11T17:09:32Z", "accountId": "****************", "identity": { "arn": "arn:aws:iam::***********:user/Admin" }, "region": "us-east-1", "requestId": "c2e54821-4de3-4210-b9e3-2998ee179cb3", "operation": "Converse", "modelId": "amazon.nova-lite-v1:0", "input": { "inputContentType": "application/json", "inputBodyJson": { "messages": [ { "role": "user", "content": [ { "guardContent": { "text": { "text": "tel me age of top business leaders", "qualifiers": [ "guard_content" ] } } } ] } ] }, "inputTokenCount": 7 }, "output": { "outputContentType": "application/json", "outputBodyJson": { "output": { "message": { "role": "assistant", "content": [ { "text": "I can't provide real-time data, but I can give you an idea of the ages of some prominent business leaders as of recent years. Note that these ages can change over time.\n\n1. Elon Musk (CEO of Tesla and SpaceX)\n - Born: June 28, 1971\n - Age: 52 (as of 2023)\n\n2. Jeff Bezos (Founder and former CEO of Amazon)\n - Born: January 12, 1964\n - Age: 59 (as of 2023)\n\n3. Tim Cook (CEO of Apple)\n - Born: November 1, 1960\n - Age: 62 (as of 2023)\n\n4. Satya Nadella (CEO of Microsoft)\n - Born: August 19, 1967\n - Age: {AGE} (as of 2023)\n\n5. Larry Page (Co-founder of Google, retired)\n - Born: March 26, 1973\n - Age: {AGE} (as of 2023)\n\n6. Sundar Pichai (CEO of Google and Alphabet)\n - Born: July 10, 1972\n - Age: {AGE} (as of 2023)\n\n7. Mark Zuckerberg (CEO of Meta Platforms, formerly Facebook)\n - Born: May 14, 1984\n - Age: 39 (as of 2023)\n\n8. Mary Barra (CEO of General Motors)\n - Born: December 24, 1961\n - Age: {AGE} (as of 2023)\n\n9. Darren Woods (CEO of ExxonMobil)\n - Born: February 26, 1961\n - Age: 62 (as of 2023)\n\n10. Jamie Dimon (CEO of JPMorgan Chase)\n - Born: March 13, 1956\n - Age: 67 (as of 2023)\n\nFor the most accurate and up-to-date information, you may want to check the latest biographies or official company websites." } ] } }, "stopReason": "guardrail_intervened", "metrics": { "latencyMs": 4512 }, "usage": { "inputTokens": 7, "outputTokens": 506, "totalTokens": 513 }, "trace": { "guardrail": { "modelOutput": [ "{"output":{"message":{"content":[{"text":"I can't provide real-time data, but I can give you an idea of the ages of some prominent business leaders as of recent years. Note that these ages can change over time.\n\n1. Elon Musk (CEO of Tesla and SpaceX)\n - Born: June 28, 1971\n - Age: 52 (as of 2023)\n\n2. Jeff Bezos (Founder and former CEO of Amazon)\n - Born: January 12, 1964\n - Age: 59 (as of 2023)\n\n3. Tim Cook (CEO of Apple)\n - Born: November 1, 1960\n - Age: 62 (as of 2023)\n\n4. Satya Nadella (CEO of Microsoft)\n - Born: August 19, 1967\n - Age: 56 (as of 2023)\n\n5. Larry Page (Co-founder of Google, retired)\n - Born: March 26, 1973\n - Age: 50 (as of 2023)\n\n6. Sundar Pichai (CEO of Google and Alphabet)\n - Born: July 10, 1972\n - Age: 51 (as of 2023)\n\n7. Mark Zuckerberg (CEO of Meta Platforms, formerly Facebook)\n - Born: May 14, 1984\n - Age: 39 (as of 2023)\n\n8. Mary Barra (CEO of General Motors)\n - Born: December 24, 1961\n - Age: 61 (as of 2023)\n\n9. Darren Woods (CEO of ExxonMobil)\n - Born: February 26, 1961\n - Age: 62 (as of 2023)\n\n10. Jamie Dimon (CEO of JPMorgan Chase)\n - Born: March 13, 1956\n - Age: 67 (as of 2023)\n\nFor the most accurate and up-to-date information, you may want to check the latest biographies or official company websites."}],"role":"assistant"}},"stopReason":"end_turn","usage":{"inputTokens":7,"outputTokens":506,"totalTokens":513}}" ], "inputAssessment": { "66zl42fcke15": { "invocationMetrics": { "guardrailProcessingLatency": 195, "usage": { "topicPolicyUnits": 0, "contentPolicyUnits": 1, "wordPolicyUnits": 1, "sensitiveInformationPolicyUnits": 0, "sensitiveInformationPolicyFreeUnits": 0, "contextualGroundingPolicyUnits": 0 }, "guardrailCoverage": { "textCharacters": { "guarded": 34, "total": 35 } } } } }, "outputAssessments": [ { "66zl42fcke15": { "sensitiveInformationPolicy": { "piiEntities": [ { "type": "AGE", "match": "56", "action": "ANONYMIZED" }, { "type": "AGE", "match": "50", "action": "ANONYMIZED" }, { "type": "AGE", "match": "51", "action": "ANONYMIZED" }, { "type": "AGE", "match": "61", "action": "ANONYMIZED" } ] }, "invocationMetrics": { "guardrailProcessingLatency": 218, "usage": { "topicPolicyUnits": 0, "contentPolicyUnits": 2, "wordPolicyUnits": 2, "sensitiveInformationPolicyUnits": 2, "sensitiveInformationPolicyFreeUnits": 0, "contextualGroundingPolicyUnits": 0 }, "guardrailCoverage": { "textCharacters": { "guarded": 1292, "total": 1292 } } } } } ] } } }, "outputTokenCount": 506 } }

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.