From 1312bfa52e665facd75e77ac76f9e460f0e525fa Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 15 Oct 2024 17:13:17 +0100 Subject: [PATCH] Use prompt templates by default, fix prompt template invocation --- templates/components.jsonnet | 2 ++ templates/components/ollama.jsonnet | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/components.jsonnet b/templates/components.jsonnet index b52e305b..7508740c 100644 --- a/templates/components.jsonnet +++ b/templates/components.jsonnet @@ -20,6 +20,8 @@ "prompt-template-kq-query": import "components/null.jsonnet", "prompt-template-relationships": import "components/null.jsonnet", "prompt-template-rows-template": import "components/null.jsonnet", + "prompt-generic": import "components/prompt-generic.jsonnet", + "prompt-template": import "components/prompt-template.jsonnet", "pulsar": import "components/pulsar.jsonnet", "pulsar-manager": import "components/pulsar-manager.jsonnet", "trustgraph-base": import "components/trustgraph.jsonnet", diff --git a/templates/components/ollama.jsonnet b/templates/components/ollama.jsonnet index 3e6cc91e..2ae696b4 100644 --- a/templates/components/ollama.jsonnet +++ b/templates/components/ollama.jsonnet @@ -1,7 +1,7 @@ local base = import "base/base.jsonnet"; local images = import "values/images.jsonnet"; local url = import "values/url.jsonnet"; -local prompts = import "prompts/slm.jsonnet"; +local prompts = import "prompts/mixtral.jsonnet"; {