mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
33 lines
1,007 B
Jsonnet
33 lines
1,007 B
Jsonnet
|
|
{
|
||
|
|
pattern: {
|
||
|
|
name: "azure-openai",
|
||
|
|
icon: "🤖💬",
|
||
|
|
title: "Add Azure OpenAI LLM endpoint for text completion",
|
||
|
|
description: "This pattern integrates an Azure OpenAI LLM endpoint hosted in the Azure cloud for text completion operations. You need an Azure subscription to be able to use this service.",
|
||
|
|
requires: ["pulsar", "trustgraph"],
|
||
|
|
features: ["llm"],
|
||
|
|
args: [
|
||
|
|
{
|
||
|
|
name: "azure-openai-max-output-tokens",
|
||
|
|
label: "Maximum output tokens",
|
||
|
|
type: "integer",
|
||
|
|
description: "Limit on number tokens to generate",
|
||
|
|
default: 4096,
|
||
|
|
required: true,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "azure-openai-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",
|
||
|
|
}
|