upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarbuilder <101296187+starbackr-dev@users.noreply.github.com>2023-11-06 10:56:24 -0500
committerGitHub <noreply@github.com>2023-11-06 10:56:24 -0500
commitc2020929fbbcd667caa8ac67b706844512d19d7c (patch)
treed55856aabfd71a1f50c08735b142b1cba5917eef
parent9f4a4cf9d2f0a626fc2a341cff6d7f66d73c12e4 (diff)
Update 90.md
updated based on Pablo's feedback.
-rw-r--r--90.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/90.md b/90.md
index a55d491..0ac4b98 100644
--- a/90.md
+++ b/90.md
@@ -79,8 +79,8 @@ If the user wants to keep the input parameters a secret, they can encrypt the `i
79 [ "param", "temperature", "0.5" ], 79 [ "param", "temperature", "0.5" ],
80 [ "param", "top-k", "50" ], 80 [ "param", "top-k", "50" ],
81 [ "param", "top-p", "0.7" ], 81 [ "param", "top-p", "0.7" ],
82 [ "param", "frequency_penalty", "1" ], 82 [ "param", "frequency_penalty", "1" ]
83 [ "param", "output", "encrypted"] 83
84] 84]
85 85
86``` 86```
@@ -90,8 +90,8 @@ This param data will be encrypted and added to the `content` field and `p` tag s
90``` 90```
91"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...", 91"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...",
92 "tags": [ 92 "tags": [
93 [`p`, `04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f`] 93 [`p`, `04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f`],
94 94 [ `param`, `encrypted`, true]
95 ] 95 ]
96 96
97 97
@@ -121,6 +121,10 @@ Service providers publish job results, providing the output of the job result. T
121* `amount`: millisats that the Service Provider is requesting to be paid. An optional third value can be a bolt11 invoice. 121* `amount`: millisats that the Service Provider is requesting to be paid. An optional third value can be a bolt11 invoice.
122* `i`: The original input(s) specified in the request. 122* `i`: The original input(s) specified in the request.
123 123
124## Encrypted Output
125
126If 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.
127
124## Job feedback 128## Job feedback
125Service providers can give feedback about a job back to the customer. 129Service providers can give feedback about a job back to the customer.
126 130