(no title)
TheLegace | 2 years ago
Say for example I want a step-by-step instruction for an action.
But the response will have 1. 2. 3. and sometimes if there are multiple pathways there will long answer with 2.a,b,c,d. This is not ideal I would rather have the most simple case(2.a.) and a short summary for other options. I have described it in the prompt but still cannot get nice clean response without to many variations of the same step.
dongecko|2 years ago
> Sure my friend, here is your requested json:
> ```
> {
> name: "Daniel",
> age: 47
> }
> ```
Unfortunately, the introductory sentence breaks directly parsing the answer, which means extra coding steps, or tweaking your prompt.
int_19h|2 years ago
There are a bunch of libraries for this already, e.g.: https://github.com/outlines-dev/outlines
PeterisP|2 years ago