From 69c76e90c81fab8a9a4a63dc2d63184aaa5e52a3 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Sat, 30 Nov 2024 20:13:21 +0000 Subject: [PATCH] Update templates to match queue rename --- templates/components/azure-openai.jsonnet | 2 +- templates/components/azure.jsonnet | 2 +- templates/components/bedrock.jsonnet | 2 +- templates/components/claude.jsonnet | 2 +- templates/components/cohere.jsonnet | 2 +- templates/components/document-rag.jsonnet | 2 +- templates/components/googleaistudio.jsonnet | 2 +- templates/components/graph-rag.jsonnet | 2 +- templates/components/llamafile.jsonnet | 2 +- templates/components/ollama.jsonnet | 2 +- templates/components/openai.jsonnet | 2 +- templates/components/prompt-template.jsonnet | 6 +++--- templates/components/trustgraph.jsonnet | 2 +- templates/components/vertexai.jsonnet | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/components/azure-openai.jsonnet b/templates/components/azure-openai.jsonnet index cc3847c0..8afcaf11 100644 --- a/templates/components/azure-openai.jsonnet +++ b/templates/components/azure-openai.jsonnet @@ -48,7 +48,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/azure.jsonnet b/templates/components/azure.jsonnet index 82b79133..cf10dc66 100644 --- a/templates/components/azure.jsonnet +++ b/templates/components/azure.jsonnet @@ -46,7 +46,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/bedrock.jsonnet b/templates/components/bedrock.jsonnet index 93978a59..6ccaa1c5 100644 --- a/templates/components/bedrock.jsonnet +++ b/templates/components/bedrock.jsonnet @@ -53,7 +53,7 @@ local chunker = import "chunker-recursive.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/claude.jsonnet b/templates/components/claude.jsonnet index c6c94e21..00e4ec79 100644 --- a/templates/components/claude.jsonnet +++ b/templates/components/claude.jsonnet @@ -45,7 +45,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/cohere.jsonnet b/templates/components/cohere.jsonnet index 11c30fbd..5bc9b39c 100644 --- a/templates/components/cohere.jsonnet +++ b/templates/components/cohere.jsonnet @@ -43,7 +43,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_limits("0.5", "128M") .with_reservations("0.1", "128M"); diff --git a/templates/components/document-rag.jsonnet b/templates/components/document-rag.jsonnet index ac5c11ec..0a68dd52 100644 --- a/templates/components/document-rag.jsonnet +++ b/templates/components/document-rag.jsonnet @@ -19,7 +19,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "--prompt-request-queue", "non-persistent://tg/request/prompt-rag", "--prompt-response-queue", - "non-persistent://tg/response/prompt-rag-response", + "non-persistent://tg/response/prompt-rag", ]) .with_limits("0.5", "128M") .with_reservations("0.1", "128M"); diff --git a/templates/components/googleaistudio.jsonnet b/templates/components/googleaistudio.jsonnet index b6ee1d85..4088ceef 100644 --- a/templates/components/googleaistudio.jsonnet +++ b/templates/components/googleaistudio.jsonnet @@ -50,7 +50,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/graph-rag.jsonnet b/templates/components/graph-rag.jsonnet index c0200d1e..860152c9 100644 --- a/templates/components/graph-rag.jsonnet +++ b/templates/components/graph-rag.jsonnet @@ -112,7 +112,7 @@ local url = import "values/url.jsonnet"; "--prompt-request-queue", "non-persistent://tg/request/prompt-rag", "--prompt-response-queue", - "non-persistent://tg/response/prompt-rag-response", + "non-persistent://tg/response/prompt-rag", "--entity-limit", std.toString($["graph-rag-entity-limit"]), "--triple-limit", diff --git a/templates/components/llamafile.jsonnet b/templates/components/llamafile.jsonnet index d51cda61..bc1a011c 100644 --- a/templates/components/llamafile.jsonnet +++ b/templates/components/llamafile.jsonnet @@ -40,7 +40,7 @@ local prompts = import "prompts/slm.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/ollama.jsonnet b/templates/components/ollama.jsonnet index 2ae696b4..8da00848 100644 --- a/templates/components/ollama.jsonnet +++ b/templates/components/ollama.jsonnet @@ -40,7 +40,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/openai.jsonnet b/templates/components/openai.jsonnet index 83cbd406..27725cb6 100644 --- a/templates/components/openai.jsonnet +++ b/templates/components/openai.jsonnet @@ -50,7 +50,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_env_var_secrets(envSecrets) .with_limits("0.5", "128M") diff --git a/templates/components/prompt-template.jsonnet b/templates/components/prompt-template.jsonnet index ac820df6..3dadf337 100644 --- a/templates/components/prompt-template.jsonnet +++ b/templates/components/prompt-template.jsonnet @@ -53,7 +53,7 @@ local default_prompts = import "prompts/default-prompts.jsonnet"; "--text-completion-request-queue", "non-persistent://tg/request/text-completion", "--text-completion-response-queue", - "non-persistent://tg/response/text-completion-response", + "non-persistent://tg/response/text-completion", "--system-prompt", $["prompts"]["system-template"], @@ -92,11 +92,11 @@ local default_prompts = import "prompts/default-prompts.jsonnet"; "-i", "non-persistent://tg/request/prompt-rag", "-o", - "non-persistent://tg/response/prompt-rag-response", + "non-persistent://tg/response/prompt-rag", "--text-completion-request-queue", "non-persistent://tg/request/text-completion-rag", "--text-completion-response-queue", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", "--system-prompt", $["prompts"]["system-template"], diff --git a/templates/components/trustgraph.jsonnet b/templates/components/trustgraph.jsonnet index 37c05dae..6c60921c 100644 --- a/templates/components/trustgraph.jsonnet +++ b/templates/components/trustgraph.jsonnet @@ -186,7 +186,7 @@ local prompt = import "prompt-template.jsonnet"; "-p", url.pulsar, "-i", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_limits("0.5", "128M") .with_reservations("0.1", "128M"); diff --git a/templates/components/vertexai.jsonnet b/templates/components/vertexai.jsonnet index 44fe27c6..ef193156 100644 --- a/templates/components/vertexai.jsonnet +++ b/templates/components/vertexai.jsonnet @@ -93,7 +93,7 @@ local prompts = import "prompts/mixtral.jsonnet"; "-i", "non-persistent://tg/request/text-completion-rag", "-o", - "non-persistent://tg/response/text-completion-rag-response", + "non-persistent://tg/response/text-completion-rag", ]) .with_limits("0.5", "256M") .with_reservations("0.1", "256M")