Mitt arbete är för att man ska skriva in en film titel och man får en overview av den filmen Men det finns små fel som kom nu i slutet och jag har inte hunit fixa det änu :(
This commit is contained in:
@@ -11,6 +11,7 @@ dependencies {
|
||||
implementation project(":GeniusAPI")
|
||||
implementation project(":API")
|
||||
implementation project(":WikipediaTool")
|
||||
implementation project(":MovieSugest")
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package me.zacharias.chat.display;
|
||||
|
||||
import me.zacharias.chat.api.APIApplication;
|
||||
//import me.zacharias.chat.api.APIApplication;
|
||||
import me.noah.movie.sugest.MovieSugestTool;
|
||||
import me.zacharias.chat.core.Core;
|
||||
import me.zacharias.chat.core.Pair;
|
||||
import me.zacharias.chat.core.PrintMessageHandler;
|
||||
@@ -47,10 +48,10 @@ public class Display {
|
||||
public Display()
|
||||
{
|
||||
|
||||
core.setOllamaObject/*NoMemory*/(OllamaObject.builder()
|
||||
//.setModel("llama3.2")
|
||||
core.setOllamaObjectNoMemory(OllamaObject.builder()
|
||||
.setModel("llama3.2")
|
||||
//.setModel("gemma3:12b")
|
||||
.setModel("qwen3:8b")
|
||||
// .setModel("qwen3:8b")
|
||||
.keep_alive(10)
|
||||
//.stream(false)
|
||||
//.addFileTools(FileHandlerLocation.DATA_FILES)
|
||||
@@ -62,11 +63,12 @@ public class Display {
|
||||
core.addTool(new TimeTool(), Core.Source.INTERNAL);
|
||||
// TODO: Well Docker failes when luanched.... Fuck
|
||||
// core.addTool(new PythonRunner(core), Core.Source.INTERNAL);
|
||||
core.addTools(new MALAPITool().getOllamaTools());
|
||||
core.addTools(new GeniusTools().getGeniusTools());
|
||||
// core.addTools(new MALAPITool().getOllamaTools());
|
||||
// core.addTools(new GeniusTools().getGeniusTools());
|
||||
core.addTools(new WikipediaTool().getWikipediaToolsInstance());
|
||||
core.addTools(new MovieSugestTool().getMovieSugestTools());
|
||||
|
||||
APIApplication.start();
|
||||
// APIApplication.start();
|
||||
|
||||
//core.getOllamaObject().addMessage(new OllamaMessage(OllamaMessageRole.SYSTEM, "Have a nice tone and use formal wording"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user