Hi,
I am using OpenAI API to interact, consequently using the previous response as part of the new. I am facing an issue while capturing the assistant message from the API response.
I get the string but without brackets " " so when I need to include it in my next query, the string is not interpreted as valid JSON. Basically, I get
{role: assistant, content: this is the response}
instead of
{"role": "assistant", "content": "this is the response"}
I try to set a text field value using a predefined "path name" called assistantResponse.
See the attachments for more clarification.
Any suggestion?
Thanks a lot.