mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
Feature/googleaistudio (#121)
* Added jsonnet for GoogleAIStudio * Port the template to 0.13, env secrets for k8s --------- Co-authored-by: JackColquitt <daniel@kalntera.ai>
This commit is contained in:
parent
ec444d12b7
commit
af0c8540e3
4 changed files with 115 additions and 1 deletions
32
templates/patterns/llm-googleaistudio.jsonnet
Normal file
32
templates/patterns/llm-googleaistudio.jsonnet
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "googleaistudio",
|
||||
icon: "🤖💬",
|
||||
title: "Add GoogleAIStudio for text completion",
|
||||
description: "This pattern integrates a GoogleAIStudio LLM service for text completion operations. You need a GoogleAISTudio API key to be able to use this service.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
{
|
||||
name: "googleaistudio-max-output-tokens",
|
||||
label: "Maximum output tokens",
|
||||
type: "integer",
|
||||
description: "Limit on number tokens to generate",
|
||||
default: 4096,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "googleaistudio-temperature",
|
||||
label: "Temperature",
|
||||
type: "slider",
|
||||
description: "Controlling predictability / creativity balance",
|
||||
min: 0,
|
||||
max: 1,
|
||||
step: 0.05,
|
||||
default: 0.5,
|
||||
},
|
||||
],
|
||||
category: [ "llm" ],
|
||||
},
|
||||
module: "components/googleaistudio.jsonnet",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue