aws-samples / amazon-bedrock-slack-gateway

MIT No Attribution
15 stars 6 forks source link

Add ability to use other models #6

Open jlosito opened 2 months ago

jlosito commented 2 months ago

Is your feature request related to a problem? Please describe. My organization would like to use a different model other than Jurassic such as Claude.

Describe the solution you'd like I'd like the ability to select different models that are available such as Claude through a parameter.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context The current model is hardcoded in the lambda function. https://github.com/aws-samples/amazon-bedrock-slack-gateway/blob/903bb7c44e11ad1d866d4be29357e22541b4e276/src/stack.ts#L169 Note that different models require different parameters when invoked.

booyaa commented 1 week ago

The documentation makes no mention you require a specific model to be enabled. I just assumed that I could use Claude 3 Sonnet. This might explain why the bot isn't responding.