Repository navigation
0.3.0: decide(), a decision model's answers (Experts 1.2) - #3
Merged
Merged
Conversation
ExpertsClient.decide() and AsyncExpertsClient.decide() post /api/v1/llm/decide and read each question's answer by name: a choice's pick and its own probability (apart from the model's confidence, which measures spread), a noul's yes, a score with its legend. The spec is the platform's, regenerated for 1.2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ExpertsClient.decide()andAsyncExpertsClient.decide():POST /api/v1/llm/decide, from agentic-1.2 §13ag (choice 7).DecisionAnswercarries the choice,probability,probabilities,confidence,noul,scoreandlegend.Decisioncarries the model, the backend and the tokens.probabilityis the pick's own probability. It is kept apart from Ollama'sconfidence, which measures how spread the answer is. The docs say to set thresholds onprobability; M9b's eval showedconfidencemisses.spec/openapi.jsonis the platform's, regenerated for 1.2 (experts-knowledge PR).Checks: 106 pass (decide, and sync/async parity of signature, request and answer); ruff, mypy and ruff-format are clean on the touched sources. Live: through dev's gateway,
salesat 0.67 in 233 ms (tev1:0.8b), with a session token.Publishing is the
v0.3.0tag, after merge.