Fix auto-templates (#17)

This commit is contained in:
cybermaggedon 2024-08-22 00:19:55 +01:00 committed by GitHub
parent c4bfd9fc8c
commit d3cdb97528
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 150 additions and 82 deletions

View file

@ -14,6 +14,10 @@ local url = import "url.jsonnet";
"${AZURE_TOKEN}",
"-e",
"${AZURE_ENDPOINT}",
"-x",
"4096",
"-t",
"0.0",
],
},
@ -28,6 +32,10 @@ local url = import "url.jsonnet";
"-e",
"${AZURE_ENDPOINT}",
"-i",
"-x",
"4096",
"-t",
"0.0",
"non-persistent://tg/request/text-completion-rag",
"-o",
"non-persistent://tg/response/text-completion-rag-response",

View file

@ -29,6 +29,12 @@ local url = import "url.jsonnet";
"${AWS_SECRET_KEY}",
"-r",
"us-west-2",
"-x",
"4096",
"-t",
"0.0",
"-m",
"mistral.mixtral-8x7b-instruct-v0:1",
],
},
@ -46,6 +52,12 @@ local url = import "url.jsonnet";
"${AWS_SECRET_KEY}",
"-r",
"us-west-2",
"-x",
"4096",
"-t",
"0.0",
"-m",
"mistral.mixtral-8x7b-instruct-v0:1",
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",

View file

@ -12,6 +12,10 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${CLAUDE_KEY}",
"-x",
"4096",
"-t",
"0.0",
],
},
@ -23,6 +27,10 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${CLAUDE_KEY}",
"-x",
"4096",
"-t",
"0.0",
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",

View file

@ -7,13 +7,13 @@ local url = import "url.jsonnet";
chunker: base + {
image: images.trustgraph,
command: [
"chunker-recursive",
"${CHUNKER:-chunker-token}",
"-p",
url.pulsar,
"--chunk-size",
"1000",
"150",
"--chunk-overlap",
"50",
"10",
],
},
@ -25,6 +25,8 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${COHERE_KEY}",
"-t",
"0.0",
],
},
@ -36,6 +38,8 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${COHERE_KEY}",
"-t",
"0.0",
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",

View file

@ -10,8 +10,8 @@ local url = import "url.jsonnet";
"text-completion-ollama",
"-p",
url.pulsar,
// "-m",
// "llama3.1:8b",
"-m",
"gemma2:9b",
"-r",
"${OLLAMA_HOST}",
],
@ -23,8 +23,8 @@ local url = import "url.jsonnet";
"text-completion-ollama",
"-p",
url.pulsar,
// "-m",
// "llama3.1:8b",
"-m",
"gemma2:9b",
"-r",
"${OLLAMA_HOST}",
"-i",

View file

@ -12,6 +12,10 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${OPENAI_KEY}",
"-x",
"4096",
"-t",
"0.0",
],
},
@ -23,6 +27,10 @@ local url = import "url.jsonnet";
url.pulsar,
"-k",
"${OPENAI_KEY}",
"-x",
"4096",
"-t",
"0.0",
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",

View file

@ -13,7 +13,11 @@ local url = import "url.jsonnet";
"-k",
"/vertexai/private.json",
"-r",
"us-west1",
"us-central1",
"-x",
"4096",
"-t",
"0.0",
],
volumes: [
"./vertexai:/vertexai"
@ -29,7 +33,11 @@ local url = import "url.jsonnet";
"-k",
"/vertexai/private.json",
"-r",
"us-west1",
"us-central1",
"-x",
"4096",
"-t",
"0.0",
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",