Repository navigation
feat: add assistant router - #67
Merged
Merged
Conversation
…what it doesn't do The assistant no longer understands and answers in one call. A router, on the fast model of the AI's provider (claude-haiku-5-5, gpt-5-mini), names which of the assistant's tasks a request is: question, summary, quiz, flashcards or small talk, or "other". The tasks are set in code, so a request that is none of them, or a task the model names that isn't one, is declined, however it is worded. The router also makes a follow-up stand alone, so the material is searched for what the student means; a reply it gives that can't be used is taken as a question. Questions go to the question agent (study-assistant v2, answering only), which searches for the request as it stands alone. Summaries, quizzes and flashcards are made without searching the material. See features/assistant_routing.feature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l talk that states no facts - Reading a material, the assistant doesn't make its flashcards: the router can name a request the app does elsewhere, and the assistant says to use the Flashcards button. On a topic or a collection of papers, which have no such button, it still makes them. - Small talk is a greeting, thanks, or a question about the assistant or the conversation; any other question that isn't about the material, e.g. the date, is declined. - An answer no longer shows the references of its passages, e.g. (P1): the sections it cites are shown below it. - The question agent has a prompt of its own, question-agent v1; study-assistant, which understood and answered in one call, is no longer used. The community edition's prompts are their v1s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
No description provided.