Skip to content

Commit d147697

Browse files
committed
Added openai payload instructions
1 parent 337f96e commit d147697

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/examples/open-ai-with-retrying.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,14 @@ export const openaiTask = task({
4343
return chatCompletion.choices[0].message.content;
4444
},
4545
});
46+
```
4647

47-
```
48+
## Testing
49+
50+
You can test this task by running it with the following payload:
51+
52+
```json
53+
{
54+
"prompt": "What is the meaning of life?"
55+
}
56+
```

0 commit comments

Comments
 (0)