mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 00:46:22 +02:00
Added Mistral jsonnet templates
This commit is contained in:
parent
5f5cf8fd07
commit
d676804107
7 changed files with 159 additions and 2 deletions
32
templates/patterns/llm-mistral.jsonnet
Normal file
32
templates/patterns/llm-mistral.jsonnet
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "mistral",
|
||||
icon: "🤖💬",
|
||||
title: "Add Mistral LLM endpoint for text completion",
|
||||
description: "This pattern integrates a Mistral LLM service for text completion operations. You need a Mistral subscription and have an API key to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
{
|
||||
name: "mistral-max-output-tokens",
|
||||
label: "Maximum output tokens",
|
||||
type: "integer",
|
||||
description: "Limit on number tokens to generate",
|
||||
default: 4096,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "mistral-temperature",
|
||||
label: "Temperature",
|
||||
type: "slider",
|
||||
description: "Controlling predictability / creativity balance",
|
||||
min: 0,
|
||||
max: 1,
|
||||
step: 0.05,
|
||||
default: 0.5,
|
||||
},
|
||||
],
|
||||
category: [ "llm" ],
|
||||
},
|
||||
module: "components/mistral.jsonnet",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue