From 11bb9ab6b30314d91209bc9888d95783cc247e98 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 3 Mar 2025 18:57:06 -0500 Subject: Added back "addquote"; ollama integration; Cleaned up bot.js --- bot/src/utils/ollama.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bot/src/utils/ollama.js (limited to 'bot/src/utils/ollama.js') diff --git a/bot/src/utils/ollama.js b/bot/src/utils/ollama.js new file mode 100644 index 0000000..af0b9f9 --- /dev/null +++ b/bot/src/utils/ollama.js @@ -0,0 +1,3 @@ +import { Ollama } from 'ollama'; + +export const ollama = new Ollama({ host: `${process.env.OLLAMA_URL}` }); -- cgit v1.2.3