dify icon indicating copy to clipboard operation
dify copied to clipboard

How do I use LLM to obtain standard JSON data?

Open zswll2 opened this issue 1 year ago • 0 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

"text": "json\n{\n \"testl4\": {\n \"ID\": \"双面胶带\",\n \"A\": \"3M9448A\",\n \"B\": \"0.14mm厚\"\n }\n}\n",

The above is my request for llm to provide me with 3 keywords in the form of JSON data. However, what can be done to remove these symbols and obtain a standard JSON data?

2. Describe the feature you'd like to see

Standard JSON format

3. How will this feature improve your workflow or experience?

This will greatly improve my work efficiency, allowing me to easily use HTTP requests to write data into the database, optimizing and simplifying many workflow processes.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • [X] I am interested in contributing to this feature.

zswll2 avatar May 11 '24 10:05 zswll2