From ff763167484aeb2feea9835d1290d5565b3567a1 Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Fri, 15 Mar 2024 21:40:59 +0000 Subject: [PATCH] Update 'index.js' --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 5db1a7c..de5f83e 100644 --- a/index.js +++ b/index.js @@ -82,6 +82,11 @@ async function main() { } async function aThousand() { + const instance = new Ollama({ + model: "codellama", + url: "http://127.0.0.1:11434/api/", + }); + let potentialAnswersQuestion = `Which answer is best suited for ${problem}? If there are two or more answers that are about as equal, but one has lower quality code, choose the one with higher quality code. Pick ONLY ONE ANSWER. MUST BE PROGRAMMED IN THE LANGUAGE ${getLangID}!