1. 23 Sep, 2023 1 commit
  2. 22 Sep, 2023 1 commit
  3. 21 Sep, 2023 4 commits
  4. 20 Sep, 2023 2 commits
  5. 19 Sep, 2023 3 commits
  6. 18 Sep, 2023 2 commits
  7. 15 Sep, 2023 3 commits
  8. 14 Sep, 2023 1 commit
  9. 13 Sep, 2023 1 commit
  10. 12 Sep, 2023 3 commits
  11. 11 Sep, 2023 2 commits
  12. 09 Sep, 2023 1 commit
  13. 08 Sep, 2023 1 commit
  14. 07 Sep, 2023 3 commits
  15. 06 Sep, 2023 3 commits
  16. 05 Sep, 2023 2 commits
    • Michael Yang's avatar
      fix parameter inheritence · 06ef90c0
      Michael Yang authored
      parameters are not inherited because they are processed differently from
      other layer. fix this by explicitly merging the inherited params into
      the new params. parameter values defined in the new modelfile will
      override those defined in the inherited modelfile. array lists are
      replaced instead of appended
      06ef90c0
    • Michael Yang's avatar
      use slices.DeleteFunc · e9f6df7d
      Michael Yang authored
      e9f6df7d
  17. 03 Sep, 2023 1 commit
  18. 01 Sep, 2023 1 commit
    • Quinn Slack's avatar
      do not HTML-escape prompt · 62d29b21
      Quinn Slack authored
      The `html/template` package automatically HTML-escapes interpolated strings in templates. This behavior is undesirable because it causes prompts like `<h1>hello` to be escaped to `&lt;h1&gt;hello` before being passed to the LLM.
      
      The included test case passes, but before the code change, it failed:
      
      ```
      --- FAIL: TestModelPrompt
          images_test.go:21: got "a&lt;h1&gt;b", want "a<h1>b"
      ```
      62d29b21
  19. 31 Aug, 2023 4 commits
  20. 30 Aug, 2023 1 commit
    • Bruce MacDonald's avatar
      subprocess llama.cpp server (#401) · 42998d79
      Bruce MacDonald authored
      * remove c code
      * pack llama.cpp
      * use request context for llama_cpp
      * let llama_cpp decide the number of threads to use
      * stop llama runner when app stops
      * remove sample count and duration metrics
      * use go generate to get libraries
      * tmp dir for running llm
      42998d79