jevinjiang commented on issue #4047: URL: https://github.com/apache/eventmesh/issues/4047#issuecomment-2014506287
I want to try . The user inputs text, and I use GPT to generate a fixed format JSON and return it to me. This is the prompt I designed for this issue : ``` For the following text, extract the following information: subject: What is the subject matter of the text? If this information is not found, output none. datacontenttype: What type of data or information is contained in the text? If this information is not found, output none. data: Extract all relevant data or information from the text.If this information is not found, output none. Format the output as JSON with the following keys: subject datacontenttype data text: the subject is eventmeshSubject , the datacontenttype is json , data is eventmesh The output should be a markdown code snippet formatted in the following schema, including the leading and trailing "```json" and "```": ```json { "subject": string, "datacontenttype": string, "data": string, } ``` ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@eventmesh.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@eventmesh.apache.org For additional commands, e-mail: issues-h...@eventmesh.apache.org