DynamoDb
class.
Usage
To connect to DynamoDB, you will need valid AWS credentials. You can set them as environment variables:AWS_REGION
: The AWS region to connect to.AWS_ACCESS_KEY_ID
: Your AWS access key id.AWS_SECRET_ACCESS_KEY
: Your AWS secret access key.
dynamo_for_agent.py
Params
Parameter | Type | Default | Description |
---|---|---|---|
db_client | None | - | The DynamoDB client to use. |
region_name | optional[str] | - | AWS region name. |
aws_access_key_id | optional[str] | - | AWS access key ID. |
aws_secret_access_key | optional[str] | - | AWS secret access key. |
session_table | optional[str] | - | The name of the session table. |
memory_table | optional[str] | - | The name of the memory table. |
metrics_table | optional[str] | - | The name of the metrics table. |
eval_table | optional[str] | - | The name of the eval table. |
knowledge_table | optional[str] | - | The name of the knowledge table. |
Developer Resources
- View Cookbook