Clay Icon

Claygent Bug: Incorrect Response Formatting Affecting Output Quality

ยท
ยท

Claygent Bug: I keep getting {"response":"(prompt response)","data_link":" In the response column for my prompts? as mentioned above it affects about 5 to 10 % of my output. I can definitely say that it is a new occurrence since the table is a template I have been using it for months without this issue. If i was to assume what could be wrong the integration seems to mistake that the output needs to be labeled in properties of "response" and "link" when in actuality that has already happened and its putting that in the "response" property. Here is a loom Here is the table

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    This issue is likely occurring because the "Return as JSON Object" setting is enabled in your AI integration setup. When this option is turned on, the output is automatically formatted as a JSON object with specific properties.To resolve this, you can either:1. Disable the "Return as JSON Object" setting in your integration configuration 2. Adjust your prompt to better specify the desired output structure 3. Define specific column outputs to map the response data correctlyIf you need the response in a specific format, make sure to clearly define your column outputs with the appropriate data types (Text, URL, Number, etc.) to ensure proper data mapping. Sources: ChatGPT: Generate text with OpenAI/GPT Use AI - Clay University

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    This thread was picked up by our in-app web widget and will no longer sync to Slack. If you are the original poster, you can continue this conversation by logging into https://app.clay.com and clicking "Support" in the sidebar. If you're not the original poster and require help from support, please post in 02 Support.

  • Avatar of Balsa K.
    Balsa K.
    ยท
    ยท

    also could it be that since the json schema has been added to claygent that it affected the integration?

  • Avatar of AJ C.
    AJ C.
    ยท
    ยท

    This has been happening to me too, and I am not using Return as JSON. I see other people posting about it too so it seems recurring