Skip to content

Algernon 1.17.0

Compare
Choose a tag to compare
@xyproto xyproto released this 26 Jun 15:25
· 93 commits to main since this release
  • Add three new Ollama-related functions: base64EncodeFile (base64-encode a given file), describeImage (use Ollama and ie. the llava-llama3 model to describe a base64-encoded image) and embeddedDistance (given two embeddings, try to find how similar they are).
  • Serve HTTP with fasthttp (ref #4, thanks for the feature request @iMaxopoly)
  • Add a sanhtml function for sanitizing HTML.
  • Add experimental support for mathematical formulas in Markdown using MathJax (ref #150, thanks for the feature request @xjl456852).
  • Add an example for uploading and describing images with Ollama and the llava-llama3 model.
  • Add an example that renders mathematical formulas.
  • Fix an issue with inserting JS into HTML.
  • Improve the "pretty error page" that appears if there is an error in a Lua script.
  • Make it possible to ignore files in a directory listing (ref #149, thanks for the feature request @alpharde).
  • Improve how favicons are handled.
  • Add a base64 method to UploadedFile objects.
  • Try avoiding runtime.GOOS and detect most features at compile time instead.
  • Use two atomic.Bool variables instead of a mutex for keeping track of how traffic is being served.
  • Use github.com/pkg/browser for opening URLs in a browser.
  • Import logrus as "logrus" instead of as "log".
  • Use strconv.FormatInt instead of fmt.Sprintf whenever possible.
  • Update the Teal example.
  • Follow the advice of golint.
  • Let some variables be constants instead.
  • Remove GOEXPERIMENT=loopvar since it is no longer needed.
  • Compile the release binaries with Go 1.22.4.
  • Update documentation.
  • Update dependencies.