Write the text you want Laya to read. Add a question and tell it what kind of answer you need. Then use your LLMRegistry API key to get a real result.
Your results
POST /v1/systemone
Prepare your text and questions, then run your query.
→
Your answers will appear here
Laya will give one result for each question. You can also see the exact information you send and the JSON it returns below.
Laya can make mistakes, even when its confidence is high. Check the result before taking an important action.
Your query, as an API call
The payload updates as you build your use case. Your API key is never included here.
What you sendYour text + your questions
Preparing your payload…
What you get backLive result from your last query
Run your query to see the result.
Copy your full API call
Replace YOUR_LLMREGISTRY_API_KEY with your key, then run this command in a terminal.
See it in action
10 ways to use Laya
Choose an example. Follow the message, question, and result.
Example 01
Sort a support message
Pick one
A help desk can send each message to the right team.
You can edit this text, then use your API key to run it.
2. The question
Which team should handle this message?
3. Laya’s result
Loading saved result…
Loading…
Laya can make mistakes, even when its confidence is high. Check the result before taking an important action.
Loading the recorded examples…
Under the hood
The same example, as an API call
POST /v1/systemone
An API lets one app ask another app for help. The payload is the information you send. JSON is a way to label that information so the app can read it.
What you sendMessage + question + possible answers
Loading payload…
What you get backSaved result from our CPU service
Loading result…
See the full API call you can copy
Replace YOUR_LLMREGISTRY_API_KEY with your key. Run this command in a terminal to send the payload.
How to read the result
A / B
Pick one
choice is the answer Laya picked. probabilities shows how much it favored each answer. A value of 0.8 means 80% of the answer weight.
Y / N
Yes or no
noul is Laya’s estimate for “yes.” Near 1 means it favors yes. Near 0 means it favors no. Near 0.5 means it is unsure.
0 → 2
Give a score
The levels start at 0. With unhappy, neutral, and happy, the scores are 0, 1, and 2. The result is a weighted average, so Laya can give a score such as 1.7.
What to know about the free preview
You can ask up to 4 questions in a request, with up to 10 choices per question. Laya reads text and returns decisions. It reads up to 1,024 tokens per question; a token is a small piece of text. Longer text may be cut short. Each question counts the message again in usage.input_tokens. These decisions use 0 output tokens.
Saved examples are labeled. A live call uses your API key and the message you entered. If the service is busy, wait a little and try again.