2024-01-21 21:09:50 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals:
|
|
|
|
open:
|
|
|
|
# Include{portalLink}
|
|
|
|
questions:
|
|
|
|
# Include{global}
|
|
|
|
# Include{workload}
|
|
|
|
# Include{workloadDeployment}
|
|
|
|
# Include{replicas1}
|
|
|
|
# Include{podSpec}
|
|
|
|
# Include{containerMain}
|
|
|
|
# Include{containerBasic}
|
2024-02-19 12:35:33 +00:00
|
|
|
|
|
|
|
- variable: env
|
|
|
|
label: Image Environment
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: LLM_PROVIDER
|
|
|
|
label: LLM Provider
|
|
|
|
schema:
|
|
|
|
type: string
|
2024-03-04 21:55:28 +00:00
|
|
|
default: ""
|
2024-02-19 12:35:33 +00:00
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: Default
|
|
|
|
- value: openai
|
|
|
|
description: OpenAI
|
|
|
|
- value: gemini
|
|
|
|
description: Gemini
|
|
|
|
- value: azure
|
|
|
|
description: Azure
|
|
|
|
- value: anthropic
|
|
|
|
description: Anthropic
|
|
|
|
- value: lmstudio
|
|
|
|
description: LMStudio
|
|
|
|
- value: localai
|
|
|
|
description: LocalAI
|
|
|
|
- value: ollama
|
|
|
|
description: Ollama
|
|
|
|
- value: togetherai
|
|
|
|
description: TogetherAI
|
|
|
|
- value: mistral
|
|
|
|
description: Mistral
|
|
|
|
- value: huggingface
|
|
|
|
description: HuggingFace
|
|
|
|
- variable: OPEN_AI_KEY
|
|
|
|
label: Open AI Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "openai"]]
|
|
|
|
- variable: GEMINI_API_KEY
|
|
|
|
label: Gemini AI Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "gemini"]]
|
|
|
|
- variable: GEMINI_LLM_MODEL_PREF
|
|
|
|
label: Gemini LLM Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "gemini-pro"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "gemini"]]
|
|
|
|
- variable: AZURE_OPENAI_KEY
|
|
|
|
label: Azure OpenAI Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "azure"]]
|
|
|
|
- variable: AZURE_OPENAI_ENDPOINT
|
|
|
|
label: Azure OpenAI Endpoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "azure"]]
|
|
|
|
- variable: ANTHROPIC_API_KEY
|
|
|
|
label: Anthropic API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "anthropic"]]
|
|
|
|
- variable: ANTHROPIC_MODEL_PREF
|
|
|
|
label: Anthropic Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "claude-2"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "anthropic"]]
|
|
|
|
- variable: LMSTUDIO_BASE_PATH
|
|
|
|
label: LMStudio Base Path
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "lmstudio"]]
|
|
|
|
- variable: LMSTUDIO_MODEL_TOKEN_LIMIT
|
|
|
|
label: LMStudio Model Token Limit
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 4096
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "lmstudio"]]
|
|
|
|
- variable: LOCAL_AI_API_KEY
|
|
|
|
label: Local AI API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "sk-123abc"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "localai"]]
|
|
|
|
- variable: LOCAL_AI_MODEL_TOKEN_LIMIT
|
|
|
|
label: Local AI Model Token Limit
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 4096
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "localai"]]
|
|
|
|
- variable: LOCAL_AI_BASE_PATH
|
|
|
|
label: Local AI Base Path
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "localai"]]
|
|
|
|
- variable: LOCAL_AI_MODEL_PREF
|
|
|
|
label: Local AI Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "luna-ai-llama2"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "localai"]]
|
|
|
|
- variable: OLLAMA_BASE_PATH
|
|
|
|
label: Ollama Base Path
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "ollama"]]
|
|
|
|
- variable: OLLAMA_MODEL_PREF
|
|
|
|
label: Ollama Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "llama2"
|
2024-02-21 16:16:08 +00:00
|
|
|
show_if: [[LLM_PROVIDER, "=", "ollama"]]
|
2024-02-19 12:35:33 +00:00
|
|
|
- variable: OLLAMA_MODEL_TOKEN_LIMIT
|
|
|
|
label: Ollama Model Token Limit
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 4096
|
2024-02-21 16:16:08 +00:00
|
|
|
show_if: [[LLM_PROVIDER, "=", "ollama"]]
|
2024-02-19 12:35:33 +00:00
|
|
|
- variable: TOGETHER_AI_API_KEY
|
|
|
|
label: Together AI API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "togetherai"]]
|
|
|
|
- variable: TOGETHER_AI_MODEL_PREF
|
|
|
|
label: Together AI Model pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "togetherai"]]
|
|
|
|
- variable: MISTRAL_API_KEY
|
|
|
|
label: Mistral API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "mistral"]]
|
|
|
|
- variable: MISTRAL_MODEL_PREF
|
|
|
|
label: Mistral Model pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "mistral-tiny"
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "mistral"]]
|
|
|
|
- variable: HUGGING_FACE_LLM_API_KEY
|
|
|
|
label: Hugging Face LLM API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "huggingface"]]
|
|
|
|
- variable: HUGGING_FACE_LLM_TOKEN_LIMIT
|
|
|
|
label: Hugging Face LLM Token Limit
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 8000
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "huggingface"]]
|
|
|
|
- variable: HUGGING_FACE_LLM_ENDPOINT
|
|
|
|
label: Hugging Face LLM EndPoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[LLM_PROVIDER, "=", "huggingface"]]
|
|
|
|
- variable: OPEN_MODEL_PREF
|
|
|
|
label: Open Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: EMBEDDING_ENGINE
|
|
|
|
label: Embedding Engine
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: default
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: Default
|
|
|
|
- value: openai
|
|
|
|
description: OpenAI
|
|
|
|
- value: azure
|
|
|
|
description: Azure
|
|
|
|
- value: localai
|
|
|
|
description: LocalAI
|
|
|
|
- variable: EMBEDDING_MODEL_PREF
|
|
|
|
label: Embedding Model Pref
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: EMBEDDING_BASE_PATH
|
|
|
|
label: Embedding Base Path
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: EMBEDDING_MODEL_MAX_CHUNK_LENGTH
|
|
|
|
label: Embedding Model Max Chunk Length
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1000
|
|
|
|
- variable: VECTOR_DB
|
|
|
|
label: Vector DB
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: default
|
|
|
|
enum:
|
|
|
|
- value: ""
|
|
|
|
description: Default
|
|
|
|
- value: chroma
|
|
|
|
description: Chroma
|
|
|
|
- value: pinecone
|
|
|
|
description: PineCone
|
|
|
|
- value: lancedb
|
|
|
|
description: LanceDB
|
|
|
|
- value: weaviate
|
|
|
|
description: Weaviate
|
|
|
|
- value: qdrant
|
|
|
|
description: Qdrant
|
|
|
|
- value: milvus
|
|
|
|
description: Milvus
|
|
|
|
- value: zilliz
|
|
|
|
description: Zilliz
|
|
|
|
- value: astra
|
|
|
|
description: Astra DB
|
|
|
|
- variable: CHROMA_API_KEY
|
|
|
|
label: Chroma API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "sk-123abc"
|
|
|
|
show_if: [[VECTOR_DB, "=", "chroma"]]
|
|
|
|
- variable: CHROMA_API_HEADER
|
|
|
|
label: Chroma API Header
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "X-Api-Key"
|
|
|
|
show_if: [[VECTOR_DB, "=", "chroma"]]
|
|
|
|
- variable: CHROMA_ENDPOINT
|
|
|
|
label: Chroma Endpoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "chroma"]]
|
|
|
|
- variable: PINECONE_API_KEY
|
|
|
|
label: PineCone API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "pinecone"]]
|
|
|
|
- variable: PINECONE_INDEX
|
|
|
|
label: PineCone Index
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "pinecone"]]
|
|
|
|
- variable: WEAVIATE_API_KEY
|
|
|
|
label: Weaviate API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "weaviate"]]
|
|
|
|
- variable: WEAVIATE_ENDPOINT
|
|
|
|
label: Weaviate Endpoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "weaviate"]]
|
|
|
|
- variable: QDRANT_API_KEY
|
|
|
|
label: Qdrant API Key
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "qdrant"]]
|
|
|
|
- variable: QDRANT_ENDPOINT
|
|
|
|
label: Qdrant Endpointt
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "qdrant"]]
|
|
|
|
- variable: MILVUS_ADDRESS
|
|
|
|
label: Milvus Address
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "milvus"]]
|
|
|
|
- variable: MILVUS_USERNAME
|
|
|
|
label: Milvus UserName
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "milvus"]]
|
|
|
|
- variable: MILVUS_PASSWORD
|
|
|
|
label: Milvus Password
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "milvus"]]
|
|
|
|
- variable: ZILLIZ_API_TOKEN
|
|
|
|
label: Zilliz API Token
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "zilliz"]]
|
|
|
|
- variable: ZILLIZ_ENDPOINT
|
|
|
|
label: Zilliz EndPoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "zilliz"]]
|
|
|
|
- variable: ASTRA_DB_APPLICATION_TOKEN
|
|
|
|
label: Astra DB Application Token
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "astra"]]
|
|
|
|
- variable: ASTRA_DB_ENDPOINT
|
|
|
|
label: Astra DB EndPoint
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
show_if: [[VECTOR_DB, "=", "astra"]]
|
|
|
|
- variable: adv_settings
|
|
|
|
label: Show Advanced Settings
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: DISABLE_TELEMETRY
|
|
|
|
label: Disable Telemetry
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: PASSWORDMINCHAR
|
|
|
|
label: Password Min Char
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 8
|
|
|
|
- variable: PASSWORDMAXCHAR
|
|
|
|
label: Password Max Char
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 250
|
|
|
|
- variable: PASSWORDLOWERCASE
|
|
|
|
label: Password LowerCase
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1
|
|
|
|
- variable: PASSWORDUPPERCASE
|
|
|
|
label: Password UpperCase
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1
|
|
|
|
- variable: PASSWORDNUMERIC
|
|
|
|
label: Password Numeric
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1
|
|
|
|
- variable: PASSWORDSYMBOL
|
|
|
|
label: Password Symbol
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 1
|
|
|
|
- variable: PASSWORDREQUIREMENTS
|
|
|
|
label: Password Requirements
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 4
|
|
|
|
|
2024-01-21 21:09:50 +00:00
|
|
|
# Include{containerAdvanced}
|
|
|
|
# Include{containerConfig}
|
|
|
|
# Include{podOptions}
|
|
|
|
# Include{serviceRoot}
|
|
|
|
# Include{serviceMain}
|
|
|
|
# Include{serviceSelectorLoadBalancer}
|
|
|
|
# Include{serviceSelectorExtras}
|
|
|
|
- variable: main
|
|
|
|
label: "Main Service Port Configuration"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "Port"
|
|
|
|
description: "This port exposes the container port on the service"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 3001
|
|
|
|
required: true
|
|
|
|
# Include{serviceExpertRoot}
|
|
|
|
# Include{serviceExpert}
|
|
|
|
# Include{serviceList}
|
|
|
|
# Include{persistenceRoot}
|
|
|
|
- variable: storage
|
|
|
|
label: "App Storage Storage"
|
|
|
|
description: "Stores the Application Storage."
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
- variable: hotdir
|
|
|
|
label: "App HotDir Storage"
|
|
|
|
description: "Stores the Application HotDir."
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
- variable: outputs
|
|
|
|
label: "App Outputs Storage"
|
|
|
|
description: "Stores the Application Outputs."
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
# Include{persistenceList}
|
|
|
|
# Include{ingressRoot}
|
|
|
|
- variable: main
|
|
|
|
label: "Main Ingress"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{ingressDefault}
|
|
|
|
# Include{ingressAdvanced}
|
|
|
|
# Include{ingressList}
|
|
|
|
# Include{securityContextRoot}
|
|
|
|
- variable: runAsUser
|
|
|
|
label: "runAsUser"
|
|
|
|
description: "The UserID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: runAsGroup
|
|
|
|
label: "runAsGroup"
|
|
|
|
description: "The groupID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
# Include{securityContextContainer}
|
|
|
|
# Include{securityContextAdvanced}
|
|
|
|
# Include{securityContextPod}
|
|
|
|
- variable: fsGroup
|
|
|
|
label: "fsGroup"
|
|
|
|
description: "The group that should own ALL storage."
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
# Include{resources}
|
|
|
|
# Include{advanced}
|
|
|
|
# Include{addons}
|
|
|
|
# Include{codeserver}
|
|
|
|
# Include{netshoot}
|
|
|
|
# Include{vpn}
|
|
|
|
# Include{documentation}
|