aboutsummaryrefslogtreecommitdiff
path: root/bot/src/utils/ollama.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/utils/ollama.js')
-rw-r--r--bot/src/utils/ollama.js3
1 files changed, 3 insertions, 0 deletions
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}` });