4 ms·
What's your prompt? I've been doing something similar but I've found it difficult to get chatgpt to output a consistent data format.
by gregw134 3y ago
What's your prompt? I've been doing something similar but I've found it difficult to get chatgpt to output a consistent data format.
- msikora 3y agoAlways give good examples in the prompt, preferably a few (2-4). Still not 100% reliable though, especially with models below GPT-4.
- drcode 3y agoI use the chatgpt35-turbo "system" field for instructions, then put the event info into the "user" field --- PROMPT --- You are given a meetup event description. For each of the following attributes, return the percent likelihood that the event involves has that attribute, in CSV format: Attributes: - Technology - Pets - Exercise Example: Technology,0.3 Pets,0.1 Exercise,1.0
- drcode 3y ago(The example values should be in percentages, can't edit anymore)
- taylorfinley 3y agoAsk it to return only valid JSON and show it an example, best GPT trick I know. I use this for my cocktail recipe generator https://yourdink.is https://yourdink.is
- taylorfinley 3y agoNow that's an embarrassing typo. I meant https://yourdrink.is https://yourdrink.is