This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Continue config.yaml (Bedrock, role-split for cost + UX) | |
| # Source of modelIds below: your exported Bedrock model list :contentReference[oaicite:0]{index=0} | |
| # | |
| # Mental model: | |
| # - chat: highest quality reasoning; fewer calls; OK to spend more per token | |
| # - autocomplete: *tons* of calls; latency + cost dominate; keep maxTokens small | |
| # - edit/apply: medium frequency; can be cheaper than chat; you review output anyway | |
| # - rerank: scoring model; cheap per query; improves retrieval quality before chat | |
| name: "bedrock-continue" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ To use: install Ollama, clone OpenVoice, run this script in the OpenVoice directory | |
| brew install portaudio | |
| brew install git-lfs | |
| git lfs install | |
| git clone https://github.com/myshell-ai/OpenVoice | |
| cd OpenVoice | |
| git clone https://huggingface.co/myshell-ai/OpenVoice | |
| cp -r OpenVoice/* . | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # me - this DAT. | |
| # webServerDAT - the connected Web Server DAT | |
| # request - A dictionary of the request fields. The dictionary will always contain the below entries, plus any additional entries dependent on the contents of the request | |
| # 'method' - The HTTP method of the request (ie. 'GET', 'PUT'). | |
| # 'uri' - The client's requested URI path. If there are parameters in the URI then they will be located under the 'pars' key in the request dictionary. | |
| # 'pars' - The query parameters. | |
| # 'clientAddress' - The client's address. | |
| # 'serverAddress' - The server's address. | |
| # 'data' - The data of the HTTP request. | |
| # response - A dictionary defining the response, to be filled in during the request method. Additional fields not specified below can be added (eg. response['content-type'] = 'application/json'). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import ruamel.yaml | |
| import git | |
| DASHBOARD_LIVE = 'webpage.com.' | |
| DASHBOARD_DEMO = 'demo.webpage.com.' | |
| API_LIVE = 'api.webpage.com' | |
| API_DEMO = 'api-demo.webpage.com' | |
| HOSTED_ZONE_ID = '/hostedzone/M4D3UPH4SH' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| options: | |
| docker: true | |
| pipelines: | |
| branches: | |
| dev: | |
| - step: | |
| image: tstrohmeier/awscli:3.6.4 | |
| script: | |
| - Dashbaord commands go here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| script: | |
| # aws login | |
| - eval $(aws ecr get-login --region ${AWS_DEFAULT_REGION} --no-include-email) | |
| #set service and cluster names | |
| - export DASHBOARD_SERVICE=DashboardService | |
| - export DASHBOARD_CLUSTER=DashboardCluster | |
| # set task and execrole | |
| - export DASHBOARD_TASK_NAME=DashboardTask | |
| - export EXECROLE=arn:aws:iam::123456789012:role/ecsTaskExecutionRole | |
| # BUILD_ID set to iterate based on build number |