trustgraph/templates/patterns/llm-azure.jsonnet
cybermaggedon 121f7bb776
Updates for config util repo (#47)
* Fix pulsar manager template import
* Add pattern categories.  Update parameters with new schema.
* Add more parameters to config
2024-09-01 21:29:29 +01:00

32 lines
1,005 B
Jsonnet

{
pattern: {
name: "azure",
icon: "🤖💬",
title: "Add Azure LLM endpoint for text completion",
description: "This pattern integrates an Azure LLM endpoint hosted in the Azure cloud for text completion operations. You need an Azure subscription and to have an endpoint deployed to be able to use this service.",
requires: ["pulsar", "trustgraph"],
features: ["llm"],
args: [
{
name: "azure-max-output-tokens",
label: "Maximum output tokens",
type: "integer",
description: "Limit on number tokens to generate",
default: 4096,
required: true,
},
{
name: "azure-temperature",
label: "Temperature",
type: "slider",
description: "Controlling predictability / creativity balance",
min: 0,
max: 1,
step: 0.05,
default: 0.5,
},
],
category: [ "llm" ],
},
module: "components/azure.jsonnet",
}