You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.