Unable to connect Text Input resource with Text Area resource

  • Goal: Create a text completion system using a LLM. Have a text input field, submit button, and response text output field. Enter prompt - hit submit - response is generated.

  • Details: My backend is working, the code is provided by my lecturer and must not be altered.
    -Error message for text area resource (output field): "ReferenceError: ChatQuery is not defined
    String
    "" "
    However, the names match up. First-time Retool user, thanks for your help!

  • Screenshots:

Hi there,

Welcome to Retool.

Rather than ChatQuery, you need to reference the code block name.

In your case, query1

So your reference in your text area would be query1.data.ack

1 Like