Chalice x Agents for Amazon Bedrock plug-ins
Project description
Chalice-A4AB
What is this library?
Chalice plugin: Support Agents for Amazon Bedrock
Usage
- Install
pip install chalice-a4ab
- Replace
from chalice.app import Chalice
tofrom chalice_a4ab import Chalice
.
Before:
from chalice.app import Chalice
app = Chalice("app-name")
@app.router("path-name")
...
After:
from chalice_a4ab import Chalice
app = Chalice("app-name")
@app.router("path-name")
...
- Application work on Agents for Amazon Bedrock
Advanced Usage
Create OpenAPI Schema automatically.
- Install Chalice-spec
pip install chalice-spec chalice-a4ab
- Write Setting
from chalice_a4ab import Chalice, AgentsForAmazonBedrockConfig
# Set Config for Agents for Amazon bedrock
config = AgentsForAmazonBedrockConfig(
title="abc"
).apply()
app = Chalice("app-name")
@app.router("path-name")
...
if __name__ == "__main__":
import boto3
config.save_to_s3(boto3.Session(), "bucket-name")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chalice_a4ab-0.1.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for chalice_a4ab-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d9c8438d02561cfa33a690b87f1dd486f500bbd5b5f1426fe0bfb0b2ce95bf |
|
MD5 | c2d66a3921b0b2d575c865141fa25e1f |
|
BLAKE2b-256 | 360e2c7d388d8924e0b200429abda4ff89100b9082efed7df377afc529d275c1 |