mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat: make prompt object type array in pipeline config
This commit is contained in:
@@ -28,9 +28,11 @@ spec:
|
||||
label:
|
||||
en_US: Intents
|
||||
zh_CN: 权限
|
||||
type: array[string]
|
||||
type: array
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
execution:
|
||||
python:
|
||||
path: ./qqbotpy.py
|
||||
|
||||
@@ -54,9 +54,16 @@ stages:
|
||||
label:
|
||||
en_US: Prompt
|
||||
zh_CN: 提示词
|
||||
type: string
|
||||
type: array
|
||||
required: true
|
||||
default: "You are a helpful assistant."
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
role:
|
||||
type: string
|
||||
default: user
|
||||
content:
|
||||
type: string
|
||||
- name: dify-service-api
|
||||
label:
|
||||
en_US: Dify Service API
|
||||
|
||||
Reference in New Issue
Block a user