Skip to main content

KnowledgeBase

KnowledgeBase is a separately selected Advanced/Enterprise capability powered by Amazon Bedrock for retrieval-grounded questions over a selected document collection. Confirm the module's delivered collection configuration, integration contract, and supported region/model during onboarding.

API boundary

The public v1.19.2 FormKiQ specification has no KnowledgeBase management/query operations. The example below is an Amazon Bedrock API integration, after a collection has been provisioned. It is not a /knowledgebases endpoint or a promise that Core installs a complete retrieval service. Keep the module-specific onboarding configuration with your deployment runbook.

Watch the KnowledgeBase introduction​

Ask questions over a selected document collection with Amazon Bedrock, inspect source references and scope retrieval access, revisions and index freshness. 0:54 · English captions

Read the video transcript

Your team has questions. The answers may be in the documents you've already approved. Ask questions across a selected collection with FormKiQ KnowledgeBase, powered by Amazon Bedrock. Choose the source documents, approved revisions, and audience for the collection. Configure access before generation, so retrieval uses material authorized for the reader. Return the response with source references, so staff can inspect the document and revision. Keep the index aligned as documents change, and verify updates, deletions, and permission changes. Scope this add-on for FormKiQ Advanced or Enterprise, including application access and processing-location requirements. Ask with context. Review the source. Explore KnowledgeBase with FormKiQ.

Prepare a safe collection​

  1. Select a small set of fictional documents for a first test. Record their FormKiQ site, document IDs, revisions, and the approved audience.
  2. Provision the agreed Bedrock knowledge base, vector store, embedding/model configuration, data source, execution role, and query role in the approved region. For the AWS-managed setup process, see Create a knowledge base.
  3. Configure an explicit export/ingestion path for the approved documents. Preserve document identity and source-revision metadata so citations can be resolved back to FormKiQ. Do not indiscriminately index staging files, deleted versions, or every object in a storage bucket.
  4. Ensure the query service restricts retrieval before generation to material the caller may read. FormKiQ permissions are not automatically copied to Bedrock/vector-store ACLs. A siteId filter alone is insufficient when the site also has folder or document-level restrictions. Use a correctly enforced entitlement filter or a collection whose entire contents are authorized for that audience.
  5. Sync the data source and inspect ingestion results. Define update, deletion, permission-change, and reindex behavior. See data-source synchronization.
  6. Test with an authorized user, an unauthorized user, a revoked permission, a changed document, and a deleted document before exposing real content.

Do not pass arbitrary caller-supplied filters to a broadly privileged query role and treat them as authorization. Generated text can disclose retrieved material even when a citation link is later denied.

Query the provisioned collection​

This example assumes the caller's AWS query role is approved for the entire selected test collection. For mixed-access collections, apply the verified entitlement design above first. Replace the knowledge-base ID and model/inference-profile ARN with the values supplied for this deployment.

Save request.json:

{
"input": {"text": "What notice period does the sample policy require?"},
"retrieveAndGenerateConfiguration": {
"type": "KNOWLEDGE_BASE",
"knowledgeBaseConfiguration": {
"knowledgeBaseId": "REPLACE_WITH_KNOWLEDGE_BASE_ID",
"modelArn": "REPLACE_WITH_APPROVED_MODEL_OR_PROFILE_ARN"
}
}
}
aws bedrock-agent-runtime retrieve-and-generate \
--region YOUR_REGION --profile YOUR_APPROVED_QUERY_PROFILE \
--cli-input-json file://request.json

The AWS RetrieveAndGenerate contract returns generated text and source references. An illustrative excerpt is:

{
"output": {"text": "The sample policy requires 30 days' notice."},
"citations": [{
"retrievedReferences": [{
"content": {"text": "Provide notice at least 30 days before renewal."},
"location": {"type": "S3", "s3Location": {"uri": "s3://approved-example/policy.txt"}}
}]
}]
}

Resolve references through the authorized application path, not a newly public S3 bucket. A citation is evidence to inspect, not proof that an answer is complete or correct. Record unanswered questions and show a clear no-evidence result rather than inventing a source.

Keep retrieval current​

Monitor ingestion failures and collection freshness. Reconcile index deletions and entitlement changes; deleting or restricting the FormKiQ source does not by itself prove every indexed chunk is removed. Protect prompts, retrieved snippets, logs, and cached responses as document-derived data.

Model/inference profiles, embedding/vector services, external retrieval applications, backups, and logs can introduce additional processing locations and costs. Review data residency and licensing. KnowledgeBase is distinct from AI Processing and Analysis and enhanced full-text search.

Privacy settings

Analytics is optional. Your analytics choice is shared with formkiq.com and remembered for up to six months. Change it here at any time.

Essential preferences and search

We remember your privacy choice and display preferences. Search runs in your browser using Pagefind files hosted with the docs. It works whether you accept or reject analytics.

Measure page views, installation-link clicks, and selected navigation. This does not enable advertising on the docs. Existing marketing choices for the main website are kept unchanged.

Read the docs privacy notice or manage other main-website privacy choices.