aws-genai-llm-chatbot
aws-genai-llm-chatbot copied to clipboard
OpenAI basic prompts are not returning a response
Description
When sending a basic prompt to OpenAI in the playground, the status wheel keeps spinning and no response is returned.
Steps to reproduce
- Deploy the solution
- Set the OpenAI key in secrets manager
- Validate that the available models are loading
- Send a basic prompt in the playground chat view
Addition details
There is no activity on the OpenAI end, as no API key usage is detected.
Looking at the traces in CloudWatch, there is no error in the flow, so it seems the prompt is not passed over to OpenAI:
Still trying to make the OpenAI intégration work, using the OpenAI dev key but it is failing. Any idea where I should look into?
There is a JSON parsing error when messages are read from SQS. Looking now if the format of the message is in cause and if a breaking change was introduced by a dependency