Skip to content

Commit e15558b

Browse files
changes
1 parent 26d79f9 commit e15558b

File tree

5 files changed

+136
-8
lines changed

5 files changed

+136
-8
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ appsettings.json
1212

1313
__pycache__
1414

15-
.cache
15+
.cache
16+
17+
.idea/

ai-services/multilingual-agent/.env

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
SPEECH_API_KEY="<SEARCH_API_KEY>"
2-
SPEECH_REGION="<SPEECH_REGION>"
3-
TRANSLATION_KEY="<TRANSLATION_KEY>"
4-
TRANSLATION_REGION="<TRANSLATION_REGION>"
5-
OPENAI_KEY="<OPENAI_KEY>"
6-
OPENAI_ENDPOINT="<OPENAI_ENDPOINT>"
7-
ASSISTANT_ID="<ASSISTANT_ID>"
1+
SPEECH_API_KEY="82ba399266464ed493f98174b59bae01"
2+
SPEECH_REGION="eastus"
3+
TRANSLATION_KEY="87134b39fc8049fbbe096b0557eec646"
4+
TRANSLATION_REGION="eastus"
5+
OPENAI_KEY="bde1b8434a59454698f97af211a8a3fd"
6+
OPENAI_ENDPOINT="https://chattest-westus2-kel54xbecb3to.openai.azure.com/"
7+
ASSISTANT_ID="asst_mduMUSYCT9T108JCB1udEF07"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Chris Ayers
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# AI-in-a-Box Multilingual Agent
2+
3+
<!-- <div style="display: flex;">
4+
<div style="width: 70%;">
5+
This solution is part of the the AI-in-a-Box framework developed by the team of Microsoft Customer Engineers and Architects to accelerate the deployment of AI and ML solutions. Our goal is to simplify the adoption of AI technologies by providing ready-to-use accelerators that ensure quality, efficiency, and rapid deployment.
6+
</div>
7+
<div style="width: 30%;">
8+
<img src="./media/ai-in-a-box.png" alt="AI-in-a-box Project Logo: Description" style="width: 10%">
9+
</div>
10+
</div> -->
11+
|||
12+
|:---| ---:|
13+
|This solution is part of the the AI-in-a-Box framework developed by the team of Microsoft Customer Engineers and Architects to accelerate the deployment of AI and ML solutions. Our goal is to simplify the adoption of AI technologies by providing ready-to-use accelerators that ensure quality, efficiency, and rapid deployment.| <img src="./media/ai-in-a-box.png" alt="AI-in-a-box Logo: Description" style="width: 70%"> |
14+
15+
## User Story
16+
![multilingual-agent](./media/multilingual-agent.jpg)
17+
18+
19+
This is the WHY
20+
21+
Insert a image here that tells an interesting story about the solution being delivered
22+
23+
Describe how this solution can help a user's organization, including examples on how this solution could help specific industries
24+
25+
Describe what makes this solution and other reasons why someone would want to deploy this. Here's some ideas that you may wish to consider:
26+
27+
- **Speed and Efficiency**: How does this solution accelerate the deployment of AI/ML solutions?
28+
- **Cost-Effectiveness**: In what ways does it help save on development costs?
29+
- **Quality and Reliability**: What measures are in place to ensure the high quality and reliability of your solution?
30+
- **Competitive Edge**: How does it give users a competitive advantage in their domain?
31+
32+
## What's in the Box
33+
34+
- CLI (command line interface) that allows users to talk with the assistant by voice
35+
- Orchestrator that is responsible for
36+
1. Capture and convert the user's voice to text
37+
2. Translate the text to the language of the assistant (english)
38+
3. Send the text to the assistant
39+
4. Translate the response to the user's language
40+
5. Convert the text to voice and play it to the user
41+
- Deployment of all azure resources needed:
42+
- Azure AI Services (we will be using Speech and Language services)
43+
- Azure OpenAI
44+
- Creation of Open AI Assistant
45+
- Integrated with File Search tool
46+
47+
48+
This is WHAT they get when they deploy the solution
49+
50+
Describe any helpful technical benefits of this solution (for example, deploys key vault for storing keys securely, UAMI for easy and secure integration)
51+
52+
Describe what Azure Resources are deployed
53+
54+
Include Architecture Diagrams including inputs and outputs
55+
56+
Provide links to any associated blogs about this solution (any FTA blogs you wrote that provide more details)
57+
58+
## Thinking Outside of the Box
59+
60+
This is a WHY and a WHAT
61+
62+
Describe ways users can customize and enahance the solution for use inside their organization
63+
64+
## Deploy the Solution
65+
66+
Provide instructions on how to deploy the solutione:
67+
68+
1. **Prerequisites**: List any requirements for using this solution (e.g., software, accounts).
69+
2. **Installation**: Step-by-step instructions for deploying the solution to Azure.
70+
3. **Post Deployment**: Include any instructions that the user may need to do after the resources have been deployed; for example, upload files to blob storage, create an ML or an AI Services project
71+
72+
## Run the Solution
73+
74+
Include instructions on how they can run and test the solution
75+
76+
## Customize the Solution
77+
78+
Describe different ideas on how to enhance or customize for their use cases
79+
80+
## How to Contribute
81+
82+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>
83+
84+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
85+
86+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq) or contact <opencode@microsoft.com> with any additional questions or comments.
87+
## Key Contacts & Contributors
88+
89+
Highlight the main contacts for the project and acknowledge contributors. You can adapt the structure from AI-in-a-Box:
90+
91+
| Contact | GitHub ID | Email |
92+
|---------|-----------|-------|
93+
| Your Name | @YourGitHub | your.email@example.com |
94+
95+
## Acknowledgments
96+
97+
If applicable, offer thanks to individuals, organizations, or projects that helped inspire or support your project.
98+
99+
## License
100+
101+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
102+
103+
---
104+
105+
This project is part of the AI-in-a-Box series, aimed at providing the technical community with tools and accelerators to implement AI/ML solutions efficiently and effectively.
65.9 KB
Loading

0 commit comments

Comments
 (0)