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 import Chalice
tofrom chalice_a4ab import Chalice
.
Before:
from chalice 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
AgentsForAmazonBedrockConfig(
title="title",
instructions="Situation Settings for talking with Human and agent.(more than 40 words)",
description="Description of application",
).apply()
app = Chalice("app-name")
@app.router("path-name")
...
documentation for @app.router
sample: https://github.com/TestBoxLab/chalice-spec
- Upload by bash
Create AWS Resource for Cloudformation
chalice-a4ab init --profile ${PROFILE_NAME} --region ${REGION_NAME}
Or Update Already Exists AWS Resource
chalice-a4ab sync --profile ${PROFILE_NAME} --region ${REGION_NAME}
Delete AWS Resource
chalice-a4ab delete
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.1.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for chalice_a4ab-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4136ed2016eb2cf611053b28e09eeb6b895e9cce931c8fb81d4efcc56a504db3 |
|
MD5 | 83d43d26f6bae64679cc4cc5a7957b6a |
|
BLAKE2b-256 | 0498ef9ba2b4fe4a8d7118f2bdbbabb327e2459d0da0969f8a6882e46c1da311 |