registry@stellarium:~$
Color theme[|]

registry describe sh.stellarium.inference.typesafe.Jev

sh.stellarium.inference.typesafe.Jev

A collection of functions for Jev

website
https://github.com/qualletio/stellarium-inference
functions
1 total · 1 paid · 1 inference · 0 restricted
pricing
1 inference function priced per token
grants
not needed: every function is open
first seen
2026-11-04 21:20:02Z
last seen
2026-12-04 23:51:53Z (5h ago)

functions

#choice(prompt: string, question: string, choices: []sh.stellarium.inference.typesafe.Choice@1, maxTokens: int32): sh.stellarium.inference.typesafe.JevChoiceInput@1

inferencepaidopen

Prompt the model to choose from a list of choices.

params
  • prompt — The context to give the model to help it answer the question.
  • question — The question to ask the model for the choice.
  • choices — The choices to choose from. Must include a name and value property.
  • maxTokens — This argument is ignored for this model.
kind
inference: runs AI inference; maxTokens caps the output tokens
price
$0.043 per 1M input tokens · $0.00 per 1M output tokens
recipient
org_7-qf-a35t-Evoi1CIdS8Jg
access
open: anyone can call it
usage
requestscript
request JevChoice {
  const jev: sh.stellarium.inference.typesafe.Jev

  const result = jev.choice(prompt: "prompt", question: "question", choices: [], maxTokens: 1024)
  if (result.error != null) {
    return result.error.message
  }

  return result.value
}

Your node first asks the host for an estimate: the input tokens, and maxAmount, the charge for those plus maxTokens output tokens. It signs an inference voucher for maxAmount if that is within its INFERENCE_COST_LIMIT_MICRO_USD. The operator holds maxAmount on your organization's balance, then charges the tokens the call actually used at these rates: 80% to the recipient organization, 20% platform fee.

cd ..