Skip to content

Added KB examples and tests and updated metadata file #7451

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gausekha
Copy link

This pull request adds code examples for the APIs CreateKnowledgeBase, GetKnowledgeBase, UpdateKnowledgeBase, DeleteKnowledgeBase, and ListKnowledgeBases APIs. The same submission was made earlier but running the writeme created a large number of file diffs. This submission hopes to avoid such a large commit.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the Python This issue relates to the AWS SDK for Python (boto3) label May 16, 2025
DavidSouther and others added 3 commits May 19, 2025 14:23
…agraphs in incorrect segments to correct custom blocks. Some information was lost, for list flows, which does not have a current scenario in metadata.
parser = argparse.ArgumentParser(
description="Work with knowledge bases in your AWS account."
)
parser.add_argument(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to run these steps together as a set? For example: Create a KnowledgeBase, List, Get, Update, then Delete? With the role created as part of the process? Otherwise the user has to know what the required Role will look like, and provide the arn. We try to have scenarios be self-contained. For more information, see the example standards. If this is not possible for some reason and an exception needs to be made, let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python This issue relates to the AWS SDK for Python (boto3)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants