Update 90.md

updated based on Pablo's feedback.
This commit is contained in:
starbuilder 2023-11-06 10:56:24 -05:00 committed by GitHub
parent 9f4a4cf9d2
commit c2020929fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
90.md
View File

@ -79,8 +79,8 @@ If the user wants to keep the input parameters a secret, they can encrypt the `i
[ "param", "temperature", "0.5" ],
[ "param", "top-k", "50" ],
[ "param", "top-p", "0.7" ],
[ "param", "frequency_penalty", "1" ],
[ "param", "output", "encrypted"]
[ "param", "frequency_penalty", "1" ]
]
```
@ -90,8 +90,8 @@ This param data will be encrypted and added to the `content` field and `p` tag s
```
"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...",
"tags": [
[`p`, `04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f`]
[`p`, `04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f`],
[ `param`, `encrypted`, true]
]
@ -121,6 +121,10 @@ Service providers publish job results, providing the output of the job result. T
* `amount`: millisats that the Service Provider is requesting to be paid. An optional third value can be a bolt11 invoice.
* `i`: The original input(s) specified in the request.
## Encrypted Output
If the request has encrypted params, then output should be encrypted and placed in `content` field with `p` tag. If the output is encrypted, then avoid including `i` tag with input-data as clear text.
## Job feedback
Service providers can give feedback about a job back to the customer.