From ab86f02bd729afff7ec79ffdcb343b8f78c5c3b9 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 27 Oct 2024 17:12:28 -0700 Subject: [PATCH] Update llm.py --- modules/llm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/llm.py b/modules/llm.py index fe31427..c2f89c1 100644 --- a/modules/llm.py +++ b/modules/llm.py @@ -21,8 +21,7 @@ if ragDEV: import chromadb # pip install chromadb # LLM System Variables -OllamaClient(host=ollamaHostName) -ollamaClient = OllamaClient() +ollamaClient = OllamaClient(host=ollamaHostName) llmEnableHistory = True # enable last message history for the LLM model llmContext_fromGoogle = True # enable context from google search results adds to compute time but really helps with responses accuracy googleSearchResults = 3 # number of google search results to include in the context more results = more compute time