Skip to content

3.10.1 — clean Ask the Guide answers

Choose a tag to compare

@cliftonc cliftonc released this 10 Nov 11:36
· 34 commits to main since this release
3.10.1
5237d49

guide

Ask the Guide no longer shows raw footnote marks such as [^2] or an empty bullet at the end of an answer, and finds the citations block however the model formats its header.

  • cleanGuideAnswer and splitGuideAnswer in @rocketflare/shared/plugins/guide decide what of a model's answer a reader sees. The server's splitGuideCitations and the UI's stripCitationsBlock both use them, so a streaming answer and the finished one end in the same place.
  • The CITATIONS: header is found when a model writes it as a list item, a heading, a quote, bold or code (- CITATIONS:, **CITATIONS:**, ### Citations:). Before, those left an orphaned - or ** behind as an empty bullet, and a bold header was not parsed at all, so the block showed as text and the answer had no citations. A citation line written as a list item now parses too.
  • Footnote references ([^1]) and footnote definition lines are removed from the answer.
  • The default guide-chat prompt now asks for the block as plain lines and for no footnote markers. An organisation that overrode the prompt keeps its own text.
  • The 3.10.0 porting notes for guide and global-search were missing from the 3.10.0 release commit. They are added here unchanged.

Porting note

Every other plugin is unchanged apart from the version stamp. The 3.10.0 porting notes for guide and global-search, missing from the 3.10.0 release commit, are now in the repository.

Full changelog: 3.10.0...3.10.1