Your first AnswerSet
Configure an AI fallback, verify reusable Knowledge, test the result, and review improvements.
An AnswerSet answers questions in one predictable sequence: check approved Knowledge, use AI only when necessary, measure quality when ground truth is available, and review improvements.
1. Create
Open Answers and select New AnswerSet. Guided setup opens immediately.
- Choose an active provider connection and one of its available models.
- Describe the purpose in plain language. Keep the scope narrow.
- Choose how many initial Knowledge items to generate.
- Add reference material if you have approved policies or FAQs.
- Select Build AnswerSet.
Example purpose:
Answer employee questions about suspicious email using approved security
procedures. If company policy does not support the answer, tell the employee
to contact Security Operations. Do not invent internal policy or facts.
Generated Knowledge is a draft until you review and publish it. When the AnswerSet is created, the console opens Knowledge. Review each generated question and answer against trusted source material, then choose Review & publish. Unreviewed generated examples are excluded from deterministic reuse and scoring ground truth.
If you have an existing bundle, select Import existing. For full control of fields and output rules, select Set up manually.
2. Understand the five tabs
| Tab | What you do |
|---|---|
| Overview | See the four-step answering lifecycle and the most useful next action |
| Test | Ask a representative question and inspect its answer, source, score, provider calls, and routing decision |
| Knowledge | Add, edit, label, generate, and remove reusable question-and-answer examples |
| Learning | Approve or reject proposed new Knowledge or configuration improvements |
| Results | Review Knowledge reuse, provider activity, quality evidence, latency, errors, and runs |
You can open Advanced settings to access configuration and scoring, automatic learning and revision history. The advanced screens are optional for a basic AnswerSet.
3. Verify Knowledge reuse
In Knowledge, add an approved question and answer with a descriptive label, or review and publish the initial generated drafts.
Go to Test and ask that question exactly. Inspect the answer source. For a reliable approved Knowledge match, LakeShark should return the stored answer without calling the AI provider.
Then ask a different question that your Knowledge does not cover. LakeShark can use the configured provider to generate an answer. It can evaluate quality when sufficiently reliable approved ground truth is available. If not, Not evaluated is not the same as a passing score.
Test ambiguous and out-of-scope questions before integrating a real application.
4. Review improvements
Open Learning to inspect pending proposals. Approving a proposal is a decision to change the AnswerSet. Do not treat the model’s confidence as proof of correctness.
To tune instructions or the minimum quality threshold, open Advanced settings → Configuration & scoring. Manage incoming-question GovernanceSet assignments through the assignment API; adding a GovernanceSet node in the Flow graph does not update those runtime assignments.
5. Connect an application
In Test, find Question API and create a Question Key. Copy the full key when it is shown. Use the key from your application:
curl --fail-with-body \
'https://lakeshark.dev/api/answers/v1/questions' \
-H "Authorization: Bearer $LAKESHARK_QUESTION_KEY" \
-H 'Content-Type: application/json' \
-d '{"question":"How do I report a suspicious email?"}'
Keep Question Keys out of source control. The key is bound to its AnswerSet and workspace. You do not choose a different tenant through the question payload.
After sending test requests, open Results to verify the observed reuse rate and provider calls rather than assuming savings. For broader reporting, open Value created.