-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: remove golang * feat: empty openai_chatgpt_python and python app * feat: workaround for drop pcm frame * fix: rte_proxy release * fix: stop on wait * feat: repath * fix: remove proxy * Feature/python expermential (#92) * feat: add interrupt detector python extension * feat(): add chat transcriber python extension * feat(): add elevenlabs tts python extension * chore(): modify comment * chore(): modify log * fix: agora_rtc * Feature/python expermential (#93) * feat: initial migration for openai * feat: openai working initially * fix: tts task not execute * fix: prevent thread blocking in on_data * fix: tts not stop * fix: api * feat: add interrupter * feat: add logs to openai ext * fix: sync manifest * feat: add --manifest * tmp: tmp cmd test * Feature/python expermential (#97) * init cosy tts and qwen llm * add flush and async * fix flush * revert change on inerrupt * feat: default to gchr.io image * fix: fix interrupt crash * fix: fix cosy * feat: cn manifest example * feat: support python manifest file * feat: update docker build file * fix: add files to package.sh * fix: add jq in builder env * fix: readme updates * fix: fix readme * enhancement: builder image update * fix: package * fix: readme & builder pack * feat: enhance cosy & qwen extensions * fix cosy interrupt and safe exit (#100) * feat: support qwen as cn default in gateway server. readme update * update cn default exmaple * update readme * fix * fix * tmp remove greetings from openai block * fix: fix outdateTs issue * Dev/fix cosy bug (#105) (#106) * fix cosy interrupt and safe exit * fix init Co-authored-by: tomasliu <[email protected]> * feat: use buf for data stream * fix: invalid argument * feat: add chat_transcriber in graph * feat: support json dump for chat transcriber * fix: fix cosy_tts websocket closed issue * feat: lock rtc ext version * bedrock_llm_extension: add support for Amazon Bedrock Foundation Models (#111) Co-authored-by: Chen188 <hidden> * reduce side effects of unused python extensions (#110) Co-authored-by: sunxilin <[email protected]> * Revert "feat: remove golang" This reverts commit af777ff. * fix: build with 0.3 runtime * fix: upgrade runtime dependencies * fix: compatible with 0.3.x runtime api * chore: add clean * feat: remove python start * chore: also clean bin folder * feat: upgrade dependencies * chore: add vscode settings * chore: remove useless deps * chore: typo * chore: log level * feat: start by worker * fix: chat transcriber * fix: package * fix: default examples * feat: only main updates latest image * test: build image * feat: workaround to avoid too many warning logs --------- Co-authored-by: sunshinexcode <[email protected]> Co-authored-by: Zhang Qianze <[email protected]> Co-authored-by: tomasliu <[email protected]> Co-authored-by: Ethan Zhang <[email protected]> Co-authored-by: Bin Chen <[email protected]> Co-authored-by: xxxxl_sun <[email protected]> Co-authored-by: sunxilin <[email protected]>
- Loading branch information
1 parent
e1474c7
commit e3ae391
Showing
91 changed files
with
5,287 additions
and
200 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"python.analysis.extraPaths": [ | ||
"./agents/interface", | ||
], | ||
"editor.formatOnSave": true, | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Amazon Bedrock LLM Extension | ||
|
||
### Configurations | ||
|
||
You can config this extension by providing following environments: | ||
|
||
| Env | Required | Default | Notes | | ||
| -- | -- | -- | -- | | ||
| AWS_REGION | No | us-east-1 | The Region of Amazon Bedrock service you want to use. | | ||
| AWS_ACCESS_KEY_ID | No | - | Access Key of your IAM User, make sure you've set proper permissions to [invoke Bedrock models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html) and gain [models access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html) in Bedrock. Will use default credentials provider if not provided. Check [document](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html). | | ||
| AWS_SECRET_ACCESS_KEY | No | - | Secret Key of your IAM User, make sure you've set proper permissions to [invoke Bedrock models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html) and gain [models access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html) in Bedrock. Will use default credentials provider if not provided. Check [document](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html). | | ||
| AWS_BEDROCK_MODEL | No | Claude 3.5(anthropic.claude-3-5-sonnet-20240620-v1:0) | Bedrock model id, check [docuement](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns). | |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from . import bedrock_llm_extension | ||
from .log import logger | ||
|
||
logger.info("bedrock_llm_python extension loaded") |
Oops, something went wrong.