Comment

Comment by oezi

Very nice! I also was curious how well it works and put up an endpoint to curl against Laya using the same format as Cloudflare's Jev API:

  curl https://laya.inference.zaitlabs.com/ai/run \
    -H "Content-Type: application/json" \
    -d '{
      "state": "Help! My payouts have been failing for 3 days.",
      "questions": {
        "is_urgent": {"type": "noul", "instructions": "Does this convey urgency?"}
      }
    }'
  
  {"answers":{"is_urgent":{"type":"noul","noul":0.7894}}}
parent oezi 1 month ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton