gksec
12/19/2024, 5:08 PMian
12/23/2024, 10:56 PMyaml
providers:
- id: https
config:
url: 'https://example.com/generate'
method: 'POST'
headers:
'Content-Type': 'application/json'
'Authorization': 'Bearer abc123'
body:
myPrompt: '{{prompt}}'
transformResponse: 'json.output' # Extract the "output" field from the response