https://github.com/awslabs/bedrock-vscode-playground
Explore and experiment with large language models (LLMs) available in Amazon Bedrock
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Keywords
Repository
Explore and experiment with large language models (LLMs) available in Amazon Bedrock
Basic Info
- Host: GitHub
- Owner: awslabs
- License: apache-2.0
- Language: TypeScript
- Default Branch: main
- Homepage: https://marketplace.visualstudio.com/items?itemName=AmazonWebServices-AISolutionsArchitecture.bedrock-vscode-playground
- Size: 73.7 MB
Statistics
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
Bedrock Visual Studio Code Playground
This is a Visual Studio Code (VS Code) extension which allows developers to easily explore and experiment with large language models (LLMs) available in Amazon Bedrock.
This is an open source project and we would love for you to be involved. To contribute, please refer to CONTRIBUTING.md.
Getting Started
You can install this extension from the VS Code Extension Marketplace
This extension uses your local AWS credentials to invoke the Amazon Bedrock service. By default, the extension will use the default AWS profile. If you want to change the profile, you can update the bedrockPlayground.profileName setting in your User/Workspace settings.

The extension will also use the us-west-2 region by default. To change the region, you can update the bedrockPlayground.region setting.

⚠️ By using this tool, you understand that it uses Amazon Bedrock's InvokeModel API, which will incur AWS charges. The charges you incur from using Amazon Bedrock will be your responsibility. Please review the latest Amazon Bedrock pricing here before using this tool.
Extension Features
The extension currently has 2 features:
1. LLM Playground
The playground environment provides a user interface for exploring and experimenting with LLMs in Amazon Bedrock. To open the playground environment, use the Command Palette and run the command Bedrock Playground: Open Playground.

You can adjust the inference parameters for each model by configuring your User/Workspace Settings.
2. Generate
You can use the Bedrock Playground: Generate command to use a LLM from Amazon Bedrock to generate text. You can configure which model to use by updating the setting bedrockPlayground.generate.modelId.

To generate text, just run the command Bedrock Playground: Generate using the Command Palette. The output will be placed in a new Markdown file.

You can also provide context from an active text editor when using the Bedrock Playground: Generate command. To provide context, simply select the code or text in your active text editor, run the command using the Command Palette, and input your request.

Customize prompt templates
The Bedrock Playground: Generate command uses prompt templates to customize the text it generates. To get the best results from your model, you may want to update the prompt templates. The default templates are designed for Anthropic's Claude model. If you are using a different model, tweak the templates in the bedrockPlayground.generate.promptTemplates based on the model provider's guidance on prompting.
To customize the template used when there is no context, you should update the generate template. This template string must contain a {REQUEST} placeholder which will be substituted with the user's request. For example:
"{REQUEST}\nPlease place your response in <response></response> XML tags."
To customize the prompt template that is used when context is provided, you should update the generateWithContext template. This template must contain both a {REQUEST} placeholder as well as a {CONTEXT} placeholder. For example:
"Use the context wrapped in <context></context> tags to respond to a user's request.\nThe user's request will be wrapped in <request></request> tags.\n<context>{CONTEXT}</context>\n<request>{REQUEST}</request>\nPlease place your response in <response></response> tags."
Creators
Owner
- Name: Amazon Web Services - Labs
- Login: awslabs
- Kind: organization
- Location: Seattle, WA
- Website: http://amazon.com/aws/
- Repositories: 914
- Profile: https://github.com/awslabs
AWS Labs
GitHub Events
Total
- Issues event: 2
- Watch event: 3
- Fork event: 3
Last Year
- Issues event: 2
- Watch event: 3
- Fork event: 3
Issues and Pull Requests
Last synced: almost 2 years ago
All Time
- Total issues: 9
- Total pull requests: 12
- Average time to close issues: 13 days
- Average time to close pull requests: 1 day
- Total issue authors: 3
- Total pull request authors: 3
- Average comments per issue: 0.44
- Average comments per pull request: 0.17
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 9
- Pull requests: 12
- Average time to close issues: 13 days
- Average time to close pull requests: 1 day
- Issue authors: 3
- Pull request authors: 3
- Average comments per issue: 0.44
- Average comments per pull request: 0.17
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tonykchen (3)
- RaphaelDucay (3)
- bobbywlindsey (2)
Pull Request Authors
- bobbywlindsey (10)
- tonykchen (10)
- chistoperez (2)
- amit-lulla (2)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- 434 dependencies
- @aws-sdk/types ^3.451.0 development
- @types/chai ^4.3.9 development
- @types/mocha ^10.0.1 development
- @types/node 16.x development
- @types/sinon ^10.0.20 development
- @types/sinon-chai ^3.2.11 development
- @types/vscode ^1.82.0 development
- @types/vscode-webview ^1.57.0 development
- @typescript-eslint/eslint-plugin ^6.4.1 development
- @typescript-eslint/parser ^6.4.1 development
- @vscode/test-cli ^0.0.3 development
- @vscode/test-electron ^2.3.5 development
- aws-sdk-client-mock ^3.0.0 development
- chai ^4.3.10 development
- eslint ^8.47.0 development
- glob ^10.3.3 development
- mocha ^10.2.0 development
- prettier ^2.8.1 development
- sinon ^16.1.3 development
- sinon-chai ^3.7.0 development
- ts-loader ^9.4.4 development
- typescript ^5.1.6 development
- webpack ^5.88.2 development
- webpack-cli ^5.1.4 development
- @aws-sdk/client-bedrock ^3.451.0
- @aws-sdk/client-bedrock-runtime ^3.451.0
- @aws-sdk/credential-providers ^3.451.0
- @aws-sdk/types ^3.451.0
- @smithy/util-stream ^2.0.20
- @vscode/webview-ui-toolkit ^1.2.2
- actions/checkout v4 composite
- actions/setup-node v4 composite

