OpenBra.in agent creation and tuning Gradio deployment.
Project description
OB Tuner
An AI agent tuning tool for OpenBra.in agents.
Procedures
Before deploying
-
Ensure AWSServiceRoleForElasticBeanstalk exists in your roles, if not, create it. Use the UI and it weil be created correctly without havingto fill in the name or trust relationship or policy document.
-
Before deploying, register with Cognito and get a
client_id
andclient_secret
for the OAuth2 client. You will need to provide yourcallback_url
. -
Before deploying, create a Route53 record for your base domain. This requires a root A record in the root domain. For example
openbra.in
A
EBS endpoint
. -
Before deploying, create a custom domain in your cognito user pool. This requires the record above to be created first.
-
Before deploying you must creaet a certificate in ACM for the custom domain.
-
Before deploying, create ssh keypair and store the private key in a secure location. Use the key pair name in the
ec2_key_name
parameter. -
Befoer deploying, add EBS admin access
After deploying
- After deploying, create a Route 53 record set pointing your callback URL domain to the EBS URL.
NOTE: Do not redeploy app for at least 5 minutes (if last one was succesful) to avoid failed runs... requires more logic in the pipeline to automate this case
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
Built Distribution
File details
Details for the file ob_tuner-1.1.0.tar.gz
.
File metadata
- Download URL: ob_tuner-1.1.0.tar.gz
- Upload date:
- Size: 474.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 023935b1380da67daf9eca3bfe2e5fe5ed5eb160bce5fc737592a005f38416a0 |
|
MD5 | 3ada1740f60d055e74772271b1544c17 |
|
BLAKE2b-256 | 826bf593622843275a4d1de55a80025e3d1253e5dd82d1dd9276a6b17b93318a |
File details
Details for the file ob_tuner-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ob_tuner-1.1.0-py3-none-any.whl
- Upload date:
- Size: 474.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e2c5b02d87d7a409e981999b27c55ae116cad0d6fa99c72158c0ec57effee9 |
|
MD5 | 561bdd39aaa75320f2b8dc5279f69ab5 |
|
BLAKE2b-256 | ed1f7938d11d7212de617f4f3c57fd0c87514e6cec653a18d60a2d3ab8e96d91 |