forked from 0pens0/spring-metal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccelerator.yaml
125 lines (116 loc) · 5.61 KB
/
accelerator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
accelerator:
displayName: Tanzu Platform GenAi RAG application
description: Add GenAI RAG capabilities, using Tanzu Platform, to an existing spring Boot application
iconUrl: data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBvbHlnb24gcG9pbnRzPSI3LjQyNCAwLjIyIDcuNDI0IDAuOTI1IDIuNjEgMy4yNDMgMi4wNTcgMi44MDMgNy40MjQgMC4yMiIgZmlsbD0iIzAwYzFkNSIvPjxwb2x5Z29uIHBvaW50cz0iMTMuNzgyIDIuODAzIDEzLjIzIDMuMjQzIDguNDE2IDAuOTI1IDguNDE2IDAuMjIgMTMuNzgyIDIuODAzIiBmaWxsPSIjMDBjMWQ1Ii8+PHBvbHlnb24gcG9pbnRzPSIxNS41MjIgOC40ODggMTQuODcgOC40ODggMTMuODUgNC4wMTggMTQuNDAxIDMuNTggMTUuNTIyIDguNDg4IiBmaWxsPSIjMWQ0MjhhIi8+PHBvbHlnb24gcG9pbnRzPSIxLjk5IDQuMDE4IDAuODAxIDkuMjI4IDAuMTEzIDkuMzg2IDEuNDM5IDMuNTggMS45OSA0LjAxOCIgZmlsbD0iIzFkNDI4YSIvPjxwb2x5Z29uIHBvaW50cz0iNC4zNTMgMTQuMzc0IDQuMDQ3IDE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xMi43aDEuNjQ3di43M2gyLjF2LS42MTloLS4wMDVsLjAwNS0uMDA3di0uMWgyLjMzNlY5LjY3OUgxMS4yNjl2LS43M2gtMi4xdjIuMWgyLjF2LS43MjloMy45ODJ2MS43NDlIMTQuMTQybS0zLjUwOC0xLjY1NUg5LjgwOVY5LjU4NGguODI1Wm0zLjc5MiwzLjkxMWguODI1di44MjVoLS44MjVaTTEwLjksMTIuMjM2aDBsMCwwWm0yLjAxNi41NTloLS44MjVWMTEuOTdoLjgyNVoiIGZpbGw9IiMxZDQyOGEiLz48cG9seWdvbiBwb2ludHM9IjEwLjkgMTIuMjMzIDEwLjkgMTIuMjM2IDEwLjg5OCAxMi4yMzYgMTAuOSAxMi4yMzMiIGZpbGw9IiMxZDQyOGEiLz48cGF0aCBkPSJNMTMuNTQ2LDEyLjgxMWguMDA1VjEyLjhaIiBmaWxsPSIjMWQ0MjhhIi8+PC9zdmc+
tags:
- java
- spring-ai
- spring-cli
- RAG
- LLM
- GenAI
options:
- name: srcRepo
label: Soure repository
description: Codebase of an exiting 'inner loop' application
defaultValue: "https://github.com/scottfrederick/spring-music"
required: true
defaultValue: "https://github.com/scottfrederick/spring-music"
- name: llm
label: LLM models selection
required: true
defaultValue: "platform"
inputType: radio
choices:
- value: platform
text: Use the chat and embeddings models as defined in the GenAI platform marketplace service
- value: chatCustom
text: Use custom chat model (manual configuration required)
- value: embeddingCustom
text: Use custom embedding model (manual configuration required)
- name: addPrompt
label: Use Spring AI to add prompt message retriever and context document
inputType: checkbox
dataType: boolean
defaultValue: false
- name: idkOptions
label: Response behavior for unknown results
inputType: radio
defaultValue: idk
choices:
- value: idk
text: State you do not know
- value: model
text: Pass through model best guess reply
- value: idkModel
text: State you do not know AND pass through model best guess reply
dependsOn:
name: addPrompt
- name: addDocuments
label: Always add relevant documents at the end of the reply
inputType: checkbox
dataType: boolean
defaultValue: false
dependsOn:
name: addPrompt
- name: vectorStore
label: Vector Store
inputType: select
display: true
inputType: radio
defaultValue: tpPGVector
choices:
- value: tpPGVector
text: Tanzu PostgreSQL pgvector
- value: tpGreenPlum
text: Tanzu Greenplum + ML functionality
- value: external
text: External VectorDB (manual configuration required)
- name: autoConfigPGvector
label: Use Spring AI to auto configure vector store initializer based on the PGVector instance binding
inputType: checkbox
dataType: boolean
defaultValue: false
dependsOn:
name: vectorStore
value: tpPGVector
- name: runtime
label: Runtime Configurations
description: AI middleware capabilities
required: true
inputType: select
display: true
inputType: radio
defaultValue: tpcf
choices:
- value: tpcf
text: Cloud Foundry
- value: tpk8s
text: Kubernetes
- name: apiGW
label: API Gateway with tokens-based rate limiting support
inputType: checkbox
dataType: boolean
defaultValue: false
- name: observability
label: Pre-wired application observability
inputType: checkbox
dataType: boolean
defaultValue: true
- name: fips
label: FIPS compliance guardrails
inputType: checkbox
dataType: boolean
defaultValue: false
engine:
chain:
- merge:
#include runtime-configs per user selection
- includes: ["**"]
excludes: [ "runtime-configs/**"]
- includes: [ "runtime-configs/tpk8s/*"]
condition: "#runtime == 'tpk8s'"
- includes: [ "runtime-configs/tpcf/*"]
condition: "#runtime == 'tpcf'"
- includes: [ "runtime-configs/**"]
condition: "#runtime == 'all'"