fix: indentation violations in YAML files (#1972)

This commit is contained in:
Bowen Liang 2024-01-09 18:15:25 +08:00 committed by GitHub
parent e696b72f08
commit b8592ad412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
84 changed files with 1836 additions and 1841 deletions

View File

@ -1,9 +1,9 @@
name: "🕷️ Bug report"
description: Report errors or unexpected behavior
labels:
- bug
- bug
body:
- type: checkboxes
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
@ -13,7 +13,7 @@ body:
- label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- type: input
- type: input
attributes:
label: Dify version
placeholder: 0.3.21
@ -21,7 +21,7 @@ body:
validations:
required: true
- type: dropdown
- type: dropdown
attributes:
label: Cloud or Self Hosted
description: How / Where was Dify installed from?
@ -33,7 +33,7 @@ body:
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: Steps to reproduce
description: We highly suggest including screenshots and a bug report log.
@ -41,14 +41,14 @@ body:
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: ✔️ Expected Behavior
placeholder: What were you expecting?
validations:
required: false
- type: textarea
- type: textarea
attributes:
label: ❌ Actual Behavior
placeholder: What happened instead?

View File

@ -1,9 +1,9 @@
name: "📚 Documentation Issue"
description: Report issues in our documentation
labels:
- ducumentation
- ducumentation
body:
- type: checkboxes
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
@ -12,7 +12,7 @@ body:
required: true
- label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- type: textarea
- type: textarea
attributes:
label: Provide a description of requested docs changes
placeholder: Briefly describe which document needs to be corrected and why.

View File

@ -1,9 +1,9 @@
name: "⭐ Feature or enhancement request"
description: Propose something new.
labels:
- enhancement
- enhancement
body:
- type: checkboxes
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
@ -12,24 +12,24 @@ body:
required: true
- label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- type: textarea
- type: textarea
attributes:
label: Description of the new feature / enhancement
placeholder: What is the expected behavior of the proposed feature?
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: Scenario when this would be used?
placeholder: What is the scenario this would be used? Why is this important to your workflow as a dify user?
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: Supporting information
placeholder: "Having additional evidence, data, tweets, blog posts, research, ... anything is extremely helpful. This information provides context to the scenario that may otherwise be lost."
validations:
required: false
- type: markdown
- type: markdown
attributes:
value: Please limit one request per issue.

View File

@ -1,9 +1,9 @@
name: "🤝 Help Wanted"
description: "Request help from the community [please use English :]"
labels:
- help-wanted
- help-wanted
body:
- type: checkboxes
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
@ -12,7 +12,7 @@ body:
required: true
- label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- type: textarea
- type: textarea
attributes:
label: Provide a description of the help you need
placeholder: Briefly describe what you need help with.

View File

@ -1,9 +1,9 @@
name: "🌐 Localization/Translation issue"
description: Report incorrect translations. [please use English :]
labels:
- translation
- translation
body:
- type: checkboxes
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
@ -12,39 +12,39 @@ body:
required: true
- label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- type: input
- type: input
attributes:
label: Dify version
placeholder: 0.3.21
description: Hover over system tray icon or look at Settings
validations:
required: true
- type: input
- type: input
attributes:
label: Utility with translation issue
placeholder: Some area
description: Please input here the utility with the translation issue
validations:
required: true
- type: input
- type: input
attributes:
label: 🌐 Language affected
placeholder: "German"
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: ❌ Actual phrase(s)
placeholder: What is there? Please include a screenshot as that is extremely helpful.
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: ✔️ Expected phrase(s)
placeholder: What was expected?
validations:
required: true
- type: textarea
- type: textarea
attributes:
label: Why is the current translation wrong
placeholder: Why do you feel this is incorrect?

View File

@ -5,11 +5,7 @@ extends: default
rules:
brackets:
max-spaces-inside: 1
comments-indentation: disable
document-start: disable
indentation:
level: warning
line-length: disable
new-line-at-end-of-file:
level: warning
trailing-spaces:
level: warning
truthy: disable

View File

@ -6,7 +6,7 @@ on:
- 'main'
- 'deploy/dev'
release:
types: [published]
types: [ published ]
jobs:
build-and-push:

View File

@ -6,7 +6,7 @@ on:
- 'main'
- 'deploy/dev'
release:
types: [published]
types: [ published ]
jobs:
build-and-push:

View File

@ -16,9 +16,9 @@ help:
url:
en_US: https://console.anthropic.com/account/keys
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: anthropic_api_key

View File

@ -3,16 +3,16 @@ label:
en_US: claude-2.1
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 200000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,7 +21,7 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens_to_sample
- name: max_tokens_to_sample
use_template: max_tokens
required: true
default: 4096

View File

@ -3,16 +3,16 @@ label:
en_US: claude-2
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 100000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,7 +21,7 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens_to_sample
- name: max_tokens_to_sample
use_template: max_tokens
required: true
default: 4096

View File

@ -2,16 +2,16 @@ model: claude-instant-1
label:
en_US: claude-instant-1
model_type: llm
features: []
features: [ ]
model_properties:
mode: chat
context_size: 100000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -20,7 +20,7 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens_to_sample
- name: max_tokens_to_sample
use_template: max_tokens
required: true
default: 4096

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://azure.microsoft.com/en-us/products/ai-services/openai-service
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://www.baichuan-ai.com
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_key

View File

@ -3,16 +3,16 @@ label:
en_US: Baichuan2-53B
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 4000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,17 +21,17 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 1000
min: 1
max: 4000
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: with_search_enhance
- name: with_search_enhance
label:
zh_Hans: 搜索增强
en_US: Search Enhance

View File

@ -3,16 +3,16 @@ label:
en_US: Baichuan2-Turbo-192K
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 192000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,17 +21,17 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 8000
min: 1
max: 192000
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: with_search_enhance
- name: with_search_enhance
label:
zh_Hans: 搜索增强
en_US: Search Enhance

View File

@ -3,16 +3,16 @@ label:
en_US: Baichuan2-Turbo
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 192000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,17 +21,17 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 8000
min: 1
max: 192000
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: with_search_enhance
- name: with_search_enhance
label:
zh_Hans: 搜索增强
en_US: Search Enhance

View File

@ -13,9 +13,9 @@ help:
url:
en_US: https://github.com/THUDM/ChatGLM3
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_base

View File

@ -3,17 +3,17 @@ label:
en_US: ChatGLM2-6B-32K
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 32000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 2000

View File

@ -3,17 +3,17 @@ label:
en_US: ChatGLM2-6B
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 2000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 256

View File

@ -3,18 +3,18 @@ label:
en_US: ChatGLM3-6B-32K
model_type: llm
features:
- tool-call
- agent-thought
- tool-call
- agent-thought
model_properties:
mode: chat
context_size: 32000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 8000

View File

@ -3,18 +3,18 @@ label:
en_US: ChatGLM3-6B
model_type: llm
features:
- tool-call
- agent-thought
- tool-call
- agent-thought
model_properties:
mode: chat
context_size: 8000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
required: false
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 256

View File

@ -14,9 +14,9 @@ help:
url:
en_US: https://dashboard.cohere.com/api-keys
supported_model_types:
- rerank
- rerank
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_key
@ -28,4 +28,4 @@ provider_credential_schema:
placeholder:
zh_Hans: 请填写 API Key
en_US: Please fill in API Key
show_on: []
show_on: [ ]

View File

@ -16,9 +16,9 @@ help:
url:
en_US: https://ai.google.dev/
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: google_api_key
@ -29,4 +29,3 @@ provider_credential_schema:
placeholder:
zh_Hans: 在此输入您的 API Key
en_US: Enter your API Key

View File

@ -3,16 +3,16 @@ label:
en_US: Gemini Pro Vision
model_type: llm
features:
- vision
- vision
model_properties:
mode: chat
context_size: 12288
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,7 +21,7 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens_to_sample
- name: max_tokens_to_sample
use_template: max_tokens
required: true
default: 4096

View File

@ -3,16 +3,16 @@ label:
en_US: Gemini Pro
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 30720
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -21,7 +21,7 @@ parameter_rules:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: max_tokens_to_sample
- name: max_tokens_to_sample
use_template: max_tokens
required: true
default: 2048

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://huggingface.co/settings/tokens
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -15,9 +15,9 @@ help:
url:
en_US: https://jina.ai/embeddings/
supported_model_types:
- text-embedding
- text-embedding
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_key

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://github.com/go-skynet/LocalAI
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -3,24 +3,24 @@ label:
en_US: Abab5-Chat
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 6144
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 6144
min: 1
max: 6144
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
pricing:
input: '0.00'

View File

@ -3,26 +3,26 @@ label:
en_US: Abab5.5-Chat
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 16384
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 6144
min: 1
max: 16384
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: plugin_web_search
- name: plugin_web_search
required: false
default: false
type: boolean

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://api.minimax.chat/user-center/basic-information/interface-key
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: minimax_api_key

View File

@ -4,21 +4,21 @@ label:
en_US: gpt-3.5-turbo-0613
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 4096
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -4,21 +4,21 @@ label:
en_US: gpt-3.5-turbo-1106
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 16385
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -4,21 +4,21 @@ label:
en_US: gpt-3.5-turbo-16k-0613
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 16385
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -4,21 +4,21 @@ label:
en_US: gpt-3.5-turbo-16k
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 16385
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -3,20 +3,20 @@ label:
zh_Hans: gpt-3.5-turbo-instruct
en_US: gpt-3.5-turbo-instruct
model_type: llm
features: []
features: [ ]
model_properties:
mode: completion
context_size: 4096
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -4,21 +4,21 @@ label:
en_US: gpt-3.5-turbo
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 4096
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -4,26 +4,26 @@ label:
en_US: gpt-4-1106-preview
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 128000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1
max: 128000
- name: seed
- name: seed
label:
zh_Hans: 种子
en_US: Seed
@ -39,7 +39,7 @@ parameter_rules:
precision: 2
min: 0
max: 1
- name: response_format
- name: response_format
label:
zh_Hans: 回复格式
en_US: response_format

View File

@ -4,26 +4,26 @@ label:
en_US: gpt-4-32k
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 32768
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1
max: 32768
- name: seed
- name: seed
label:
zh_Hans: 种子
en_US: Seed
@ -39,7 +39,7 @@ parameter_rules:
precision: 2
min: 0
max: 1
- name: response_format
- name: response_format
label:
zh_Hans: 回复格式
en_US: response_format

View File

@ -4,25 +4,25 @@ label:
en_US: gpt-4-vision-preview
model_type: llm
features:
- vision
- vision
model_properties:
mode: chat
context_size: 128000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1
max: 128000
- name: seed
- name: seed
label:
zh_Hans: 种子
en_US: Seed
@ -38,7 +38,7 @@ parameter_rules:
precision: 2
min: 0
max: 1
- name: response_format
- name: response_format
label:
zh_Hans: 回复格式
en_US: response_format

View File

@ -4,26 +4,26 @@ label:
en_US: gpt-4
model_type: llm
features:
- multi-tool-call
- agent-thought
- multi-tool-call
- agent-thought
model_properties:
mode: chat
context_size: 8192
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1
max: 8192
- name: seed
- name: seed
label:
zh_Hans: 种子
en_US: Seed
@ -39,7 +39,7 @@ parameter_rules:
precision: 2
min: 0
max: 1
- name: response_format
- name: response_format
label:
zh_Hans: 回复格式
en_US: response_format

View File

@ -3,20 +3,20 @@ label:
zh_Hans: text-davinci-003
en_US: text-davinci-003
model_type: llm
features: []
features: [ ]
model_properties:
mode: completion
context_size: 4096
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
- name: top_p
- name: top_p
use_template: top_p
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1

View File

@ -16,13 +16,13 @@ help:
url:
en_US: https://platform.openai.com/account/api-keys
supported_model_types:
- llm
- text-embedding
- speech2text
- moderation
- llm
- text-embedding
- speech2text
- moderation
configurate_methods:
- predefined-model
- customizable-model
- predefined-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -5,10 +5,10 @@ description:
en_US: Model providers compatible with OpenAI's API standard, such as LM Studio.
zh_Hans: 兼容 OpenAI API 的模型供应商,例如 LM Studio 。
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://github.com/bentoml/OpenLLM
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -13,10 +13,10 @@ help:
url:
en_US: https://replicate.com/account/api-tokens
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -5,13 +5,13 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.5
help:
zh_Hans: 核采样阈值。用于决定结果随机性,取值越高随机性越强即相同的问题得到的不同答案的可能性越高。
en_US: Kernel sampling threshold. Used to determine the randomness of the results. The higher the value, the stronger the randomness, that is, the higher the possibility of getting different answers to the same question.
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 512
min: 1
@ -19,7 +19,7 @@ parameter_rules:
help:
zh_Hans: 模型回答的tokens的最大长度。
en_US: 模型回答的tokens的最大长度。
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k

View File

@ -6,13 +6,13 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.5
help:
zh_Hans: 核采样阈值。用于决定结果随机性,取值越高随机性越强即相同的问题得到的不同答案的可能性越高。
en_US: Kernel sampling threshold. Used to determine the randomness of the results. The higher the value, the stronger the randomness, that is, the higher the possibility of getting different answers to the same question.
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 2048
min: 1
@ -20,7 +20,7 @@ parameter_rules:
help:
zh_Hans: 模型回答的tokens的最大长度。
en_US: 模型回答的tokens的最大长度。
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k

View File

@ -5,13 +5,13 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.5
help:
zh_Hans: 核采样阈值。用于决定结果随机性,取值越高随机性越强即相同的问题得到的不同答案的可能性越高。
en_US: Kernel sampling threshold. Used to determine the randomness of the results. The higher the value, the stronger the randomness, that is, the higher the possibility of getting different answers to the same question.
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 2048
min: 1
@ -19,7 +19,7 @@ parameter_rules:
help:
zh_Hans: 模型回答的tokens的最大长度。
en_US: 模型回答的tokens的最大长度。
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k

View File

@ -15,9 +15,9 @@ help:
url:
en_US: https://www.xfyun.cn/solutions/xinghuoAPI
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: app_id

View File

@ -13,9 +13,9 @@ help:
url:
en_US: https://api.together.xyz/
supported_model_types:
- llm
- llm
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -6,7 +6,7 @@ model_properties:
mode: completion
context_size: 32000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 1.0
min: 0.0
@ -14,13 +14,13 @@ parameter_rules:
help:
zh_Hans: 用于控制随机性和多样性的程度。具体来说temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。较高的temperature值会降低概率分布的峰值使得更多的低概率词被选择生成结果更加多样化而较低的temperature值则会增强概率分布的峰值使得高概率词更容易被选择生成结果更加确定。
en_US: Used to control the degree of randomness and diversity. Specifically, the temperature value controls the degree to which the probability distribution of each candidate word is smoothed when generating text. A higher temperature value will reduce the peak value of the probability distribution, allowing more low-probability words to be selected, and the generated results will be more diverse; while a lower temperature value will enhance the peak value of the probability distribution, making it easier for high-probability words to be selected. , the generated results are more certain.
- name: top_p
- name: top_p
use_template: top_p
default: 0.8
help:
zh_Hans: 生成过程中核采样方法概率阈值例如取值为0.8时仅保留概率加起来大于等于0.8的最可能token的最小集合作为候选集。取值范围为0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高。
en_US: The probability threshold of the kernel sampling method during the generation process. For example, when the value is 0.8, only the smallest set of the most likely tokens with a sum of probabilities greater than or equal to 0.8 is retained as the candidate set. The value range is (0,1.0). The larger the value, the higher the randomness generated; the lower the value, the higher the certainty generated.
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 2000
min: 1
@ -28,7 +28,7 @@ parameter_rules:
help:
zh_Hans: 用于限制模型生成token的数量max_tokens设置的是生成上限并不表示一定会生成这么多的token数量。
en_US: It is used to limit the number of tokens generated by the model. max_tokens sets the upper limit of generation, which does not mean that so many tokens will be generated.
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -37,7 +37,7 @@ parameter_rules:
zh_Hans: 生成时采样候选集的大小。例如取值为50时仅将单次生成中得分最高的50个token组成随机采样的候选集。取值越大生成的随机性越高取值越小生成的确定性越高。默认不传递该参数取值为None或当top_k大于100时表示不启用top_k策略此时仅有top_p策略生效。
en_US: The size of the sample candidate set when generated. For example, when the value is 50, only the 50 highest-scoring tokens in a single generation form a randomly sampled candidate set. The larger the value, the higher the randomness generated; the smaller the value, the higher the certainty generated. This parameter is not passed by default. The value is None or when top_k is greater than 100, it means that the top_k policy is not enabled. At this time, only the top_p policy takes effect.
required: false
- name: seed
- name: seed
label:
zh_Hans: 随机种子
en_US: Random seed
@ -47,7 +47,7 @@ parameter_rules:
zh_Hans: 生成时随机数的种子用于控制模型生成的随机性。如果使用相同的种子每次运行生成的结果都将相同当需要复现模型的生成结果时可以使用相同的种子。seed参数支持无符号64位整数类型。默认值 1234。
en_US: When generating, the random number seed is used to control the randomness of model generation. If you use the same seed, the results generated by each run will be the same; when you need to reproduce the results of the model, you can use the same seed. The seed parameter supports unsigned 64-bit integer types. Default value 1234.
required: false
- name: repetition_penalty
- name: repetition_penalty
label:
en_US: Repetition penalty
type: float

View File

@ -6,7 +6,7 @@ model_properties:
mode: completion
context_size: 8192
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 1.0
min: 0.0
@ -14,13 +14,13 @@ parameter_rules:
help:
zh_Hans: 用于控制随机性和多样性的程度。具体来说temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。较高的temperature值会降低概率分布的峰值使得更多的低概率词被选择生成结果更加多样化而较低的temperature值则会增强概率分布的峰值使得高概率词更容易被选择生成结果更加确定。
en_US: Used to control the degree of randomness and diversity. Specifically, the temperature value controls the degree to which the probability distribution of each candidate word is smoothed when generating text. A higher temperature value will reduce the peak value of the probability distribution, allowing more low-probability words to be selected, and the generated results will be more diverse; while a lower temperature value will enhance the peak value of the probability distribution, making it easier for high-probability words to be selected. , the generated results are more certain.
- name: top_p
- name: top_p
use_template: top_p
default: 0.8
help:
zh_Hans: 生成过程中核采样方法概率阈值例如取值为0.8时仅保留概率加起来大于等于0.8的最可能token的最小集合作为候选集。取值范围为0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高。
en_US: The probability threshold of the kernel sampling method during the generation process. For example, when the value is 0.8, only the smallest set of the most likely tokens with a sum of probabilities greater than or equal to 0.8 is retained as the candidate set. The value range is (0,1.0). The larger the value, the higher the randomness generated; the lower the value, the higher the certainty generated.
- name: max_tokens
- name: max_tokens
use_template: max_tokens
default: 1500
min: 1
@ -28,7 +28,7 @@ parameter_rules:
help:
zh_Hans: 用于限制模型生成token的数量max_tokens设置的是生成上限并不表示一定会生成这么多的token数量。
en_US: It is used to limit the number of tokens generated by the model. max_tokens sets the upper limit of generation, which does not mean that so many tokens will be generated.
- name: top_k
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
@ -37,7 +37,7 @@ parameter_rules:
zh_Hans: 生成时采样候选集的大小。例如取值为50时仅将单次生成中得分最高的50个token组成随机采样的候选集。取值越大生成的随机性越高取值越小生成的确定性越高。默认不传递该参数取值为None或当top_k大于100时表示不启用top_k策略此时仅有top_p策略生效。
en_US: The size of the sample candidate set when generated. For example, when the value is 50, only the 50 highest-scoring tokens in a single generation form a randomly sampled candidate set. The larger the value, the higher the randomness generated; the smaller the value, the higher the certainty generated. This parameter is not passed by default. The value is None or when top_k is greater than 100, it means that the top_k policy is not enabled. At this time, only the top_p policy takes effect.
required: false
- name: seed
- name: seed
label:
zh_Hans: 随机种子
en_US: Random seed
@ -47,7 +47,7 @@ parameter_rules:
zh_Hans: 生成时随机数的种子用于控制模型生成的随机性。如果使用相同的种子每次运行生成的结果都将相同当需要复现模型的生成结果时可以使用相同的种子。seed参数支持无符号64位整数类型。默认值 1234。
en_US: When generating, the random number seed is used to control the randomness of model generation. If you use the same seed, the results generated by each run will be the same; when you need to reproduce the results of the model, you can use the same seed. The seed parameter supports unsigned 64-bit integer types. Default value 1234.
required: false
- name: repetition_penalty
- name: repetition_penalty
label:
en_US: Repetition penalty
type: float

View File

@ -15,9 +15,9 @@ help:
url:
en_US: https://dashscope.console.aliyun.com/api-key_management
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: dashscope_api_key

View File

@ -3,29 +3,29 @@ label:
en_US: Ernie Bot 4
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 4800
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
min: 0.1
max: 1.0
default: 0.8
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 256
min: 1
max: 4800
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: disable_search
- name: disable_search
label:
zh_Hans: 禁用搜索
en_US: Disable Search

View File

@ -3,29 +3,29 @@ label:
en_US: Ernie Bot 8k
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 8000
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
min: 0.1
max: 1.0
default: 0.8
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 1024
min: 1
max: 8000
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: disable_search
- name: disable_search
label:
zh_Hans: 禁用搜索
en_US: Disable Search

View File

@ -3,25 +3,25 @@ label:
en_US: Ernie Bot Turbo
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 11200
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
min: 0.1
max: 1.0
default: 0.8
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 1024
min: 1
max: 11200
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty

View File

@ -3,29 +3,29 @@ label:
en_US: Ernie Bot
model_type: llm
features:
- agent-thought
- agent-thought
model_properties:
mode: chat
context_size: 4800
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
min: 0.1
max: 1.0
default: 0.8
- name: top_p
- name: top_p
use_template: top_p
- name: max_tokens
- name: max_tokens
use_template: max_tokens
required: true
default: 256
min: 1
max: 4800
- name: presence_penalty
- name: presence_penalty
use_template: presence_penalty
- name: frequency_penalty
- name: frequency_penalty
use_template: frequency_penalty
- name: disable_search
- name: disable_search
label:
zh_Hans: 禁用搜索
en_US: Disable Search

View File

@ -16,9 +16,9 @@ help:
url:
en_US: https://cloud.baidu.com/wenxin.html
supported_model_types:
- llm
- llm
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_key

View File

@ -13,11 +13,11 @@ help:
url:
en_US: https://github.com/xorbitsai/inference
supported_model_types:
- llm
- text-embedding
- rerank
- llm
- text-embedding
- rerank
configurate_methods:
- customizable-model
- customizable-model
model_credential_schema:
model:
label:

View File

@ -5,7 +5,7 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.9
min: 0.0
@ -13,7 +13,7 @@ parameter_rules:
help:
zh_Hans: 采样温度,控制输出的随机性,必须为正数取值范围是:(0.0,1.0],不能等于 0,默认值为 0.95 值越大,会使输出更随机,更具创造性;值越小,输出会更加稳定或确定建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Sampling temperature, controls the randomness of the output, must be a positive number. The value range is (0.0,1.0], which cannot be equal to 0. The default value is 0.95. The larger the value, the more random and creative the output will be; the smaller the value, The output will be more stable or certain. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: top_p
- name: top_p
use_template: top_p
default: 0.7
help:

View File

@ -5,7 +5,7 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.9
min: 0.0
@ -13,7 +13,7 @@ parameter_rules:
help:
zh_Hans: 采样温度,控制输出的随机性,必须为正数取值范围是:(0.0,1.0],不能等于 0,默认值为 0.95 值越大,会使输出更随机,更具创造性;值越小,输出会更加稳定或确定建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Sampling temperature, controls the randomness of the output, must be a positive number. The value range is (0.0,1.0], which cannot be equal to 0. The default value is 0.95. The larger the value, the more random and creative the output will be; the smaller the value, The output will be more stable or certain. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: top_p
- name: top_p
use_template: top_p
default: 0.7
help:

View File

@ -5,7 +5,7 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.9
min: 0.0
@ -13,7 +13,7 @@ parameter_rules:
help:
zh_Hans: 采样温度,控制输出的随机性,必须为正数取值范围是:(0.0,1.0],不能等于 0,默认值为 0.95 值越大,会使输出更随机,更具创造性;值越小,输出会更加稳定或确定建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Sampling temperature, controls the randomness of the output, must be a positive number. The value range is (0.0,1.0], which cannot be equal to 0. The default value is 0.95. The larger the value, the more random and creative the output will be; the smaller the value, The output will be more stable or certain. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: top_p
- name: top_p
use_template: top_p
default: 0.7
help:

View File

@ -5,7 +5,7 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.9
min: 0.0
@ -13,7 +13,7 @@ parameter_rules:
help:
zh_Hans: 采样温度,控制输出的随机性,必须为正数取值范围是:(0.0,1.0],不能等于 0,默认值为 0.95 值越大,会使输出更随机,更具创造性;值越小,输出会更加稳定或确定建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Sampling temperature, controls the randomness of the output, must be a positive number. The value range is (0.0,1.0], which cannot be equal to 0. The default value is 0.95. The larger the value, the more random and creative the output will be; the smaller the value, The output will be more stable or certain. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: top_p
- name: top_p
use_template: top_p
default: 0.7
help:

View File

@ -5,7 +5,7 @@ model_type: llm
model_properties:
mode: chat
parameter_rules:
- name: temperature
- name: temperature
use_template: temperature
default: 0.95
min: 0.0
@ -13,13 +13,13 @@ parameter_rules:
help:
zh_Hans: 采样温度,控制输出的随机性,必须为正数取值范围是:(0.0,1.0],不能等于 0,默认值为 0.95 值越大,会使输出更随机,更具创造性;值越小,输出会更加稳定或确定建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Sampling temperature, controls the randomness of the output, must be a positive number. The value range is (0.0,1.0], which cannot be equal to 0. The default value is 0.95. The larger the value, the more random and creative the output will be; the smaller the value, The output will be more stable or certain. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: top_p
- name: top_p
use_template: top_p
default: 0.7
help:
zh_Hans: 用温度取样的另一种方法,称为核取样取值范围是:(0.0, 1.0) 开区间,不能等于 0 或 1默认值为 0.7 模型考虑具有 top_p 概率质量tokens的结果例如0.1 意味着模型解码器只考虑从前 10% 的概率的候选集中取 tokens 建议您根据应用场景调整 top_p 或 temperature 参数,但不要同时调整两个参数。
en_US: Another method of temperature sampling is called kernel sampling. The value range is (0.0, 1.0) open interval, which cannot be equal to 0 or 1. The default value is 0.7. The model considers the results with top_p probability mass tokens. For example 0.1 means The model decoder only considers tokens from the candidate set with the top 10% probability. It is recommended that you adjust the top_p or temperature parameters according to the application scenario, but do not adjust both parameters at the same time.
- name: incremental
- name: incremental
label:
zh_Hans: 增量返回
en_US: Incremental
@ -28,7 +28,7 @@ parameter_rules:
zh_Hans: SSE接口调用时用于控制每次返回内容方式是增量还是全量不提供此参数时默认为增量返回true 为增量返回false 为全量返回。
en_US: When the SSE interface is called, it is used to control whether the content is returned incrementally or in full. If this parameter is not provided, the default is incremental return. true means incremental return, false means full return.
required: false
- name: return_type
- name: return_type
label:
zh_Hans: 回复类型
en_US: Return Type

View File

@ -15,10 +15,10 @@ help:
url:
en_US: https://open.bigmodel.cn/usercenter/apikeys
supported_model_types:
- llm
- text-embedding
- llm
- text-embedding
configurate_methods:
- predefined-model
- predefined-model
provider_credential_schema:
credential_form_schemas:
- variable: api_key

View File

@ -236,7 +236,7 @@ services:
# ports:
# - "5432:5432"
healthcheck:
test: ["CMD", "pg_isready"]
test: [ "CMD", "pg_isready" ]
interval: 1s
timeout: 3s
retries: 30