Skip to content

Commit

Permalink
Update AWS_Amazon_Q.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiyapriyaS authored Nov 21, 2024
1 parent 9898ba0 commit cfc0e59
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions notebooks/GenAI/AWS_Amazon_Q.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"\n",
"4. Click on the role and scroll down to the role policies\n",
"\n",
"![alt text](../../Q-IAM-role.png)\n",
"![alt text](../../docs/images/Q-IAM-role.png)\n",
"\n",
"![alt text](../../Q-role-policy.png)\n",
"![alt text](../../docs/images/Q-role-policy.png)\n",
"\n",
"5. Add the following policy to the IAM role: \n",
"\n",
Expand All @@ -68,15 +68,15 @@
"```\n",
"6. Review and save your changes\n",
"\n",
"![alt text](../../Q-iam-policy-review.png)\n",
"![alt text](../../docs/images/Q-iam-policy-review.png)\n",
"\n",
"7. Open your SageMaker studio UI and create a JupyterLab Space\n",
"\n",
"![alt text](../../Q-jupy-lab.png)\n",
"![alt text](../../docs/images/Q-jupy-lab.png)\n",
"\n",
"8. Click on the Amazon Q logo on the left panel \n",
"\n",
"![alt text](../../Q-amazon-q-jup.png)\n",
"![alt text](../../docs/images/Q-amazon-q-jup.png)\n",
"\n",
"Alternatively, you may open a CodeEditor application from the SageMaker Studio UI and install Amazon Q Developer as an extension. Please note that when this application is shut down, the extension will be removed. "
]
Expand Down Expand Up @@ -125,7 +125,7 @@
"\n",
"Try it out! Let's try adding a sixth step to the `bioinformatics-testing.py` script, where we will run samtools sort, to this script. As you type, press the tab key to see what the coding assistant suggests for you!\n",
"\n",
"![alt text](../../Q-code-completion-1.png.png)\n",
"![alt text](../../docs/images/Q-code-completion-1.png.png)\n",
"\n",
"Samtools Sorting Example: \n",
"```python\n",
Expand Down Expand Up @@ -158,11 +158,11 @@
"4. Navigate to the Amazon Q Developer search bar and type in `/fix`\n",
"5. Click on the down arrow next to the send button and select \"Send message with selection\" \n",
"\n",
"![alt text](../../Q-send-cell-with-prompt.png)\n",
"![alt text](../../docs/images/Q-send-cell-with-prompt.png)\n",
"\n",
"##### **Response** \n",
"\n",
"![alt text](../../Q-fix.png)\n",
"![alt text](../../docs/images/Q-fix.png)\n",
"\n",
"##### **Response Breakdown**\n",
"* The response contains the corrected code, a description of what the code does and suggestions for improving it. \n",
Expand All @@ -176,7 +176,7 @@
"\n",
"##### **Response**\n",
"\n",
"![alt text](../../Q-optimize.png)\n",
"![alt text](../../docs/images/Q-optimize.png)\n",
"\n",
"##### **Response Breakdown** \n",
"A few methods of optimization are suggested. \n",
Expand All @@ -188,7 +188,7 @@
"\n",
"##### **Response** \n",
"\n",
"![alt text](../../Q-explain.png)\n",
"![alt text](../../docs/images/Q-explain.png)\n",
"\n",
"##### **Response Breakdown** \n",
"* The functions present in the code snippet are explained. Additionally, suggestions to enhance the code are provided"
Expand Down Expand Up @@ -248,7 +248,7 @@
"source": [
"##### **Response**\n",
"\n",
"![alt text](../../Q-parallel-processing.png)"
"![alt text](../../docs/images/Q-parallel-processing.png)"
]
},
{
Expand Down Expand Up @@ -313,7 +313,7 @@
"source": [
"##### **Response**\n",
"\n",
"![alt text](../../Q-optimize-script.png)"
"![alt text](../../docs/images/Q-optimize-script.png)"
]
},
{
Expand Down Expand Up @@ -377,7 +377,7 @@
"source": [
"##### **Response**\n",
"\n",
"![alt text](../../Q-snakemake-wf.png)"
"![alt text](../../docs/images/Q-snakemake-wf.png)"
]
},
{
Expand Down Expand Up @@ -437,7 +437,7 @@
"source": [
"##### **Response**\n",
"\n",
"![alt text](../../Q-snakemake-cloud.png)"
"![alt text](../../docs/images/Q-snakemake-cloud.png)"
]
},
{
Expand Down Expand Up @@ -479,7 +479,7 @@
"source": [
"##### **Response**\n",
"\n",
"![alt text](../../Q-R-script.png)"
"![alt text](../../docs/images/Q-R-script.png)"
]
},
{
Expand Down

0 comments on commit cfc0e59

Please sign in to comment.