Skip to content

v2.2.19 - LLM-Driven Suggested Questions

Choose a tag to compare

@Robbie1977 Robbie1977 released this 06 Mar 09:22
· 13 commits to main since this release

This release improves suggested follow-up questions by having the LLM natively include them as clickable query URLs in its markdown responses.

Changes:

  • System prompt instructs gpt-5-nano to suggest follow-up questions as markdown links with https://chat.virtualflybrain.org?query= URLs
  • Client-side renderLink function detects these special query URLs and handles clicks by submitting the question as a new chat message
  • Eliminates false positive detection of regular content as suggested questions (fragile pattern matching removed)
  • LLM has full control over suggestion placement (inline, bullets, sentences) and can omit suggestions when not appropriate
  • More reliable than client-side extraction since LLM explicitly marks suggestions with URLs

This approach is more robust than pattern-matching extraction and gives the LLM full flexibility in how to present suggestions.