Commit 3970edf
Update email filter example to use OpenAI Responses API
Switch from Chat Completions to the Responses API, update model to
gpt-5.4-nano, replace messages array with instructions and input
parameters, and update max_tokens to max_output_tokens.
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>1 parent 07f3b1e commit 3970edf
1 file changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
495 | 493 | | |
496 | | - | |
| 494 | + | |
497 | 495 | | |
498 | | - | |
| 496 | + | |
499 | 497 | | |
500 | 498 | | |
501 | 499 | | |
| |||
0 commit comments