Added jsonnet for GoogleAIStudio

This commit is contained in:
JackColquitt 2024-10-14 18:33:38 -07:00
parent 4ef8332c6f
commit 9d0b79cd82
4 changed files with 124 additions and 1 deletions

View 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",
}