aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

Cannot create Workspace with text-embedding-ada-002 model

Open alexeyshishkin01 opened this issue 2 years ago • 5 comments

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 ?

alexeyshishkin01 avatar Nov 06 '23 16:11 alexeyshishkin01

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

bigadsoleiman avatar Nov 07 '23 11:11 bigadsoleiman

thanks, let me check with the setup

alexeyshishkin01 avatar Nov 07 '23 14:11 alexeyshishkin01

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) ?

alexeyshishkin01 avatar Nov 07 '23 18:11 alexeyshishkin01

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'

alexeyshishkin01 avatar Nov 08 '23 12:11 alexeyshishkin01

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jan 26 '24 01:01 github-actions[bot]