aws-genai-llm-chatbot
aws-genai-llm-chatbot copied to clipboard
Cannot create Workspace with text-embedding-ada-002 model
I have really non-informative error message in the WebUI - 'Something went wrong' Am I alone ? Has anyone tested WebUI functionality before releasing the code ?
Hi @alexeyshishkin01
do you have your OPENAI_API_KEY set up in secrets manager? https://github.com/aws-samples/aws-genai-llm-chatbot#third-party-models-requirements
thanks, let me check with the setup
it looks like the mentioned documentation is not clear or/and misleading at least it is not clear which secret I have to update (I have several secrets) it is also not clear how/what to update the secret (update 'Secret value' of the secret ?) if I have to update 'Secret value' there're two options - Key/value and Plaintext - which one do I have to use ? suppose it is Plaintext, then what is the syntax of the update ? the example of the documentation is not also clear: { "AI21_API_KEY": "xxxxx", "OPENAI_API_KEY": "sk-xxxxxxxxxxxxxxx", "COHERE_API_KEY": "xxxxx", } In my case I only need OPENAI - shall I delete the other two ? Shall I delete the ',' in the end of the line ? What is the value of 'sk-xxxxxxxxxxxxxxx' and where can I get it from ?
Also documentation says: 'N.B: In case of no keys needs, the secret value must be an empty JSON {}, NOT an empty string ''.' So currently I don't use any keys, but there's no empty JSON in my secret(s) - perhaps the installation did not add empty JSON.
One more thing - is it possible to add to the magic installer the option to choose third party model(s) ?
I was able to find my Secret SharedApiKeysSecretXXXXXXXX-YYYYYYYYYYYY It has empty secret value (i.e. nothing in the field of 'Secret value') So I have added the following:
{ "OPENAI_API_KEY": "sk-ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ" }
After that I tried to create the workspace.
So far the results are like that:
- I press the button 'Create Workspace'
- the screen hangs
- nothing happens, no 'in progress' indicators
- if you open another window with list of existing Workspaces, there's no such thing as 'Creating Workspace'
This issue is stale because it has been open for 60 days with no activity.