@@ -28,7 +28,7 @@ export default () => ({
2828 aws: {
2929 // ... existing aws config
3030 secretsManager: {
31- perplexityApiKeySecret: process .env .PERPLEXITY_API_KEY_SECRET_NAME || ' medical-reports-explainer/ perplexity-api -key' ,
31+ perplexityApiKeySecret: process .env .PERPLEXITY_API_KEY_SECRET_NAME || ' med-ai- perplexity-key' ,
3232 },
3333 },
3434 perplexity: {
@@ -68,7 +68,7 @@ The `PerplexityController` exposes the following endpoints:
68681 . Create a secret in AWS Secrets Manager:
6969 ```
7070 aws secretsmanager create-secret \
71- --name medical-reports-explainer/ perplexity-api -key \
71+ --name med-ai- perplexity-key \
7272 --description "Perplexity API Key for Medical Reports Explainer" \
7373 --secret-string "your-perplexity-api-key"
7474 ```
@@ -83,7 +83,7 @@ The `PerplexityController` exposes the following endpoints:
8383 "Action" : [
8484 " secretsmanager:GetSecretValue"
8585 ],
86- "Resource" : " arn:aws:secretsmanager:region:account-id:secret:medical-reports-explainer/ perplexity-api -key-*"
86+ "Resource" : " arn:aws:secretsmanager:region:account-id:secret:med-ai- perplexity-key-*"
8787 }
8888 ]
8989 }
@@ -95,7 +95,7 @@ Configure the following environment variables:
9595
9696| Variable | Description | Default Value |
9797| ----------| -------------| ---------------|
98- | ` PERPLEXITY_API_KEY_SECRET_NAME ` | Name of the secret in AWS Secrets Manager | ` medical-reports-explainer/ perplexity-api -key` |
98+ | ` PERPLEXITY_API_KEY_SECRET_NAME ` | Name of the secret in AWS Secrets Manager | ` med-ai- perplexity-key` |
9999| ` PERPLEXITY_MODEL ` | Perplexity model to use | ` mixtral-8x7b-instruct ` |
100100| ` PERPLEXITY_MAX_TOKENS ` | Maximum tokens to generate | ` 2048 ` |
101101| ` AWS_REGION ` | AWS region for Secrets Manager | ` us-east-1 ` |
0 commit comments