{"id":24601167,"url":"https://github.com/bigevilbeard/prompt_demo","last_synced_at":"2025-06-25T10:32:11.200Z","repository":{"id":273847876,"uuid":"921081000","full_name":"bigevilbeard/prompt_demo","owner":"bigevilbeard","description":"Building Code Documentation with Amazon Bedrock","archived":false,"fork":false,"pushed_at":"2025-01-23T10:09:40.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T10:35:13.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigevilbeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-23T09:53:48.000Z","updated_at":"2025-01-23T10:09:44.000Z","dependencies_parsed_at":"2025-01-23T10:45:32.159Z","dependency_job_id":null,"html_url":"https://github.com/bigevilbeard/prompt_demo","commit_stats":null,"previous_names":["bigevilbeard/prompt_demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fprompt_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fprompt_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fprompt_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fprompt_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigevilbeard","download_url":"https://codeload.github.com/bigevilbeard/prompt_demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181444,"owners_count":20411604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-24T14:39:43.021Z","updated_at":"2025-03-18T08:11:53.909Z","avatar_url":"https://github.com/bigevilbeard.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prompt_demo\nBuilding Code Documentation with Amazon Bedrock\n\n## \n\nCreate consistent code documentation at scale with Amazon Bedrock Prompt Management. Watch how to automate your documentation workflow using foundation models while maintaining consistent standards across your team. See real implementation examples and learn how to get started with Amazon Bedrock Prompt Management.\n\n# Amazon Bedrock Model Invocation Sample\n\n## Description\nThis Python script demonstrates how to interact with Amazon Bedrock to invoke AI models using the AWS SDK (boto3). The sample shows how to set up a Bedrock client, make model invocations, and handle responses.\n\n## Prerequisites\n- Python 3.x\n- AWS account with Bedrock access\n- Configured AWS credentials\n- Required Python packages:\n  - boto3\n  - json\n\n## Installation\n1. Clone this repository\n2. Install required packages:\n   \n```\npip install boto3\n```\n\n## Configuration\n\nBefore running the script, you need to:\n\n- Configure your AWS credentials\n- Update the profile_name with your AWS profile\n- Replace the modelId with your chosen Bedrock model ARN\n\n## Features\n\n- AWS Bedrock session initialization\n- Model invocation with custom parameters\n- JSON request and response handling\n- Support for code analysis use cases\n\n## Error Handling\n\nThe script includes basic response handling. For production use, consider adding:\n\n- Error checking for AWS credentials\n- Model invocation error handling\n- Response validation\n\n## Security Notes\n\n- Never commit AWS credentials in your code\n- Use environment variables or AWS profiles for authentication\n- Ensure proper IAM permissions are set up\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigevilbeard%2Fprompt_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigevilbeard%2Fprompt_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigevilbeard%2Fprompt_demo/lists"}