mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Update 90.md
updated based on Pablo's feedback.
This commit is contained in:
parent
9f4a4cf9d2
commit
c2020929fb
12
90.md
12
90.md
|
@ -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", "temperature", "0.5" ],
|
||||||
[ "param", "top-k", "50" ],
|
[ "param", "top-k", "50" ],
|
||||||
[ "param", "top-p", "0.7" ],
|
[ "param", "top-p", "0.7" ],
|
||||||
[ "param", "frequency_penalty", "1" ],
|
[ "param", "frequency_penalty", "1" ]
|
||||||
[ "param", "output", "encrypted"]
|
|
||||||
]
|
]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -90,8 +90,8 @@ This param data will be encrypted and added to the `content` field and `p` tag s
|
||||||
```
|
```
|
||||||
"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...",
|
"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...",
|
||||||
"tags": [
|
"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.
|
* `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.
|
* `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
|
## Job feedback
|
||||||
Service providers can give feedback about a job back to the customer.
|
Service providers can give feedback about a job back to the customer.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user