From fb1f620f727b8fd1cde6fa8d9f5fcd434b8b09ee Mon Sep 17 00:00:00 2001 From: Vignesh Rao Date: Sun, 2 Jun 2024 23:58:03 -0500 Subject: [PATCH] Allow custom `Modelfile` for llama integration Use `Jinja2` to create default `Modelfile` Add a feature flag to disable ollama Move all docs to wiki page --- .gitignore | 3 +- docs/genindex.html | 16 +++++++--- docs/index.html | 41 +++++++++++++++++++++--- docs/objects.inv | Bin 8505 -> 8524 bytes docs/searchindex.js | 2 +- jarvis/executors/static_responses.py | 2 -- jarvis/modules/models/classes.py | 7 ++++ jarvis/modules/templates/templates.py | 13 ++++++++ jarvis/modules/transformer/Modelfile | 15 --------- jarvis/modules/transformer/gpt.md | 27 ---------------- jarvis/modules/transformer/gpt.py | 44 ++++++++++++++++++++------ 11 files changed, 106 insertions(+), 64 deletions(-) delete mode 100644 jarvis/modules/transformer/Modelfile delete mode 100644 jarvis/modules/transformer/gpt.md diff --git a/.gitignore b/.gitignore index a05bcba8..de96ece5 100644 --- a/.gitignore +++ b/.gitignore @@ -46,8 +46,7 @@ ffmpeg # future work hidden -temp* -speech_recognition_values.yaml +temp*.* # pypi package files dist diff --git a/docs/genindex.html b/docs/genindex.html index 43b03eb3..86b490db 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -2018,15 +2018,19 @@

L

  • listen() (in module jarvis.modules.audio.listener)
  • - - +