Open ssolkhon opened 1 month ago
Edit: I found an alternative model that works - amazon.titan-text-premier-v1:0
.
Reopening to see if there is appetite from a core reviewer to change the default model.
Thank you for your feedback - we have an item in our backlog to inject the model ID so there is flexibility to try different models without having to change code or deployment. We will share an update here after we make the change.
Hey,
I am trying to spin up this example but the default model needs you to request access via AWS and unless you're an enterprise it's unlikely that access will be granted. As this is an example it would make much more sense to use a base model available to anyone who has added the model access to their account so that the barrier to entry is low.
When using the default configuration you will get the following error on a standard AWS account:
If you then try to change the base model to something else you'll get a different error telling you that the base model is not supported:
I tried
meta.llama3-8b-instruct-v1:0
andamazon.titan-text-lite-v1
so maybe I've just been unlucky with picking the wrong models to use instead. If you could point me in the right direction of a model that will work or let me know where I have gone wrong that would be greatly appreciated! To change the base model I updated the filebackend/lambda/query/index.js
with the above models.Thanks.