Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Enhance Code Consistency Across Repository with `.editorconfig` (#19023)

QuantumGhostbd1bbfee4b2e
diff --git a/.devcontainer/README.md b/.devcontainer/README.md
index df12a3c2d67..2b18630a214 100644
--- a/.devcontainer/README.md
+++ b/.devcontainer/README.md
@@ -34,4 +34,4 @@ if you see such error message when you open this project in codespaces:
![Alt text](troubleshooting.png)
a simple workaround is change `/signin` endpoint into another one, then login with GitHub account and close the tab, then change it back to `/signin` endpoint. Then all things will be fine.
-The reason is `signin` endpoint is not allowed in codespaces, details can be found [here](https://github.com/orgs/community/discussions/5204)
\ No newline at end of file
+The reason is `signin` endpoint is not allowed in codespaces, details can be found [here](https://github.com/orgs/community/discussions/5204)
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 339ad60ce08..8246544061b 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/anaconda
{
"name": "Python 3.12",
- "build": {
+ "build": {
"context": "..",
"dockerfile": "Dockerfile"
},
diff --git a/.devcontainer/noop.txt b/.devcontainer/noop.txt
index dde8dc3c10b..49de88dbd4d 100644
--- a/.devcontainer/noop.txt
+++ b/.devcontainer/noop.txt
@@ -1,3 +1,3 @@
This file copied into the container along with environment.yml* from the parent
-folder. This file is included to prevents the Dockerfile COPY instruction from
-failing if no environment.yml is found.
\ No newline at end of file
+folder. This file is included to prevents the Dockerfile COPY instruction from
+failing if no environment.yml is found.
diff --git a/web/.editorconfig b/.editorconfig
similarity index 51%
rename from web/.editorconfig
rename to .editorconfig
index e1d3f0b9928..374da0b5d22 100644
--- a/web/.editorconfig
+++ b/.editorconfig
@@ -5,18 +5,35 @@ root = true
# Unix-style newlines with a newline ending every file
[*]
+charset = utf-8
end_of_line = lf
insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.py]
+indent_size = 4
+indent_style = space
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+
+[*.toml]
+indent_size = 4
+indent_style = space
+
+# Markdown and MDX are whitespace sensitive languages.
+# Do not remove trailing spaces.
+[*.{md,mdx}]
+trim_trailing_whitespace = false
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,tsx}]
-charset = utf-8
indent_style = space
indent_size = 2
-
-# Matches the exact files either package.json or .travis.yml
-[{package.json,.travis.yml}]
+# Matches the exact files package.json
+[package.json]
indent_style = space
indent_size = 2
diff --git a/.gitattributes b/.gitattributes
index a10da53408e..a32a39f65c5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,5 @@
# Ensure that .sh scripts use LF as line separator, even if they are checked out
-# to Windows(NTFS) file-system, by a user of Docker for Windows.
+# to Windows(NTFS) file-system, by a user of Docker for Windows.
# These .sh scripts will be run from the Container after `docker compose up -d`.
# If they appear to be CRLF style, Dash from the Container will fail to execute
# them.
diff --git a/.github/linters/editorconfig-checker.json b/.github/linters/editorconfig-checker.json
new file mode 100644
index 00000000000..ce6e9ae3411
--- /dev/null
+++ b/.github/linters/editorconfig-checker.json
@@ -0,0 +1,22 @@
+{
+ "Verbose": false,
+ "Debug": false,
+ "IgnoreDefaults": false,
+ "SpacesAfterTabs": false,
+ "NoColor": false,
+ "Exclude": [
+ "^web/public/vs/",
+ "^web/public/pdf.worker.min.mjs$",
+ "web/app/components/base/icons/src/vender/"
+ ],
+ "AllowedContentTypes": [],
+ "PassedFiles": [],
+ "Disable": {
+ "EndOfLine": false,
+ "Indentation": false,
+ "IndentSize": true,
+ "InsertFinalNewline": false,
+ "TrimTrailingWhitespace": false,
+ "MaxLineLength": false
+ }
+}
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 98e5fd5150b..56f9b433f3e 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -9,6 +9,12 @@ concurrency:
group: style-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
+permissions:
+ checks: write
+ statuses: write
+ contents: read
+
+
jobs:
python-style:
name: Python Style
@@ -163,3 +169,14 @@ jobs:
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_XML: true
VALIDATE_YAML: true
+
+ - name: EditorConfig checks
+ uses: super-linter/super-linter/slim@v7
+ env:
+ DEFAULT_BRANCH: main
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ IGNORE_GENERATED_FILES: true
+ IGNORE_GITIGNORED_FILES: true
+ # EditorConfig validation
+ VALIDATE_EDITORCONFIG: true
+ EDITORCONFIG_FILE_NAME: editorconfig-checker.json
diff --git a/CONTRIBUTING_ES.md b/CONTRIBUTING_ES.md
index 261aa0fda1d..98cbb5b4577 100644
--- a/CONTRIBUTING_ES.md
+++ b/CONTRIBUTING_ES.md
@@ -90,4 +90,4 @@ Recomendamos revisar este documento cuidadosamente antes de proceder con la conf
No dudes en contactarnos si encuentras algún problema durante el proceso de configuración.
## Obteniendo Ayuda
-Si alguna vez te quedas atascado o tienes una pregunta urgente mientras contribuyes, simplemente envíanos tus consultas a través del issue relacionado de GitHub, o únete a nuestro [Discord](https://discord.gg/8Tpq4AcN9c) para una charla rápida.
\ No newline at end of file
+Si alguna vez te quedas atascado o tienes una pregunta urgente mientras contribuyes, simplemente envíanos tus consultas a través del issue relacionado de GitHub, o únete a nuestro [Discord](https://discord.gg/8Tpq4AcN9c) para una charla rápida.
diff --git a/CONTRIBUTING_FR.md b/CONTRIBUTING_FR.md
index c3418f86cc9..fc8410dfd6c 100644
--- a/CONTRIBUTING_FR.md
+++ b/CONTRIBUTING_FR.md
@@ -90,4 +90,4 @@ Nous recommandons de revoir attentivement ce document avant de procéder à la c
N'hésitez pas à nous contacter si vous rencontrez des problèmes pendant le processus de configuration.
## Obtenir de l'aide
-Si jamais vous êtes bloqué ou avez une question urgente en contribuant, envoyez-nous simplement vos questions via le problème GitHub concerné, ou rejoignez notre [Discord](https://discord.gg/8Tpq4AcN9c) pour une discussion rapide.
\ No newline at end of file
+Si jamais vous êtes bloqué ou avez une question urgente en contribuant, envoyez-nous simplement vos questions via le problème GitHub concerné, ou rejoignez notre [Discord](https://discord.gg/8Tpq4AcN9c) pour une discussion rapide.
diff --git a/CONTRIBUTING_KR.md b/CONTRIBUTING_KR.md
index fcf44d495a2..78d3f38c475 100644
--- a/CONTRIBUTING_KR.md
+++ b/CONTRIBUTING_KR.md
@@ -90,4 +90,4 @@ PR 설명에 기존 이슈를 연결하거나 새 이슈를 여는 것을 잊지
설정 과정에서 문제가 발생하면 언제든지 연락해 주세요.
## 도움 받기
-기여하는 동안 막히거나 긴급한 질문이 있으면, 관련 GitHub 이슈를 통해 질문을 보내거나, 빠른 대화를 위해 우리의 [Discord](https://discord.gg/8Tpq4AcN9c)에 참여하세요.
\ No newline at end of file
+기여하는 동안 막히거나 긴급한 질문이 있으면, 관련 GitHub 이슈를 통해 질문을 보내거나, 빠른 대화를 위해 우리의 [Discord](https://discord.gg/8Tpq4AcN9c)에 참여하세요.
diff --git a/CONTRIBUTING_PT.md b/CONTRIBUTING_PT.md
index bba76c17eeb..7347fd7f9c2 100644
--- a/CONTRIBUTING_PT.md
+++ b/CONTRIBUTING_PT.md
@@ -90,4 +90,4 @@ Recomendamos revisar este documento cuidadosamente antes de prosseguir com a con
Sinta-se à vontade para entrar em contato se encontrar quaisquer problemas durante o processo de configuração.
## Obtendo Ajuda
-Se você ficar preso ou tiver uma dúvida urgente enquanto contribui, simplesmente envie suas perguntas através do problema relacionado no GitHub, ou entre no nosso [Discord](https://discord.gg/8Tpq4AcN9c) para uma conversa rápida.
\ No newline at end of file
+Se você ficar preso ou tiver uma dúvida urgente enquanto contribui, simplesmente envie suas perguntas através do problema relacionado no GitHub, ou entre no nosso [Discord](https://discord.gg/8Tpq4AcN9c) para uma conversa rápida.
diff --git a/CONTRIBUTING_TR.md b/CONTRIBUTING_TR.md
index 4e216d22a44..681f05689bd 100644
--- a/CONTRIBUTING_TR.md
+++ b/CONTRIBUTING_TR.md
@@ -90,4 +90,4 @@ Kuruluma geçmeden önce bu belgeyi dikkatlice incelemenizi öneririz, çünkü
Kurulum süreci sırasında herhangi bir sorunla karşılaşırsanız bizimle iletişime geçmekten çekinmeyin.
## Yardım Almak
-Katkıda bulunurken takılırsanız veya yanıcı bir sorunuz olursa, sorularınızı ilgili GitHub sorunu aracılığıyla bize gönderin veya hızlı bir sohbet için [Discord'umuza](https://discord.gg/8Tpq4AcN9c) katılın.
\ No newline at end of file
+Katkıda bulunurken takılırsanız veya yanıcı bir sorunuz olursa, sorularınızı ilgili GitHub sorunu aracılığıyla bize gönderin veya hızlı bir sohbet için [Discord'umuza](https://discord.gg/8Tpq4AcN9c) katılın.
diff --git a/README_SI.md b/README_SI.md
index caa59759733..9a38b558b4a 100644
--- a/README_SI.md
+++ b/README_SI.md
@@ -1,259 +1,259 @@
-![cover-v5-optimized](https://github.com/langgenius/dify/assets/13230914/f9e19af5-61ba-4119-b926-d10c4c06ebab)
-
-<p align="center">
- 📌 <a href="https://dify.ai/blog/introducing-dify-workflow-file-upload-a-demo-on-ai-podcast">Predstavljamo nalaganje datotek Dify Workflow: znova ustvarite Google NotebookLM Podcast</a>
-</p>
-
-<p align="center">
- <a href="https://cloud.dify.ai">Dify Cloud</a> ·
- <a href="https://docs.dify.ai/getting-started/install-self-hosted">Samostojno gostovanje</a> ·
- <a href="https://docs.dify.ai">Dokumentacija</a> ·
- <a href="https://dify.ai/pricing">Pregled ponudb izdelkov Dify</a>
-</p>
-
-<p align="center">
- <a href="https://dify.ai" target="_blank">
- <img alt="Static Badge" src="https://img.shields.io/badge/Product-F04438"></a>
- <a href="https://dify.ai/pricing" target="_blank">
- <img alt="Static Badge" src="https://img.shields.io/badge/free-pricing?logo=free&color=%20%23155EEF&label=pricing&labelColor=%20%23528bff"></a>
- <a href="https://discord.gg/FngNHpbcY7" target="_blank">
- <img src="https://img.shields.io/discord/1082486657678311454?logo=discord&labelColor=%20%235462eb&logoColor=%20%23f5f5f5&color=%20%235462eb"
- alt="chat on Discord"></a>
- <a href="https://twitter.com/intent/follow?screen_name=dify_ai" target="_blank">
- <img src="https://img.shields.io/twitter/follow/dify_ai?logo=X&color=%20%23f5f5f5"
- alt="follow on X(Twitter)"></a>
- <a href="https://www.linkedin.com/company/langgenius/" target="_blank">
- <img src="https://custom-icon-badges.demolab.com/badge/LinkedIn-0A66C2?logo=linkedin-white&logoColor=fff"
- alt="follow on LinkedIn"></a>
- <a href="https://hub.docker.com/u/langgenius" target="_blank">
- <img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/langgenius/dify-web?labelColor=%20%23FDB062&color=%20%23f79009"></a>
- <a href="https://github.com/langgenius/dify/graphs/commit-activity" target="_blank">
- <img alt="Commits last month" src="https://img.shields.io/github/commit-activity/m/langgenius/dify?labelColor=%20%2332b583&color=%20%2312b76a"></a>
- <a href="https://github.com/langgenius/dify/" target="_blank">
- <img alt="Issues closed" src="https://img.shields.io/github/issues-search?query=repo%3Alanggenius%2Fdify%20is%3Aclosed&label=issues%20closed&labelColor=%20%237d89b0&color=%20%235d6b98"></a>
- <a href="https://github.com/langgenius/dify/discussions/" target="_blank">
- <img alt="Discussion posts" src="https://img.shields.io/github/discussions/langgenius/dify?labelColor=%20%239b8afb&color=%20%237a5af8"></a>
-</p>
-
-<p align="center">
- <a href="./README.md"><img alt="README in English" src="https://img.shields.io/badge/English-d9d9d9"></a>
- <a href="./README_CN.md"><img alt="简体中文版自述文件" src="https://img.shields.io/badge/简体中文-d9d9d9"></a>
- <a href="./README_JA.md"><img alt="日本語のREADME" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
- <a href="./README_ES.md"><img alt="README en Español" src="https://img.shields.io/badge/Español-d9d9d9"></a>
- <a href="./README_FR.md"><img alt="README en Français" src="https://img.shields.io/badge/Français-d9d9d9"></a>
- <a href="./README_KL.md"><img alt="README tlhIngan Hol" src="https://img.shields.io/badge/Klingon-d9d9d9"></a>
- <a href="./README_KR.md"><img alt="README in Korean" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
- <a href="./README_AR.md"><img alt="README بالعربية" src="https://img.shields.io/badge/العربية-d9d9d9"></a>
- <a href="./README_TR.md"><img alt="Türkçe README" src="https://img.shields.io/badge/Türkçe-d9d9d9"></a>
- <a href="./README_VI.md"><img alt="README Tiếng Việt" src="https://img.shields.io/badge/Ti%E1%BA%BFng%20Vi%E1%BB%87t-d9d9d9"></a>
- <a href="./README_SI.md"><img alt="README Slovenščina" src="https://img.shields.io/badge/Sloven%C5%A1%C4%8Dina-d9d9d9"></a>
- <a href="./README_BN.md"><img alt="README in বাংলা" src="https://img.shields.io/badge/বাংলা-d9d9d9"></a>
-</p>
-
-
-Dify je odprtokodna platforma za razvoj aplikacij LLM. Njegov intuitivni vmesnik združuje agentski potek dela z umetno inteligenco, cevovod RAG, zmogljivosti agentov, upravljanje modelov, funkcije opazovanja in več, kar vam omogoča hiter prehod od prototipa do proizvodnje.
-
-## Hitri začetek
-> Preden namestite Dify, se prepričajte, da vaša naprava izpolnjuje naslednje minimalne sistemske zahteve:
->
->- CPU >= 2 Core
->- RAM >= 4 GiB
-
-</br>
-
-Najlažji način za zagon strežnika Dify je prek docker compose . Preden zaženete Dify z naslednjimi ukazi, se prepričajte, da sta Docker in Docker Compose nameščena na vašem računalniku:
-
-```bash
-cd dify
-cd docker
-cp .env.example .env
-docker compose up -d
-```
-
-Po zagonu lahko dostopate do nadzorne plošče Dify v brskalniku na [http://localhost/install](http://localhost/install) in začnete postopek inicializacije.
-
-#### Iskanje pomoči
-Prosimo, glejte naša pogosta vprašanja [FAQ](https://docs.dify.ai/getting-started/install-self-hosted/faqs) če naletite na težave pri nastavitvi Dify. Če imate še vedno težave, se obrnite na [skupnost ali nas](#community--contact).
-
-> Če želite prispevati k Difyju ali narediti dodaten razvoj, glejte naš vodnik za [uvajanje iz izvorne kode](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code)
-
-## Ključne značilnosti
-**1. Potek dela**:
- Zgradite in preizkusite zmogljive poteke dela AI na vizualnem platnu, pri čemer izkoristite vse naslednje funkcije in več.
-
-
- https://github.com/langgenius/dify/assets/13230914/356df23e-1604-483d-80a6-9517ece318aa
-
-
-
-**2. Celovita podpora za modele**:
- Brezhibna integracija s stotinami lastniških/odprtokodnih LLM-jev ducatov ponudnikov sklepanja in samostojnih rešitev, ki pokrivajo GPT, Mistral, Llama3 in vse modele, združljive z API-jem OpenAI. Celoten seznam podprtih ponudnikov modelov najdete [tukaj](https://docs.dify.ai/getting-started/readme/model-providers).
-
-![providers-v5](https://github.com/langgenius/dify/assets/13230914/5a17bdbe-097a-4100-8363-40255b70f6e3)
-
-
-**3. Prompt IDE**:
- intuitivni vmesnik za ustvarjanje pozivov, primerjavo zmogljivosti modela in dodajanje dodatnih funkcij, kot je pretvorba besedila v govor, aplikaciji, ki temelji na klepetu.
-
-**4. RAG Pipeline**:
- E Obsežne zmogljivosti RAG, ki pokrivajo vse od vnosa dokumenta do priklica, s podporo za ekstrakcijo besedila iz datotek PDF, PPT in drugih običajnih formatov dokumentov.
-
-**5. Agent capabilities**:
- definirate lahko agente, ki temeljijo na klicanju funkcij LLM ali ReAct, in dodate vnaprej izdelana orodja ali orodja po meri za agenta. Dify ponuja več kot 50 vgrajenih orodij za agente AI, kot so Google Search, DALL·E, Stable Diffusion in WolframAlpha.
-
-**6. LLMOps**:
- Spremljajte in analizirajte dnevnike aplikacij in učinkovitost skozi čas. Pozive, nabore podatkov in modele lahko nenehno izboljšujete na podlagi proizvodnih podatkov in opomb.
-
-**7. Backend-as-a-Service**:
- AVse ponudbe Difyja so opremljene z ustreznimi API-ji, tako da lahko Dify brez težav integrirate v svojo poslovno logiko.
-
-## Primerjava Funkcij
-
-<table style="width: 100%;">
- <tr>
- <th align="center">Funkcija</th>
- <th align="center">Dify.AI</th>
- <th align="center">LangChain</th>
- <th align="center">Flowise</th>
- <th align="center">OpenAI Assistants API</th>
- </tr>
- <tr>
- <td align="center">Programski pristop</td>
- <td align="center">API + usmerjeno v aplikacije</td>
- <td align="center">Python koda</td>
- <td align="center">Usmerjeno v aplikacije</td>
- <td align="center">Usmerjeno v API</td>
- </tr>
- <tr>
- <td align="center">Podprti LLM-ji</td>
- <td align="center">Bogata izbira</td>
- <td align="center">Bogata izbira</td>
- <td align="center">Bogata izbira</td>
- <td align="center">Samo OpenAI</td>
- </tr>
- <tr>
- <td align="center">RAG pogon</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- </tr>
- <tr>
- <td align="center">Agent</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- <td align="center">✅</td>
- </tr>
- <tr>
- <td align="center">Potek dela</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- </tr>
- <tr>
- <td align="center">Spremljanje</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- <td align="center">❌</td>
- </tr>
- <tr>
- <td align="center">Funkcija za podjetja (SSO/nadzor dostopa)</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- <td align="center">❌</td>
- <td align="center">❌</td>
- </tr>
- <tr>
- <td align="center">Lokalna namestitev</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">✅</td>
- <td align="center">❌</td>
- </tr>
-</table>
-
-## Uporaba Dify
-
-- **Cloud </br>**
-Gostimo storitev Dify Cloud za vsakogar, ki jo lahko preizkusite brez nastavitev. Zagotavlja vse zmožnosti različice za samostojno namestitev in vključuje 200 brezplačnih klicev GPT-4 v načrtu peskovnika.
-
-- **Self-hosting Dify Community Edition</br>**
-Hitro zaženite Dify v svojem okolju s tem [začetnim vodnikom](#quick-start) . Za dodatne reference in podrobnejša navodila uporabite našo [dokumentacijo](https://docs.dify.ai) .
-
-
-- **Dify za podjetja/organizacije</br>**
-Ponujamo dodatne funkcije, osredotočene na podjetja. Zabeležite svoja vprašanja prek tega klepetalnega robota ali nam pošljite e-pošto, da se pogovorimo o potrebah podjetja. </br>
- > Za novoustanovljena podjetja in mala podjetja, ki uporabljajo AWS, si oglejte Dify Premium na AWS Marketplace in ga z enim klikom uvedite v svoj AWS VPC. To je cenovno ugodna ponudba AMI z možnostjo ustvarjanja aplikacij z logotipom in blagovno znamko po meri.
-
-
-## Staying ahead
-
-Star Dify on GitHub and be instantly notified of new releases.
-
-![star-us](https://github.com/langgenius/dify/assets/13230914/b823edc1-6388-4e25-ad45-2f6b187adbb4)
-
-
-## Napredne nastavitve
-
-Če morate prilagoditi konfiguracijo, si oglejte komentarje v naši datoteki .env.example in posodobite ustrezne vrednosti v svoji .env datoteki. Poleg tega boste morda morali prilagoditi docker-compose.yamlsamo datoteko, na primer spremeniti različice slike, preslikave vrat ali namestitve nosilca, glede na vaše specifično okolje in zahteve za uvajanje. Po kakršnih koli spremembah ponovno zaženite docker-compose up -d. Celoten seznam razpoložljivih spremenljivk okolja najdete tukaj .
-
-Če želite konfigurirati visoko razpoložljivo nastavitev, so na voljo Helm Charts in datoteke YAML, ki jih prispeva skupnost, ki omogočajo uvedbo Difyja v Kubernetes.
-
-- [Helm Chart by @LeoQuote](https://github.com/douban/charts/tree/master/charts/dify)
-- [Helm Chart by @BorisPolonsky](https://github.com/BorisPolonsky/dify-helm)
-- [YAML file by @Winson-030](https://github.com/Winson-030/dify-kubernetes)
-- [YAML file by @wyy-holding](https://github.com/wyy-holding/dify-k8s)
-
-#### Uporaba Terraform za uvajanje
-
-namestite Dify v Cloud Platform z enim klikom z uporabo [terraform](https://www.terraform.io/)
-
-##### Azure Global
-- [Azure Terraform by @nikawang](https://github.com/nikawang/dify-azure-terraform)
-
-##### Google Cloud
-- [Google Cloud Terraform by @sotazum](https://github.com/DeNA/dify-google-cloud-terraform)
-
-#### Uporaba AWS CDK za uvajanje
-
-Uvedite Dify v AWS z uporabo [CDK](https://aws.amazon.com/cdk/)
-
-##### AWS
-- [AWS CDK by @KevinZhao](https://github.com/aws-samples/solution-for-deploying-dify-on-aws)
-
-## Prispevam
-
-Za tiste, ki bi radi prispevali kodo, si oglejte naš vodnik za prispevke . Hkrati vas prosimo, da podprete Dify tako, da ga delite na družbenih medijih ter na dogodkih in konferencah.
-
-
-
-> Iščemo sodelavce za pomoč pri prevajanju Difyja v jezike, ki niso mandarinščina ali angleščina. Če želite pomagati, si oglejte i18n README za več informacij in nam pustite komentar v global-userskanalu našega strežnika skupnosti Discord .
-
-## Skupnost in stik
-
-* [Github Discussion](https://github.com/langgenius/dify/discussions). Najboljše za: izmenjavo povratnih informacij in postavljanje vprašanj.
-* [GitHub Issues](https://github.com/langgenius/dify/issues). Najboljše za: hrošče, na katere naletite pri uporabi Dify.AI, in predloge funkcij. Oglejte si naš [vodnik za prispevke](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md).
-* [Discord](https://discord.gg/FngNHpbcY7). Najboljše za: deljenje vaših aplikacij in druženje s skupnostjo.
-* [X(Twitter)](https://twitter.com/dify_ai). Najboljše za: deljenje vaših aplikacij in druženje s skupnostjo.
-
-**Contributors**
-
-<a href="https://github.com/langgenius/dify/graphs/contributors">
- <img src="https://contrib.rocks/image?repo=langgenius/dify" />
-</a>
-
-## Star history
-
-[![Star History Chart](https://api.star-history.com/svg?repos=langgenius/dify&type=Date)](https://star-history.com/#langgenius/dify&Date)
-
-
-## Varnostno razkritje
-
-Zaradi zaščite vaše zasebnosti se izogibajte objavljanju varnostnih vprašanj na GitHub. Namesto tega pošljite vprašanja na [email protected] in zagotovili vam bomo podrobnejši odgovor.
-
-## Licenca
-
-To skladišče je na voljo pod [odprtokodno licenco Dify](LICENSE) , ki je v bistvu Apache 2.0 z nekaj dodatnimi omejitvami.
+![cover-v5-optimized](https://github.com/langgenius/dify/assets/13230914/f9e19af5-61ba-4119-b926-d10c4c06ebab)
+
+<p align="center">
+ 📌 <a href="https://dify.ai/blog/introducing-dify-workflow-file-upload-a-demo-on-ai-podcast">Predstavljamo nalaganje datotek Dify Workflow: znova ustvarite Google NotebookLM Podcast</a>
+</p>
+
+<p align="center">
+ <a href="https://cloud.dify.ai">Dify Cloud</a> ·
+ <a href="https://docs.dify.ai/getting-started/install-self-hosted">Samostojno gostovanje</a> ·
+ <a href="https://docs.dify.ai">Dokumentacija</a> ·
+ <a href="https://dify.ai/pricing">Pregled ponudb izdelkov Dify</a>
+</p>
+
+<p align="center">
+ <a href="https://dify.ai" target="_blank">
+ <img alt="Static Badge" src="https://img.shields.io/badge/Product-F04438"></a>
+ <a href="https://dify.ai/pricing" target="_blank">
+ <img alt="Static Badge" src="https://img.shields.io/badge/free-pricing?logo=free&color=%20%23155EEF&label=pricing&labelColor=%20%23528bff"></a>
+ <a href="https://discord.gg/FngNHpbcY7" target="_blank">
+ <img src="https://img.shields.io/discord/1082486657678311454?logo=discord&labelColor=%20%235462eb&logoColor=%20%23f5f5f5&color=%20%235462eb"
+ alt="chat on Discord"></a>
+ <a href="https://twitter.com/intent/follow?screen_name=dify_ai" target="_blank">
+ <img src="https://img.shields.io/twitter/follow/dify_ai?logo=X&color=%20%23f5f5f5"
+ alt="follow on X(Twitter)"></a>
+ <a href="https://www.linkedin.com/company/langgenius/" target="_blank">
+ <img src="https://custom-icon-badges.demolab.com/badge/LinkedIn-0A66C2?logo=linkedin-white&logoColor=fff"
+ alt="follow on LinkedIn"></a>
+ <a href="https://hub.docker.com/u/langgenius" target="_blank">
+ <img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/langgenius/dify-web?labelColor=%20%23FDB062&color=%20%23f79009"></a>
+ <a href="https://github.com/langgenius/dify/graphs/commit-activity" target="_blank">
+ <img alt="Commits last month" src="https://img.shields.io/github/commit-activity/m/langgenius/dify?labelColor=%20%2332b583&color=%20%2312b76a"></a>
+ <a href="https://github.com/langgenius/dify/" target="_blank">
+ <img alt="Issues closed" src="https://img.shields.io/github/issues-search?query=repo%3Alanggenius%2Fdify%20is%3Aclosed&label=issues%20closed&labelColor=%20%237d89b0&color=%20%235d6b98"></a>
+ <a href="https://github.com/langgenius/dify/discussions/" target="_blank">
+ <img alt="Discussion posts" src="https://img.shields.io/github/discussions/langgenius/dify?labelColor=%20%239b8afb&color=%20%237a5af8"></a>
+</p>
+
+<p align="center">
+ <a href="./README.md"><img alt="README in English" src="https://img.shields.io/badge/English-d9d9d9"></a>
+ <a href="./README_CN.md"><img alt="简体中文版自述文件" src="https://img.shields.io/badge/简体中文-d9d9d9"></a>
+ <a href="./README_JA.md"><img alt="日本語のREADME" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
+ <a href="./README_ES.md"><img alt="README en Español" src="https://img.shields.io/badge/Español-d9d9d9"></a>
+ <a href="./README_FR.md"><img alt="README en Français" src="https://img.shields.io/badge/Français-d9d9d9"></a>
+ <a href="./README_KL.md"><img alt="README tlhIngan Hol" src="https://img.shields.io/badge/Klingon-d9d9d9"></a>
+ <a href="./README_KR.md"><img alt="README in Korean" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
+ <a href="./README_AR.md"><img alt="README بالعربية" src="https://img.shields.io/badge/العربية-d9d9d9"></a>
+ <a href="./README_TR.md"><img alt="Türkçe README" src="https://img.shields.io/badge/Türkçe-d9d9d9"></a>
+ <a href="./README_VI.md"><img alt="README Tiếng Việt" src="https://img.shields.io/badge/Ti%E1%BA%BFng%20Vi%E1%BB%87t-d9d9d9"></a>
+ <a href="./README_SI.md"><img alt="README Slovenščina" src="https://img.shields.io/badge/Sloven%C5%A1%C4%8Dina-d9d9d9"></a>
+ <a href="./README_BN.md"><img alt="README in বাংলা" src="https://img.shields.io/badge/বাংলা-d9d9d9"></a>
+</p>
+
+
+Dify je odprtokodna platforma za razvoj aplikacij LLM. Njegov intuitivni vmesnik združuje agentski potek dela z umetno inteligenco, cevovod RAG, zmogljivosti agentov, upravljanje modelov, funkcije opazovanja in več, kar vam omogoča hiter prehod od prototipa do proizvodnje.
+
+## Hitri začetek
+> Preden namestite Dify, se prepričajte, da vaša naprava izpolnjuje naslednje minimalne sistemske zahteve:
+>
+>- CPU >= 2 Core
+>- RAM >= 4 GiB
+
+</br>
+
+Najlažji način za zagon strežnika Dify je prek docker compose . Preden zaženete Dify z naslednjimi ukazi, se prepričajte, da sta Docker in Docker Compose nameščena na vašem računalniku:
+
+```bash
+cd dify
+cd docker
+cp .env.example .env
+docker compose up -d
+```
+
+Po zagonu lahko dostopate do nadzorne plošče Dify v brskalniku na [http://localhost/install](http://localhost/install) in začnete postopek inicializacije.
+
+#### Iskanje pomoči
+Prosimo, glejte naša pogosta vprašanja [FAQ](https://docs.dify.ai/getting-started/install-self-hosted/faqs) če naletite na težave pri nastavitvi Dify. Če imate še vedno težave, se obrnite na [skupnost ali nas](#community--contact).
+
+> Če želite prispevati k Difyju ali narediti dodaten razvoj, glejte naš vodnik za [uvajanje iz izvorne kode](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code)
+
+## Ključne značilnosti
+**1. Potek dela**:
+ Zgradite in preizkusite zmogljive poteke dela AI na vizualnem platnu, pri čemer izkoristite vse naslednje funkcije in več.
+
+
+ https://github.com/langgenius/dify/assets/13230914/356df23e-1604-483d-80a6-9517ece318aa
+
+
+
+**2. Celovita podpora za modele**:
+ Brezhibna integracija s stotinami lastniških/odprtokodnih LLM-jev ducatov ponudnikov sklepanja in samostojnih rešitev, ki pokrivajo GPT, Mistral, Llama3 in vse modele, združljive z API-jem OpenAI. Celoten seznam podprtih ponudnikov modelov najdete [tukaj](https://docs.dify.ai/getting-started/readme/model-providers).
+
+![providers-v5](https://github.com/langgenius/dify/assets/13230914/5a17bdbe-097a-4100-8363-40255b70f6e3)
+
+
+**3. Prompt IDE**:
+ intuitivni vmesnik za ustvarjanje pozivov, primerjavo zmogljivosti modela in dodajanje dodatnih funkcij, kot je pretvorba besedila v govor, aplikaciji, ki temelji na klepetu.
+
+**4. RAG Pipeline**:
+ E Obsežne zmogljivosti RAG, ki pokrivajo vse od vnosa dokumenta do priklica, s podporo za ekstrakcijo besedila iz datotek PDF, PPT in drugih običajnih formatov dokumentov.
+
+**5. Agent capabilities**:
+ definirate lahko agente, ki temeljijo na klicanju funkcij LLM ali ReAct, in dodate vnaprej izdelana orodja ali orodja po meri za agenta. Dify ponuja več kot 50 vgrajenih orodij za agente AI, kot so Google Search, DALL·E, Stable Diffusion in WolframAlpha.
+
+**6. LLMOps**:
+ Spremljajte in analizirajte dnevnike aplikacij in učinkovitost skozi čas. Pozive, nabore podatkov in modele lahko nenehno izboljšujete na podlagi proizvodnih podatkov in opomb.
+
+**7. Backend-as-a-Service**:
+ AVse ponudbe Difyja so opremljene z ustreznimi API-ji, tako da lahko Dify brez težav integrirate v svojo poslovno logiko.
+
+## Primerjava Funkcij
+
+<table style="width: 100%;">
+ <tr>
+ <th align="center">Funkcija</th>
+ <th align="center">Dify.AI</th>
+ <th align="center">LangChain</th>
+ <th align="center">Flowise</th>
+ <th align="center">OpenAI Assistants API</th>
+ </tr>
+ <tr>
+ <td align="center">Programski pristop</td>
+ <td align="center">API + usmerjeno v aplikacije</td>
+ <td align="center">Python koda</td>
+ <td align="center">Usmerjeno v aplikacije</td>
+ <td align="center">Usmerjeno v API</td>
+ </tr>
+ <tr>
+ <td align="center">Podprti LLM-ji</td>
+ <td align="center">Bogata izbira</td>
+ <td align="center">Bogata izbira</td>
+ <td align="center">Bogata izbira</td>
+ <td align="center">Samo OpenAI</td>
+ </tr>
+ <tr>
+ <td align="center">RAG pogon</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ </tr>
+ <tr>
+ <td align="center">Agent</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ <td align="center">✅</td>
+ </tr>
+ <tr>
+ <td align="center">Potek dela</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ </tr>
+ <tr>
+ <td align="center">Spremljanje</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ <td align="center">❌</td>
+ </tr>
+ <tr>
+ <td align="center">Funkcija za podjetja (SSO/nadzor dostopa)</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ <td align="center">❌</td>
+ <td align="center">❌</td>
+ </tr>
+ <tr>
+ <td align="center">Lokalna namestitev</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">✅</td>
+ <td align="center">❌</td>
+ </tr>
+</table>
+
+## Uporaba Dify
+
+- **Cloud </br>**
+Gostimo storitev Dify Cloud za vsakogar, ki jo lahko preizkusite brez nastavitev. Zagotavlja vse zmožnosti različice za samostojno namestitev in vključuje 200 brezplačnih klicev GPT-4 v načrtu peskovnika.
+
+- **Self-hosting Dify Community Edition</br>**
+Hitro zaženite Dify v svojem okolju s tem [začetnim vodnikom](#quick-start) . Za dodatne reference in podrobnejša navodila uporabite našo [dokumentacijo](https://docs.dify.ai) .
+
+
+- **Dify za podjetja/organizacije</br>**
+Ponujamo dodatne funkcije, osredotočene na podjetja. Zabeležite svoja vprašanja prek tega klepetalnega robota ali nam pošljite e-pošto, da se pogovorimo o potrebah podjetja. </br>
+ > Za novoustanovljena podjetja in mala podjetja, ki uporabljajo AWS, si oglejte Dify Premium na AWS Marketplace in ga z enim klikom uvedite v svoj AWS VPC. To je cenovno ugodna ponudba AMI z možnostjo ustvarjanja aplikacij z logotipom in blagovno znamko po meri.
+
+
+## Staying ahead
+
+Star Dify on GitHub and be instantly notified of new releases.
+
+![star-us](https://github.com/langgenius/dify/assets/13230914/b823edc1-6388-4e25-ad45-2f6b187adbb4)
+
+
+## Napredne nastavitve
+
+Če morate prilagoditi konfiguracijo, si oglejte komentarje v naši datoteki .env.example in posodobite ustrezne vrednosti v svoji .env datoteki. Poleg tega boste morda morali prilagoditi docker-compose.yamlsamo datoteko, na primer spremeniti različice slike, preslikave vrat ali namestitve nosilca, glede na vaše specifično okolje in zahteve za uvajanje. Po kakršnih koli spremembah ponovno zaženite docker-compose up -d. Celoten seznam razpoložljivih spremenljivk okolja najdete tukaj .
+
+Če želite konfigurirati visoko razpoložljivo nastavitev, so na voljo Helm Charts in datoteke YAML, ki jih prispeva skupnost, ki omogočajo uvedbo Difyja v Kubernetes.
+
+- [Helm Chart by @LeoQuote](https://github.com/douban/charts/tree/master/charts/dify)
+- [Helm Chart by @BorisPolonsky](https://github.com/BorisPolonsky/dify-helm)
+- [YAML file by @Winson-030](https://github.com/Winson-030/dify-kubernetes)
+- [YAML file by @wyy-holding](https://github.com/wyy-holding/dify-k8s)
+
+#### Uporaba Terraform za uvajanje
+
+namestite Dify v Cloud Platform z enim klikom z uporabo [terraform](https://www.terraform.io/)
+
+##### Azure Global
+- [Azure Terraform by @nikawang](https://github.com/nikawang/dify-azure-terraform)
+
+##### Google Cloud
+- [Google Cloud Terraform by @sotazum](https://github.com/DeNA/dify-google-cloud-terraform)
+
+#### Uporaba AWS CDK za uvajanje
+
+Uvedite Dify v AWS z uporabo [CDK](https://aws.amazon.com/cdk/)
+
+##### AWS
+- [AWS CDK by @KevinZhao](https://github.com/aws-samples/solution-for-deploying-dify-on-aws)
+
+## Prispevam
+
+Za tiste, ki bi radi prispevali kodo, si oglejte naš vodnik za prispevke . Hkrati vas prosimo, da podprete Dify tako, da ga delite na družbenih medijih ter na dogodkih in konferencah.
+
+
+
+> Iščemo sodelavce za pomoč pri prevajanju Difyja v jezike, ki niso mandarinščina ali angleščina. Če želite pomagati, si oglejte i18n README za več informacij in nam pustite komentar v global-userskanalu našega strežnika skupnosti Discord .
+
+## Skupnost in stik
+
+* [Github Discussion](https://github.com/langgenius/dify/discussions). Najboljše za: izmenjavo povratnih informacij in postavljanje vprašanj.
+* [GitHub Issues](https://github.com/langgenius/dify/issues). Najboljše za: hrošče, na katere naletite pri uporabi Dify.AI, in predloge funkcij. Oglejte si naš [vodnik za prispevke](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md).
+* [Discord](https://discord.gg/FngNHpbcY7). Najboljše za: deljenje vaših aplikacij in druženje s skupnostjo.
+* [X(Twitter)](https://twitter.com/dify_ai). Najboljše za: deljenje vaših aplikacij in druženje s skupnostjo.
+
+**Contributors**
+
+<a href="https://github.com/langgenius/dify/graphs/contributors">
+ <img src="https://contrib.rocks/image?repo=langgenius/dify" />
+</a>
+
+## Star history
+
+[![Star History Chart](https://api.star-history.com/svg?repos=langgenius/dify&type=Date)](https://star-history.com/#langgenius/dify&Date)
+
+
+## Varnostno razkritje
+
+Zaradi zaščite vaše zasebnosti se izogibajte objavljanju varnostnih vprašanj na GitHub. Namesto tega pošljite vprašanja na [email protected] in zagotovili vam bomo podrobnejši odgovor.
+
+## Licenca
+
+To skladišče je na voljo pod [odprtokodno licenco Dify](LICENSE) , ki je v bistvu Apache 2.0 z nekaj dodatnimi omejitvami.
diff --git a/api/.dockerignore b/api/.dockerignore
index 447edcda08c..a0ce59d2217 100644
--- a/api/.dockerignore
+++ b/api/.dockerignore
@@ -16,4 +16,4 @@ logs
.ruff_cache
# venv
-.venv
\ No newline at end of file
+.venv
diff --git a/api/commands.py b/api/commands.py
index 99a3211baf1..07bc6cd9276 100644
--- a/api/commands.py
+++ b/api/commands.py
@@ -444,13 +444,13 @@ def convert_to_agent_apps():
WHERE a.mode = 'chat'
AND am.agent_mode is not null
AND (
- am.agent_mode like '%"strategy": "function_call"%'
+ am.agent_mode like '%"strategy": "function_call"%'
OR am.agent_mode like '%"strategy": "react"%'
- )
+ )
AND (
- am.agent_mode like '{"enabled": true%'
+ am.agent_mode like '{"enabled": true%'
OR am.agent_mode like '{"max_iteration": %'
- ) ORDER BY a.created_at DESC LIMIT 1000
+ ) ORDER BY a.created_at DESC LIMIT 1000
"""
with db.engine.begin() as conn:
diff --git a/api/core/agent/prompt/template.py b/api/core/agent/prompt/template.py
index ef64fd29fc3..f5ba2119f49 100644
--- a/api/core/agent/prompt/template.py
+++ b/api/core/agent/prompt/template.py
@@ -1,4 +1,4 @@
-ENGLISH_REACT_COMPLETION_PROMPT_TEMPLATES = """Respond to the human as helpfully and accurately as possible.
+ENGLISH_REACT_COMPLETION_PROMPT_TEMPLATES = """Respond to the human as helpfully and accurately as possible.
{{instruction}}
@@ -47,7 +47,7 @@ Thought:""" # noqa: E501
ENGLISH_REACT_COMPLETION_AGENT_SCRATCHPAD_TEMPLATES = """Observation: {{observation}}
Thought:"""
-ENGLISH_REACT_CHAT_PROMPT_TEMPLATES = """Respond to the human as helpfully and accurately as possible.
+ENGLISH_REACT_CHAT_PROMPT_TEMPLATES = """Respond to the human as helpfully and accurately as possible.
{{instruction}}
diff --git a/api/core/external_data_tool/api/__builtin__ b/api/core/external_data_tool/api/__builtin__
index 56a6051ca2b..d00491fd7e5 100644
--- a/api/core/external_data_tool/api/__builtin__
+++ b/api/core/external_data_tool/api/__builtin__
@@ -1 +1 @@
-1
\ No newline at end of file
+1
diff --git a/api/core/helper/code_executor/javascript/javascript_transformer.py b/api/core/helper/code_executor/javascript/javascript_transformer.py
index d67a0903aa4..62489cdf294 100644
--- a/api/core/helper/code_executor/javascript/javascript_transformer.py
+++ b/api/core/helper/code_executor/javascript/javascript_transformer.py
@@ -10,13 +10,13 @@ class NodeJsTemplateTransformer(TemplateTransformer):
f"""
// declare main function
{cls._code_placeholder}
-
+
// decode and prepare input object
var inputs_obj = JSON.parse(Buffer.from('{cls._inputs_placeholder}', 'base64').toString('utf-8'))
-
+
// execute main function
var output_obj = main(inputs_obj)
-
+
// convert output to json and print
var output_json = JSON.stringify(output_obj)
var result = `<<RESULT>>${{output_json}}<<RESULT>>`
diff --git a/api/core/helper/code_executor/jinja2/jinja2_transformer.py b/api/core/helper/code_executor/jinja2/jinja2_transformer.py
index 63d58edbc79..54c78cdf927 100644
--- a/api/core/helper/code_executor/jinja2/jinja2_transformer.py
+++ b/api/core/helper/code_executor/jinja2/jinja2_transformer.py
@@ -21,20 +21,20 @@ class Jinja2TemplateTransformer(TemplateTransformer):
import jinja2
template = jinja2.Template('''{cls._code_placeholder}''')
return template.render(**inputs)
-
+
import json
from base64 import b64decode
-
+
# decode and prepare input dict
inputs_obj = json.loads(b64decode('{cls._inputs_placeholder}').decode('utf-8'))
-
+
# execute main function
output = main(**inputs_obj)
-
+
# convert output and print
result = f'''<<RESULT>>{{output}}<<RESULT>>'''
print(result)
-
+
""")
return runner_script
@@ -43,15 +43,15 @@ class Jinja2TemplateTransformer(TemplateTransformer):
preload_script = dedent("""
import jinja2
from base64 import b64decode
-
+
def _jinja2_preload_():
# prepare jinja2 environment, load template and render before to avoid sandbox issue
template = jinja2.Template('{{s}}')
template.render(s='a')
-
+
if __name__ == '__main__':
_jinja2_preload_()
-
+
""")
return preload_script
diff --git a/api/core/helper/code_executor/python3/python3_transformer.py b/api/core/helper/code_executor/python3/python3_transformer.py
index 75a5a44d086..836fd273ae4 100644
--- a/api/core/helper/code_executor/python3/python3_transformer.py
+++ b/api/core/helper/code_executor/python3/python3_transformer.py
@@ -9,16 +9,16 @@ class Python3TemplateTransformer(TemplateTransformer):
runner_script = dedent(f"""
# declare main function
{cls._code_placeholder}
-
+
import json
from base64 import b64decode
-
+
# decode and prepare input dict
inputs_obj = json.loads(b64decode('{cls._inputs_placeholder}').decode('utf-8'))
-
+
# execute main function
output_obj = main(**inputs_obj)
-
+
# convert output to json and print
output_json = json.dumps(output_obj, indent=4)
result = f'''<<RESULT>>{{output_json}}<<RESULT>>'''
diff --git a/api/core/llm_generator/prompts.py b/api/core/llm_generator/prompts.py
index fad7cea01c7..34ea3aec26f 100644
--- a/api/core/llm_generator/prompts.py
+++ b/api/core/llm_generator/prompts.py
@@ -1,5 +1,5 @@
# Written by YORKI MINAKO🤡, Edited by Xiaoyi
-CONVERSATION_TITLE_PROMPT = """You need to decompose the user's input into "subject" and "intention" in order to accurately figure out what the user's input language actually is.
+CONVERSATION_TITLE_PROMPT = """You need to decompose the user's input into "subject" and "intention" in order to accurately figure out what the user's input language actually is.
Notice: the language type user uses could be diverse, which can be English, Chinese, Italian, Español, Arabic, Japanese, French, and etc.
ENSURE your output is in the SAME language as the user's input!
Your output is restricted only to: (Input language) Intention + Subject(short as possible)
@@ -58,7 +58,7 @@ User Input: yo, 你今天咋样?
"Your Output": "查询今日我的状态☺️"
}
-User Input:
+User Input:
""" # noqa: E501
PYTHON_CODE_GENERATOR_PROMPT_TEMPLATE = (
@@ -163,11 +163,11 @@ Here is a task description for which I would like you to create a high-quality p
{{TASK_DESCRIPTION}}
</task_description>
Based on task description, please create a well-structured prompt template that another AI could use to consistently complete the task. The prompt template should include:
-- Do not include <input> or <output> section and variables in the prompt, assume user will add them at their own will.
-- Clear instructions for the AI that will be using this prompt, demarcated with <instruction> tags. The instructions should provide step-by-step directions on how to complete the task using the input variables. Also Specifies in the instructions that the output should not contain any xml tag.
-- Relevant examples if needed to clarify the task further, demarcated with <example> tags. Do not include variables in the prompt. Give three pairs of input and output examples.
+- Do not include <input> or <output> section and variables in the prompt, assume user will add them at their own will.
+- Clear instructions for the AI that will be using this prompt, demarcated with <instruction> tags. The instructions should provide step-by-step directions on how to complete the task using the input variables. Also Specifies in the instructions that the output should not contain any xml tag.
+- Relevant examples if needed to clarify the task further, demarcated with <example> tags. Do not include variables in the prompt. Give three pairs of input and output examples.
- Include other relevant sections demarcated with appropriate XML tags like <examples>, <instruction>.
-- Use the same language as task description.
+- Use the same language as task description.
- Output in ``` xml ``` and start with <instruction>
Please generate the full prompt template with at least 300 words and output only the prompt template.
""" # noqa: E501
@@ -178,28 +178,28 @@ Here is a task description for which I would like you to create a high-quality p
{{TASK_DESCRIPTION}}
</task_description>
Based on task description, please create a well-structured prompt template that another AI could use to consistently complete the task. The prompt template should include:
-- Descriptive variable names surrounded by {{ }} (two curly brackets) to indicate where the actual values will be substituted in. Choose variable names that clearly indicate the type of value expected. Variable names have to be composed of number, english alphabets and underline and nothing else.
-- Clear instructions for the AI that will be using this prompt, demarcated with <instruction> tags. The instructions should provide step-by-step directions on how to complete the task using the input variables. Also Specifies in the instructions that the output should not contain any xml tag.
-- Relevant examples if needed to clarify the task further, demarcated with <example> tags. Do not use curly brackets any other than in <instruction> section.
+- Descriptive variable names surrounded by {{ }} (two curly brackets) to indicate where the actual values will be substituted in. Choose variable names that clearly indicate the type of value expected. Variable names have to be composed of number, english alphabets and underline and nothing else.
+- Clear instructions for the AI that will be using this prompt, demarcated with <instruction> tags. The instructions should provide step-by-step directions on how to complete the task using the input variables. Also Specifies in the instructions that the output should not contain any xml tag.
+- Relevant examples if needed to clarify the task further, demarcated with <example> tags. Do not use curly brackets any other than in <instruction> section.
- Any other relevant sections demarcated with appropriate XML tags like <input>, <output>, etc.
-- Use the same language as task description.
+- Use the same language as task description.
- Output in ``` xml ``` and start with <instruction>
Please generate the full prompt template and output only the prompt template.
""" # noqa: E501
RULE_CONFIG_PARAMETER_GENERATE_TEMPLATE = """
-I need to extract the following information from the input text. The <information to be extracted> tag specifies the 'type', 'description' and 'required' of the information to be extracted.
+I need to extract the following information from the input text. The <information to be extracted> tag specifies the 'type', 'description' and 'required' of the information to be extracted.
<information to be extracted>
-variables name bounded two double curly brackets. Variable name has to be composed of number, english alphabets and underline and nothing else.
+variables name bounded two double curly brackets. Variable name has to be composed of number, english alphabets and underline and nothing else.
</information to be extracted>
Step 1: Carefully read the input and understand the structure of the expected output.
-Step 2: Extract relevant parameters from the provided text based on the name and description of object.
+Step 2: Extract relevant parameters from the provided text based on the name and description of object.
Step 3: Structure the extracted parameters to JSON object as specified in <structure>.
-Step 4: Ensure that the list of variable_names is properly formatted and valid. The output should not contain any XML tags. Output an empty list if there is no valid variable name in input text.
+Step 4: Ensure that the list of variable_names is properly formatted and valid. The output should not contain any XML tags. Output an empty list if there is no valid variable name in input text.
### Structure
-Here is the structure of the expected output, I should always follow the output structure.
+Here is the structure of the expected output, I should always follow the output structure.
["variable_name_1", "variable_name_2"]
### Input Text
@@ -214,13 +214,13 @@ I should always output a valid list. Output nothing other than the list of varia
RULE_CONFIG_STATEMENT_GENERATE_TEMPLATE = """
<instruction>
-Step 1: Identify the purpose of the chatbot from the variable {{TASK_DESCRIPTION}} and infer chatbot's tone (e.g., friendly, professional, etc.) to add personality traits.
+Step 1: Identify the purpose of the chatbot from the variable {{TASK_DESCRIPTION}} and infer chatbot's tone (e.g., friendly, professional, etc.) to add personality traits.
Step 2: Create a coherent and engaging opening statement.
Step 3: Ensure the output is welcoming and clearly explains what the chatbot is designed to do. Do not include any XML tags in the output.
-Please use the same language as the user's input language. If user uses chinese then generate opening statement in chinese, if user uses english then generate opening statement in english.
-Example Input:
+Please use the same language as the user's input language. If user uses chinese then generate opening statement in chinese, if user uses english then generate opening statement in english.
+Example Input:
Provide customer support for an e-commerce website
-Example Output:
+Example Output:
Welcome! I'm here to assist you with any questions or issues you might have with your shopping experience. Whether you're looking for product information, need help with your order, or have any other inquiries, feel free to ask. I'm friendly, helpful, and ready to support you in any way I can.
<Task>
Here is the task description: {{INPUT_TEXT}}
@@ -276,15 +276,15 @@ Your task is to convert simple user descriptions into properly formatted JSON Sc
{
"type": "object",
"properties": {
- "email": {
+ "email": {
"type": "string",
"format": "email"
},
- "password": {
+ "password": {
"type": "string",
"minLength": 8
},
- "age": {
+ "age": {
"type": "integer",
"minimum": 18
}
diff --git a/api/core/model_runtime/docs/en_US/customizable_model_scale_out.md b/api/core/model_runtime/docs/en_US/customizable_model_scale_out.md
index 2d71e99fcee..d845c4bd09b 100644
--- a/api/core/model_runtime/docs/en_US/customizable_model_scale_out.md
+++ b/api/core/model_runtime/docs/en_US/customizable_model_scale_out.md
@@ -307,4 +307,4 @@ Runtime Errors:
"""
```
-For interface method details, see: [Interfaces](./interfaces.md). For specific implementations, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py).
\ No newline at end of file
+For interface method details, see: [Interfaces](./interfaces.md). For specific implementations, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py).
diff --git a/api/core/model_runtime/docs/en_US/predefined_model_scale_out.md b/api/core/model_runtime/docs/en_US/predefined_model_scale_out.md
index 3e16257452c..a770ed157b8 100644
--- a/api/core/model_runtime/docs/en_US/predefined_model_scale_out.md
+++ b/api/core/model_runtime/docs/en_US/predefined_model_scale_out.md
@@ -170,4 +170,4 @@ Runtime Errors:
"""
```
-For interface method explanations, see: [Interfaces](./interfaces.md). For detailed implementation, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py).
\ No newline at end of file
+For interface method explanations, see: [Interfaces](./interfaces.md). For detailed implementation, refer to: [llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py).
diff --git a/api/core/model_runtime/docs/zh_Hans/customizable_model_scale_out.md b/api/core/model_runtime/docs/zh_Hans/customizable_model_scale_out.md
index 88ec6861fe9..7d306554697 100644
--- a/api/core/model_runtime/docs/zh_Hans/customizable_model_scale_out.md
+++ b/api/core/model_runtime/docs/zh_Hans/customizable_model_scale_out.md
@@ -294,4 +294,4 @@ provider_credential_schema:
"""
```
-接口方法说明见:[Interfaces](./interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。
\ No newline at end of file
+接口方法说明见:[Interfaces](./interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。
diff --git a/api/core/model_runtime/docs/zh_Hans/predefined_model_scale_out.md b/api/core/model_runtime/docs/zh_Hans/predefined_model_scale_out.md
index b33dc7c94b0..80e7982e9f1 100644
--- a/api/core/model_runtime/docs/zh_Hans/predefined_model_scale_out.md
+++ b/api/core/model_runtime/docs/zh_Hans/predefined_model_scale_out.md
@@ -169,4 +169,4 @@ pricing: # 价格信息
"""
```
-接口方法说明见:[Interfaces](./interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。
\ No newline at end of file
+接口方法说明见:[Interfaces](./interfaces.md),具体实现可参考:[llm.py](https://github.com/langgenius/dify-runtime/blob/main/lib/model_providers/anthropic/llm/llm.py)。
diff --git a/api/core/moderation/api/__builtin__ b/api/core/moderation/api/__builtin__
index e440e5c8425..00750edc07d 100644
--- a/api/core/moderation/api/__builtin__
+++ b/api/core/moderation/api/__builtin__
@@ -1 +1 @@
-3
\ No newline at end of file
+3
diff --git a/api/core/moderation/keywords/__builtin__ b/api/core/moderation/keywords/__builtin__
index d8263ee9860..0cfbf08886f 100644
--- a/api/core/moderation/keywords/__builtin__
+++ b/api/core/moderation/keywords/__builtin__
@@ -1 +1 @@
-2
\ No newline at end of file
+2
diff --git a/api/core/moderation/openai_moderation/__builtin__ b/api/core/moderation/openai_moderation/__builtin__
index 56a6051ca2b..d00491fd7e5 100644
--- a/api/core/moderation/openai_moderation/__builtin__
+++ b/api/core/moderation/openai_moderation/__builtin__
@@ -1 +1 @@
-1
\ No newline at end of file
+1
diff --git a/api/core/plugin/backwards_invocation/model.py b/api/core/plugin/backwards_invocation/model.py
index 490a475c160..5ec9620f22d 100644
--- a/api/core/plugin/backwards_invocation/model.py
+++ b/api/core/plugin/backwards_invocation/model.py
@@ -239,8 +239,8 @@ class PluginModelBackwardsInvocation(BaseBackwardsInvocation):
content = payload.text
SUMMARY_PROMPT = """You are a professional language researcher, you are interested in the language
-and you can quickly aimed at the main point of an webpage and reproduce it in your own words but
-retain the original meaning and keep the key points.
+and you can quickly aimed at the main point of an webpage and reproduce it in your own words but
+retain the original meaning and keep the key points.
however, the text you got is too long, what you got is possible a part of the text.
Please summarize the text you got.
diff --git a/api/core/prompt/prompt_templates/baichuan_chat.json b/api/core/prompt/prompt_templates/baichuan_chat.json
index 03b6a53cfff..b3f7cdaa18b 100644
--- a/api/core/prompt/prompt_templates/baichuan_chat.json
+++ b/api/core/prompt/prompt_templates/baichuan_chat.json
@@ -10,4 +10,4 @@
],
"query_prompt": "\n\n用户:{{#query#}}",
"stops": ["用户:"]
-}
\ No newline at end of file
+}
diff --git a/api/core/prompt/prompt_templates/baichuan_completion.json b/api/core/prompt/prompt_templates/baichuan_completion.json
index ae8c0dac533..cee9ea47cd8 100644
--- a/api/core/prompt/prompt_templates/baichuan_completion.json
+++ b/api/core/prompt/prompt_templates/baichuan_completion.json
@@ -6,4 +6,4 @@
],
"query_prompt": "{{#query#}}",
"stops": null
-}
\ No newline at end of file
+}
diff --git a/api/core/prompt/prompt_templates/common_completion.json b/api/core/prompt/prompt_templates/common_completion.json
index c148772010f..706a8140d12 100644
--- a/api/core/prompt/prompt_templates/common_completion.json
+++ b/api/core/prompt/prompt_templates/common_completion.json
@@ -6,4 +6,4 @@
],
"query_prompt": "{{#query#}}",
"stops": null
-}
\ No newline at end of file
+}
diff --git a/api/core/rag/datasource/vdb/analyticdb/analyticdb_vector_sql.py b/api/core/rag/datasource/vdb/analyticdb/analyticdb_vector_sql.py
index c1792943bb0..14481b1f101 100644
--- a/api/core/rag/datasource/vdb/analyticdb/analyticdb_vector_sql.py
+++ b/api/core/rag/datasource/vdb/analyticdb/analyticdb_vector_sql.py
@@ -156,8 +156,8 @@ class AnalyticdbVectorBySql:
values = []
id_prefix = str(uuid.uuid4()) + "_"
sql = f"""
- INSERT INTO {self.table_name}
- (id, ref_doc_id, vector, page_content, metadata_, to_tsvector)
+ INSERT INTO {self.table_name}
+ (id, ref_doc_id, vector, page_content, metadata_, to_tsvector)
VALUES (%s, %s, %s, %s, %s, to_tsvector('zh_cn', %s));
"""
for i, doc in enumerate(documents):
@@ -242,7 +242,7 @@ class AnalyticdbVectorBySql:
where_clause += f"AND metadata_->>'document_id' IN ({document_ids})"
with self._get_cursor() as cur:
cur.execute(
- f"""SELECT id, vector, page_content, metadata_,
+ f"""SELECT id, vector, page_content, metadata_,
ts_rank(to_tsvector, to_tsquery_from_text(%s, 'zh_cn'), 32) AS score
FROM {self.table_name}
WHERE to_tsvector@@to_tsquery_from_text(%s, 'zh_cn') {where_clause}
diff --git a/api/core/rag/datasource/vdb/oceanbase/oceanbase_vector.py b/api/core/rag/datasource/vdb/oceanbase/oceanbase_vector.py
index ae6b0c51abd..2b47d179d20 100644
--- a/api/core/rag/datasource/vdb/oceanbase/oceanbase_vector.py
+++ b/api/core/rag/datasource/vdb/oceanbase/oceanbase_vector.py
@@ -203,7 +203,7 @@ class OceanBaseVector(BaseVector):
full_sql = f"""SELECT metadata, text, MATCH (text) AGAINST (:query) AS score
FROM {self._collection_name}
- WHERE MATCH (text) AGAINST (:query) > 0
+ WHERE MATCH (text) AGAINST (:query) > 0
{where_clause}
ORDER BY score DESC
LIMIT {top_k}"""
diff --git a/api/core/rag/datasource/vdb/opengauss/opengauss.py b/api/core/rag/datasource/vdb/opengauss/opengauss.py
index dae908f67d9..2548881b9c0 100644
--- a/api/core/rag/datasource/vdb/opengauss/opengauss.py
+++ b/api/core/rag/datasource/vdb/opengauss/opengauss.py
@@ -59,12 +59,12 @@ CREATE TABLE IF NOT EXISTS {table_name} (
"""
SQL_CREATE_INDEX_PQ = """
-CREATE INDEX IF NOT EXISTS embedding_{table_name}_pq_idx ON {table_name}
+CREATE INDEX IF NOT EXISTS embedding_{table_name}_pq_idx ON {table_name}
USING hnsw (embedding vector_cosine_ops) WITH (m = 16, ef_construction = 64, enable_pq=on, pq_m={pq_m});
"""
SQL_CREATE_INDEX = """
-CREATE INDEX IF NOT EXISTS embedding_cosine_{table_name}_idx ON {table_name}
+CREATE INDEX IF NOT EXISTS embedding_cosine_{table_name}_idx ON {table_name}
USING hnsw (embedding vector_cosine_ops) WITH (m = 16, ef_construction = 64);
"""
diff --git a/api/core/rag/datasource/vdb/oracle/oraclevector.py b/api/core/rag/datasource/vdb/oracle/oraclevector.py
index 63695e6f3fe..0a3738ac933 100644
--- a/api/core/rag/datasource/vdb/oracle/oraclevector.py
+++ b/api/core/rag/datasource/vdb/oracle/oraclevector.py
@@ -59,8 +59,8 @@ CREATE TABLE IF NOT EXISTS {table_name} (
)
"""
SQL_CREATE_INDEX = """
-CREATE INDEX IF NOT EXISTS idx_docs_{table_name} ON {table_name}(text)
-INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS
+CREATE INDEX IF NOT EXISTS idx_docs_{table_name} ON {table_name}(text)
+INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS
('FILTER CTXSYS.NULL_FILTER SECTION GROUP CTXSYS.HTML_SECTION_GROUP LEXER world_lexer')
"""
@@ -164,7 +164,7 @@ class OracleVector(BaseVector):
with conn.cursor() as cur:
try:
cur.execute(
- f"""INSERT INTO {self.table_name} (id, text, meta, embedding)
+ f"""INSERT INTO {self.table_name} (id, text, meta, embedding)
VALUES (:1, :2, :3, :4)""",
value,
)
@@ -227,8 +227,8 @@ class OracleVector(BaseVector):
conn.outputtypehandler = self.output_type_handler
with conn.cursor() as cur:
cur.execute(
- f"""SELECT meta, text, vector_distance(embedding,(select to_vector(:1) from dual),cosine)
- AS distance FROM {self.table_name}
+ f"""SELECT meta, text, vector_distance(embedding,(select to_vector(:1) from dual),cosine)
+ AS distance FROM {self.table_name}
{where_clause} ORDER BY distance fetch first {top_k} rows only""",
[numpy.array(query_vector)],
)
@@ -290,7 +290,7 @@ class OracleVector(BaseVector):
document_ids = ", ".join(f"'{id}'" for id in document_ids_filter)
where_clause = f" AND metadata->>'document_id' in ({document_ids}) "
cur.execute(
- f"""select meta, text, embedding FROM {self.table_name}
+ f"""select meta, text, embedding FROM {self.table_name}
WHERE CONTAINS(text, :kk, 1) > 0 {where_clause}
order by score(1) desc fetch first {top_k} rows only""",
kk=" ACCUM ".join(entities),
diff --git a/api/core/rag/datasource/vdb/pgvector/pgvector.py b/api/core/rag/datasource/vdb/pgvector/pgvector.py
index eab51ab01d1..366a21c381c 100644
--- a/api/core/rag/datasource/vdb/pgvector/pgvector.py
+++ b/api/core/rag/datasource/vdb/pgvector/pgvector.py
@@ -61,7 +61,7 @@ CREATE TABLE IF NOT EXISTS {table_name} (
"""
SQL_CREATE_INDEX = """
-CREATE INDEX IF NOT EXISTS embedding_cosine_v1_idx ON {table_name}
+CREATE INDEX IF NOT EXISTS embedding_cosine_v1_idx ON {table_name}
USING hnsw (embedding vector_cosine_ops) WITH (m = 16, ef_construction = 64);
"""
diff --git a/api/core/rag/datasource/vdb/pyvastbase/vastbase_vector.py b/api/core/rag/datasource/vdb/pyvastbase/vastbase_vector.py
index a61d571e16f..156730ff37f 100644
--- a/api/core/rag/datasource/vdb/pyvastbase/vastbase_vector.py
+++ b/api/core/rag/datasource/vdb/pyvastbase/vastbase_vector.py
@@ -58,7 +58,7 @@ CREATE TABLE IF NOT EXISTS {table_name} (
"""
SQL_CREATE_INDEX = """
-CREATE INDEX IF NOT EXISTS embedding_cosine_v1_idx ON {table_name}
+CREATE INDEX IF NOT EXISTS embedding_cosine_v1_idx ON {table_name}
USING hnsw (embedding floatvector_cosine_ops) WITH (m = 16, ef_construction = 64);
"""
diff --git a/api/core/rag/datasource/vdb/tidb_vector/tidb_vector.py b/api/core/rag/datasource/vdb/tidb_vector/tidb_vector.py
index 00229ce7004..61c68b939e2 100644
--- a/api/core/rag/datasource/vdb/tidb_vector/tidb_vector.py
+++ b/api/core/rag/datasource/vdb/tidb_vector/tidb_vector.py
@@ -205,9 +205,9 @@ class TiDBVector(BaseVector):
with Session(self._engine) as session:
select_statement = sql_text(f"""
- SELECT meta, text, distance
+ SELECT meta, text, distance
FROM (
- SELECT
+ SELECT
meta,
text,
{tidb_dist_func}(vector, :query_vector_str) AS distance
diff --git a/api/core/rag/retrieval/template_prompts.py b/api/core/rag/retrieval/template_prompts.py
index 7abd55d7984..acde8427028 100644
--- a/api/core/rag/retrieval/template_prompts.py
+++ b/api/core/rag/retrieval/template_prompts.py
@@ -50,7 +50,7 @@ You are a text metadata extract engine that extract text's metadata based on use
# Your task is to ONLY extract the metadatas that exist in the input text from the provided metadata list and Use the following operators ["=", "!=", ">", "<", ">=", "<="] to express logical relationships, then return result in JSON format with the key "metadata_fields" and value "metadata_field_value" and comparison operator "comparison_operator".
### Format
The input text is in the variable input_text. Metadata are specified as a list in the variable metadata_fields.
-### Constraint
+### Constraint
DO NOT include anything other than the JSON array in your response.
### Example
Here is the chat example between human and assistant, inside <example></example> XML tags.
@@ -59,7 +59,7 @@ User:{{"input_text": ["I want to know which company’s email address test@examp
Assistant:{{"metadata_map": [{{"metadata_field_name": "email", "metadata_field_value": "[email protected]", "comparison_operator": "="}}]}}
User:{{"input_text": "What are the movies with a score of more than 9 in 2024?", "metadata_fields": ["name", "year", "rating", "country"]}}
Assistant:{{"metadata_map": [{{"metadata_field_name": "year", "metadata_field_value": "2024", "comparison_operator": "="}, {{"metadata_field_name": "rating", "metadata_field_value": "9", "comparison_operator": ">"}}]}}
-</example>
+</example>
### User Input
{{"input_text" : "{input_text}", "metadata_fields" : {metadata_fields}}}
### Assistant Output
diff --git a/api/core/tools/builtin_tool/tool.py b/api/core/tools/builtin_tool/tool.py
index 7f37f98d0c1..724a2291c67 100644
--- a/api/core/tools/builtin_tool/tool.py
+++ b/api/core/tools/builtin_tool/tool.py
@@ -6,8 +6,8 @@ from core.tools.entities.tool_entities import ToolProviderType
from core.tools.utils.model_invocation_utils import ModelInvocationUtils
_SUMMARY_PROMPT = """You are a professional language researcher, you are interested in the language
-and you can quickly aimed at the main point of an webpage and reproduce it in your own words but
-retain the original meaning and keep the key points.
+and you can quickly aimed at the main point of an webpage and reproduce it in your own words but
+retain the original meaning and keep the key points.
however, the text you got is too long, what you got is possible a part of the text.
Please summarize the text you got.
"""
diff --git a/api/core/workflow/nodes/knowledge_retrieval/template_prompts.py b/api/core/workflow/nodes/knowledge_retrieval/template_prompts.py
index 7abd55d7984..acde8427028 100644
--- a/api/core/workflow/nodes/knowledge_retrieval/template_prompts.py
+++ b/api/core/workflow/nodes/knowledge_retrieval/template_prompts.py
@@ -50,7 +50,7 @@ You are a text metadata extract engine that extract text's metadata based on use
# Your task is to ONLY extract the metadatas that exist in the input text from the provided metadata list and Use the following operators ["=", "!=", ">", "<", ">=", "<="] to express logical relationships, then return result in JSON format with the key "metadata_fields" and value "metadata_field_value" and comparison operator "comparison_operator".
### Format
The input text is in the variable input_text. Metadata are specified as a list in the variable metadata_fields.
-### Constraint
+### Constraint
DO NOT include anything other than the JSON array in your response.
### Example
Here is the chat example between human and assistant, inside <example></example> XML tags.
@@ -59,7 +59,7 @@ User:{{"input_text": ["I want to know which company’s email address test@examp
Assistant:{{"metadata_map": [{{"metadata_field_name": "email", "metadata_field_value": "[email protected]", "comparison_operator": "="}}]}}
User:{{"input_text": "What are the movies with a score of more than 9 in 2024?", "metadata_fields": ["name", "year", "rating", "country"]}}
Assistant:{{"metadata_map": [{{"metadata_field_name": "year", "metadata_field_value": "2024", "comparison_operator": "="}, {{"metadata_field_name": "rating", "metadata_field_value": "9", "comparison_operator": ">"}}]}}
-</example>
+</example>
### User Input
{{"input_text" : "{input_text}", "metadata_fields" : {metadata_fields}}}
### Assistant Output
diff --git a/api/core/workflow/nodes/parameter_extractor/prompts.py b/api/core/workflow/nodes/parameter_extractor/prompts.py
index 6c3155ac9a5..ab7ddcc32ad 100644
--- a/api/core/workflow/nodes/parameter_extractor/prompts.py
+++ b/api/core/workflow/nodes/parameter_extractor/prompts.py
@@ -17,7 +17,7 @@ Some additional information is provided below. Always adhere to these instructio
</instruction>
Steps:
1. Review the chat history provided within the <histories> tags.
-2. Extract the relevant information based on the criteria given, output multiple values if there is multiple relevant information that match the criteria in the given text.
+2. Extract the relevant information based on the criteria given, output multiple values if there is multiple relevant information that match the criteria in the given text.
3. Generate a well-formatted output using the defined functions and arguments.
4. Use the `extract_parameter` function to create structured outputs with appropriate parameters.
5. Do not include any XML tags in your output.
@@ -89,13 +89,13 @@ Some extra information are provided below, I should always follow the instructio
</instructions>
### Extract parameter Workflow
-I need to extract the following information from the input text. The <information to be extracted> tag specifies the 'type', 'description' and 'required' of the information to be extracted.
+I need to extract the following information from the input text. The <information to be extracted> tag specifies the 'type', 'description' and 'required' of the information to be extracted.
<information to be extracted>
{{ structure }}
</information to be extracted>
Step 1: Carefully read the input and understand the structure of the expected output.
-Step 2: Extract relevant parameters from the provided text based on the name and description of object.
+Step 2: Extract relevant parameters from the provided text based on the name and description of object.
Step 3: Structure the extracted parameters to JSON object as specified in <structure>.
Step 4: Ensure that the JSON object is properly formatted and valid. The output should not contain any XML tags. Only the JSON object should be outputted.
@@ -106,10 +106,10 @@ Here are the chat histories between human and assistant, inside <histories></his
</histories>
### Structure
-Here is the structure of the expected output, I should always follow the output structure.
+Here is the structure of the expected output, I should always follow the output structure.
{{γγγ
- 'properties1': 'relevant text extracted from input',
- 'properties2': 'relevant text extracted from input',
+ 'properties1': 'relevant text extracted from input',
+ 'properties2': 'relevant text extracted from input',
}}γγγ
### Input Text
@@ -119,7 +119,7 @@ Inside <text></text> XML tags, there is a text that I should extract parameters
</text>
### Answer
-I should always output a valid JSON object. Output nothing other than the JSON object.
+I should always output a valid JSON object. Output nothing other than the JSON object.
```JSON
""" # noqa: E501
diff --git a/api/core/workflow/nodes/question_classifier/template_prompts.py b/api/core/workflow/nodes/question_classifier/template_prompts.py
index 70178ed9349..a615c323836 100644
--- a/api/core/workflow/nodes/question_classifier/template_prompts.py
+++ b/api/core/workflow/nodes/question_classifier/template_prompts.py
@@ -55,7 +55,7 @@ You are a text classification engine that analyzes text data and assigns categor
Your task is to assign one categories ONLY to the input text and only one category may be assigned returned in the output. Additionally, you need to extract the key words from the text that are related to the classification.
### Format
The input text is in the variable input_text. Categories are specified as a category list with two filed category_id and category_name in the variable categories. Classification instructions may be included to improve the classification accuracy.
-### Constraint
+### Constraint
DO NOT include anything other than the JSON array in your response.
### Example
Here is the chat example between human and assistant, inside <example></example> XML tags.
@@ -64,7 +64,7 @@ User:{{"input_text": ["I recently had a great experience with your company. The
Assistant:{{"keywords": ["recently", "great experience", "company", "service", "prompt", "staff", "friendly"],"category_id": "f5660049-284f-41a7-b301-fd24176a711c","category_name": "Customer Service"}}
User:{{"input_text": ["bad service, slow to bring the food"], "categories": [{{"category_id":"80fb86a0-4454-4bf5-924c-f253fdd83c02","category_name":"Food Quality"}},{{"category_id":"f6ff5bc3-aca0-4e4a-8627-e760d0aca78f","category_name":"Experience"}},{{"category_id":"cc771f63-74e7-4c61-882e-3eda9d8ba5d7","category_name":"Price"}}], "classification_instructions": []}}
Assistant:{{"keywords": ["bad service", "slow", "food", "tip", "terrible", "waitresses"],"category_id": "f6ff5bc3-aca0-4e4a-8627-e760d0aca78f","category_name": "Experience"}}
-</example>
+</example>
### Memory
Here are the chat histories between human and assistant, inside <histories></histories> XML tags.
<histories>
diff --git a/api/migrations/versions/2024_10_10_0516-bbadea11becb_add_name_and_size_to_tool_files.py b/api/migrations/versions/2024_10_10_0516-bbadea11becb_add_name_and_size_to_tool_files.py
index c17d1db77a9..5b5656e7ed4 100644
--- a/api/migrations/versions/2024_10_10_0516-bbadea11becb_add_name_and_size_to_tool_files.py
+++ b/api/migrations/versions/2024_10_10_0516-bbadea11becb_add_name_and_size_to_tool_files.py
@@ -21,14 +21,14 @@ def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
# Get the database connection
conn = op.get_bind()
-
+
# Use SQLAlchemy inspector to get the columns of the 'tool_files' table
inspector = sa.inspect(conn)
columns = [col['name'] for col in inspector.get_columns('tool_files')]
# If 'name' or 'size' columns already exist, exit the upgrade function
if 'name' in columns or 'size' in columns:
- return
+ return
with op.batch_alter_table('tool_files', schema=None) as batch_op:
batch_op.add_column(sa.Column('name', sa.String(), nullable=True))
diff --git a/api/migrations/versions/2024_12_20_0628-e1944c35e15e_add_retry_index_field_to_node_execution_.py b/api/migrations/versions/2024_12_20_0628-e1944c35e15e_add_retry_index_field_to_node_execution_.py
index 0facd0ecc09..ae9f2de9b1c 100644
--- a/api/migrations/versions/2024_12_20_0628-e1944c35e15e_add_retry_index_field_to_node_execution_.py
+++ b/api/migrations/versions/2024_12_20_0628-e1944c35e15e_add_retry_index_field_to_node_execution_.py
@@ -35,4 +35,4 @@ def downgrade():
# batch_op.drop_column('retry_index')
pass
- # ### end Alembic commands ###
\ No newline at end of file
+ # ### end Alembic commands ###
diff --git a/api/migrations/versions/2024_12_23_1154-d7999dfa4aae_remove_workflow_node_executions_retry_.py b/api/migrations/versions/2024_12_23_1154-d7999dfa4aae_remove_workflow_node_executions_retry_.py
index ea129d15f7e..07454b0917f 100644
--- a/api/migrations/versions/2024_12_23_1154-d7999dfa4aae_remove_workflow_node_executions_retry_.py
+++ b/api/migrations/versions/2024_12_23_1154-d7999dfa4aae_remove_workflow_node_executions_retry_.py
@@ -23,7 +23,7 @@ def upgrade():
conn = op.get_bind()
inspector = inspect(conn)
has_column = 'retry_index' in [col['name'] for col in inspector.get_columns('workflow_node_executions')]
-
+
if has_column:
with op.batch_alter_table('workflow_node_executions', schema=None) as batch_op:
batch_op.drop_column('retry_index')
diff --git a/api/migrations/versions/64b051264f32_init.py b/api/migrations/versions/64b051264f32_init.py
index 8c45ae898dd..b0fb3deac66 100644
--- a/api/migrations/versions/64b051264f32_init.py
+++ b/api/migrations/versions/64b051264f32_init.py
@@ -1,7 +1,7 @@
"""init
Revision ID: 64b051264f32
-Revises:
+Revises:
Create Date: 2023-05-13 14:26:59.085018
"""
diff --git a/api/migrations/versions/de95f5c77138_migration_serpapi_api_key.py b/api/migrations/versions/de95f5c77138_migration_serpapi_api_key.py
index fcca705d214..c18126286c3 100644
--- a/api/migrations/versions/de95f5c77138_migration_serpapi_api_key.py
+++ b/api/migrations/versions/de95f5c77138_migration_serpapi_api_key.py
@@ -99,12 +99,12 @@ def upgrade():
id=id,
tenant_id=tenant_id,
user_id=user_id,
- provider='google',
+ provider='google',
encrypted_credentials=encrypted_credentials,
created_at=created_at,
updated_at=updated_at
)
-
+
# ### end Alembic commands ###
diff --git a/api/services/plugin/data_migration.py b/api/services/plugin/data_migration.py
index 597585588b0..1c5abfecba1 100644
--- a/api/services/plugin/data_migration.py
+++ b/api/services/plugin/data_migration.py
@@ -86,9 +86,9 @@ limit 1000"""
update_retrieval_model_sql = ", retrieval_model = :retrieval_model"
params["retrieval_model"] = json.dumps(retrieval_model)
- sql = f"""update {table_name}
- set {provider_column_name} =
- concat('{DEFAULT_PLUGIN_ID}/', {provider_column_name}, '/', {provider_column_name})
+ sql = f"""update {table_name}
+ set {provider_column_name} =
+ concat('{DEFAULT_PLUGIN_ID}/', {provider_column_name}, '/', {provider_column_name})
{update_retrieval_model_sql}
where id = :record_id"""
conn.execute(db.text(sql), params)
@@ -131,10 +131,10 @@ limit 1000"""
while True:
sql = f"""
- SELECT id, {provider_column_name} AS provider_name
+ SELECT id, {provider_column_name} AS provider_name
FROM {table_name}
- WHERE {provider_column_name} NOT LIKE '%/%'
- AND {provider_column_name} IS NOT NULL
+ WHERE {provider_column_name} NOT LIKE '%/%'
+ AND {provider_column_name} IS NOT NULL
AND {provider_column_name} != ''
AND id > :last_id
ORDER BY id ASC
@@ -183,8 +183,8 @@ limit 1000"""
if batch_updates:
update_sql = f"""
- UPDATE {table_name}
- SET {provider_column_name} = :updated_value
+ UPDATE {table_name}
+ SET {provider_column_name} = :updated_value
WHERE id = :record_id
"""
conn.execute(db.text(update_sql), [{"updated_value": u, "record_id": r} for u, r in batch_updates])
diff --git a/api/templates/clean_document_job_mail_template-US.html b/api/templates/clean_document_job_mail_template-US.html
index 88e78f41c78..0f7ddc62a9b 100644
--- a/api/templates/clean_document_job_mail_template-US.html
+++ b/api/templates/clean_document_job_mail_template-US.html
@@ -77,7 +77,7 @@
<h1>Some Documents in Your Knowledge Base Have Been Disabled</h1>
<p>Dear {{userName}},</p>
<p>
- We're sorry for the inconvenience. To ensure optimal performance, documents
+ We're sorry for the inconvenience. To ensure optimal performance, documents
that haven’t been updated or accessed in the past 30 days have been disabled in
your knowledge bases:
</p>
@@ -97,4 +97,4 @@
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/api/templates/delete_account_code_email_template_en-US.html b/api/templates/delete_account_code_email_template_en-US.html
index 7707385334e..eca3dedf727 100644
--- a/api/templates/delete_account_code_email_template_en-US.html
+++ b/api/templates/delete_account_code_email_template_en-US.html
@@ -122,4 +122,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/api/templates/delete_account_success_template_en-US.html b/api/templates/delete_account_success_template_en-US.html
index c5df75cabce..b96eee11727 100644
--- a/api/templates/delete_account_success_template_en-US.html
+++ b/api/templates/delete_account_success_template_en-US.html
@@ -102,4 +102,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/api/tests/integration_tests/.gitignore b/api/tests/integration_tests/.gitignore
index 426667562b3..ed9875073ff 100644
--- a/api/tests/integration_tests/.gitignore
+++ b/api/tests/integration_tests/.gitignore
@@ -1 +1 @@
-.env.test
\ No newline at end of file
+.env.test
diff --git a/api/tests/unit_tests/.gitignore b/api/tests/unit_tests/.gitignore
index 426667562b3..ed9875073ff 100644
--- a/api/tests/unit_tests/.gitignore
+++ b/api/tests/unit_tests/.gitignore
@@ -1 +1 @@
-.env.test
\ No newline at end of file
+.env.test
diff --git a/dev/pytest/pytest_all_tests.sh b/dev/pytest/pytest_all_tests.sh
index c4318fb922d..f0c8a785485 100755
--- a/dev/pytest/pytest_all_tests.sh
+++ b/dev/pytest/pytest_all_tests.sh
@@ -11,4 +11,4 @@ dev/pytest/pytest_tools.sh
dev/pytest/pytest_workflow.sh
# Unit tests
-dev/pytest/pytest_unit_tests.sh
\ No newline at end of file
+dev/pytest/pytest_unit_tests.sh
diff --git a/dev/pytest/pytest_model_runtime.sh b/dev/pytest/pytest_model_runtime.sh
index 63891eb9f8d..dc6c6ac6273 100755
--- a/dev/pytest/pytest_model_runtime.sh
+++ b/dev/pytest/pytest_model_runtime.sh
@@ -10,4 +10,4 @@ pytest api/tests/integration_tests/model_runtime/anthropic \
api/tests/integration_tests/model_runtime/fireworks \
api/tests/integration_tests/model_runtime/nomic \
api/tests/integration_tests/model_runtime/mixedbread \
- api/tests/integration_tests/model_runtime/voyage
\ No newline at end of file
+ api/tests/integration_tests/model_runtime/voyage
diff --git a/docker/couchbase-server/Dockerfile b/docker/couchbase-server/Dockerfile
index bd8af64150f..23e487e4ed7 100644
--- a/docker/couchbase-server/Dockerfile
+++ b/docker/couchbase-server/Dockerfile
@@ -1,4 +1,4 @@
FROM couchbase/server:latest AS stage_base
-# FROM couchbase:latest AS stage_base
+# FROM couchbase:latest AS stage_base
COPY init-cbserver.sh /opt/couchbase/init/
-RUN chmod +x /opt/couchbase/init/init-cbserver.sh
\ No newline at end of file
+RUN chmod +x /opt/couchbase/init/init-cbserver.sh
diff --git a/docker/couchbase-server/init-cbserver.sh b/docker/couchbase-server/init-cbserver.sh
index e66bc185309..e19a650f23d 100755
--- a/docker/couchbase-server/init-cbserver.sh
+++ b/docker/couchbase-server/init-cbserver.sh
@@ -1,8 +1,8 @@
#!/bin/bash
-# used to start couchbase server - can't get around this as docker compose only allows you to start one command - so we have to start couchbase like the standard couchbase Dockerfile would
+# used to start couchbase server - can't get around this as docker compose only allows you to start one command - so we have to start couchbase like the standard couchbase Dockerfile would
# https://github.com/couchbase/docker/blob/master/enterprise/couchbase-server/7.2.0/Dockerfile#L88
-/entrypoint.sh couchbase-server &
+/entrypoint.sh couchbase-server &
# track if setup is complete so we don't try to setup again
FILE=/opt/couchbase/init/setupComplete.txt
@@ -36,9 +36,9 @@ if ! [ -f "$FILE" ]; then
--bucket-ramsize $COUCHBASE_BUCKET_RAMSIZE \
--bucket-type couchbase
- # create file so we know that the cluster is setup and don't run the setup again
+ # create file so we know that the cluster is setup and don't run the setup again
touch $FILE
-fi
+fi
# docker compose will stop the container from running unless we do this
# known issue and workaround
tail -f /dev/null
diff --git a/docker/middleware.env.example b/docker/middleware.env.example
index 1a4484a9b54..2ac09ea2642 100644
--- a/docker/middleware.env.example
+++ b/docker/middleware.env.example
@@ -144,4 +144,4 @@ PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING=
# Plugin oss tencent cos
PLUGIN_TENCENT_COS_SECRET_KEY=
PLUGIN_TENCENT_COS_SECRET_ID=
-PLUGIN_TENCENT_COS_REGION=
\ No newline at end of file
+PLUGIN_TENCENT_COS_REGION=
diff --git a/docker/nginx/docker-entrypoint.sh b/docker/nginx/docker-entrypoint.sh
index 8e1110ffa9a..763254e37ba 100755
--- a/docker/nginx/docker-entrypoint.sh
+++ b/docker/nginx/docker-entrypoint.sh
@@ -39,4 +39,4 @@ envsubst "$env_vars" < /etc/nginx/proxy.conf.template > /etc/nginx/proxy.conf
envsubst "$env_vars" < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
# Start Nginx using the default entrypoint
-exec nginx -g 'daemon off;'
\ No newline at end of file
+exec nginx -g 'daemon off;'
diff --git a/docker/nginx/https.conf.template b/docker/nginx/https.conf.template
index 95ea36f4633..296908d8be9 100644
--- a/docker/nginx/https.conf.template
+++ b/docker/nginx/https.conf.template
@@ -6,4 +6,4 @@ ssl_certificate_key ${SSL_CERTIFICATE_KEY_PATH};
ssl_protocols ${NGINX_SSL_PROTOCOLS};
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
-ssl_session_timeout 10m;
\ No newline at end of file
+ssl_session_timeout 10m;
diff --git a/docker/nginx/nginx.conf.template b/docker/nginx/nginx.conf.template
index 32a571653eb..20446fae2e0 100644
--- a/docker/nginx/nginx.conf.template
+++ b/docker/nginx/nginx.conf.template
@@ -31,4 +31,4 @@ http {
client_max_body_size ${NGINX_CLIENT_MAX_BODY_SIZE};
include /etc/nginx/conf.d/*.conf;
-}
\ No newline at end of file
+}
diff --git a/docker/ssrf_proxy/squid.conf.template b/docker/ssrf_proxy/squid.conf.template
index c74c1fb67b8..1775a1fff91 100644
--- a/docker/ssrf_proxy/squid.conf.template
+++ b/docker/ssrf_proxy/squid.conf.template
@@ -44,7 +44,7 @@ refresh_pattern . 0 20% 4320
# cache_dir ufs /var/spool/squid 100 16 256
# upstream proxy, set to your own upstream proxy IP to avoid SSRF attacks
-# cache_peer 172.1.1.1 parent 3128 0 no-query no-digest no-netdb-exchange default
+# cache_peer 172.1.1.1 parent 3128 0 no-query no-digest no-netdb-exchange default
################################## Reverse Proxy To Sandbox ################################
http_port ${REVERSE_PROXY_PORT} accel vhost
@@ -53,4 +53,4 @@ acl src_all src all
http_access allow src_all
# Unless the option's size is increased, an error will occur when uploading more than two files.
-client_request_buffer_max_size 100 MB
\ No newline at end of file
+client_request_buffer_max_size 100 MB
diff --git a/docker/startupscripts/init.sh b/docker/startupscripts/init.sh
index c6e6e1966f9..dcee1e19783 100755
--- a/docker/startupscripts/init.sh
+++ b/docker/startupscripts/init.sh
@@ -8,6 +8,6 @@ if [ -f ${DB_INITIALIZED} ]; then
exit
else
echo 'File does not exist. Standards for first time Start up this DB'
- "$ORACLE_HOME"/bin/sqlplus -s "/ as sysdba" @"/opt/oracle/scripts/startup/init_user.script";
+ "$ORACLE_HOME"/bin/sqlplus -s "/ as sysdba" @"/opt/oracle/scripts/startup/init_user.script";
touch ${DB_INITIALIZED}
fi
diff --git a/docker/startupscripts/init_user.script b/docker/startupscripts/init_user.script
index 0c5bff1ef65..e710d827e86 100755
--- a/docker/startupscripts/init_user.script
+++ b/docker/startupscripts/init_user.script
@@ -1,5 +1,5 @@
show pdbs;
-ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;
+ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;
alter session set container= freepdb1;
create user dify identified by dify DEFAULT TABLESPACE users quota unlimited on users;
grant DB_DEVELOPER_ROLE to dify;
diff --git a/docker/tidb/config/pd.toml b/docker/tidb/config/pd.toml
index 042b251e464..01e352a86a8 100644
--- a/docker/tidb/config/pd.toml
+++ b/docker/tidb/config/pd.toml
@@ -1,4 +1,4 @@
# PD Configuration File reference:
# https://docs.pingcap.com/tidb/stable/pd-configuration-file#pd-configuration-file
[replication]
-max-replicas = 1
\ No newline at end of file
+max-replicas = 1
diff --git a/docker/volumes/myscale/config/users.d/custom_users_config.xml b/docker/volumes/myscale/config/users.d/custom_users_config.xml
index 67f24b69ee2..b46e73a0e9c 100644
--- a/docker/volumes/myscale/config/users.d/custom_users_config.xml
+++ b/docker/volumes/myscale/config/users.d/custom_users_config.xml
@@ -14,4 +14,4 @@
<access_management>1</access_management>
</default>
</users>
-</clickhouse>
\ No newline at end of file
+</clickhouse>
diff --git a/docker/volumes/oceanbase/init.d/vec_memory.sql b/docker/volumes/oceanbase/init.d/vec_memory.sql
index f4c283fdf4b..0d859e5f7ce 100644
--- a/docker/volumes/oceanbase/init.d/vec_memory.sql
+++ b/docker/volumes/oceanbase/init.d/vec_memory.sql
@@ -1 +1 @@
-ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30;
\ No newline at end of file
+ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30;
diff --git a/sdks/nodejs-client/.gitignore b/sdks/nodejs-client/.gitignore
index 35d1a1461b1..1d40ff2ece9 100644
--- a/sdks/nodejs-client/.gitignore
+++ b/sdks/nodejs-client/.gitignore
@@ -45,4 +45,4 @@ package-lock.json
.yarnrc.yml
# pmpm
-pnpm-lock.yaml
\ No newline at end of file
+pnpm-lock.yaml
diff --git a/sdks/nodejs-client/index.d.ts b/sdks/nodejs-client/index.d.ts
index a2e6e50aef3..a8b7497f4f2 100644
--- a/sdks/nodejs-client/index.d.ts
+++ b/sdks/nodejs-client/index.d.ts
@@ -26,7 +26,7 @@ export declare class DifyClient {
params?: Params,
stream?: boolean,
headerParams?: HeaderParams
- ): Promise<any>;
+ ): Promise<any>;
messageFeedback(message_id: string, rating: number, user: User): Promise<any>;
@@ -64,9 +64,9 @@ export declare class ChatClient extends DifyClient {
getConversations(
- user: User,
- first_id?: string | null,
- limit?: number | null,
+ user: User,
+ first_id?: string | null,
+ limit?: number | null,
pinned?: boolean | null
): Promise<any>;
@@ -80,7 +80,7 @@ export declare class ChatClient extends DifyClient {
renameConversation(conversation_id: string, name: string, user: User,auto_generate:boolean): Promise<any>;
deleteConversation(conversation_id: string, user: User): Promise<any>;
-
+
audioToText(data: FormData): Promise<any>;
}
@@ -88,4 +88,4 @@ export declare class WorkflowClient extends DifyClient {
run(inputs: any, user: User, stream?: boolean,): Promise<any>;
stop(task_id: string, user: User): Promise<any>;
-}
\ No newline at end of file
+}
diff --git a/sdks/nodejs-client/index.js b/sdks/nodejs-client/index.js
index 858241ce5ae..0ba7bba8bb8 100644
--- a/sdks/nodejs-client/index.js
+++ b/sdks/nodejs-client/index.js
@@ -334,12 +334,12 @@ export class ChatClient extends DifyClient {
export class WorkflowClient extends DifyClient {
run(inputs,user,stream) {
- const data = {
- inputs,
+ const data = {
+ inputs,
response_mode: stream ? "streaming" : "blocking",
- user
+ user
};
-
+
return this.sendRequest(
routes.runWorkflow.method,
routes.runWorkflow.url(),
@@ -357,4 +357,4 @@ export class WorkflowClient extends DifyClient {
data
);
}
-}
\ No newline at end of file
+}
diff --git a/sdks/nodejs-client/index.test.js b/sdks/nodejs-client/index.test.js
index f300b16fc9a..1f5d6edb060 100644
--- a/sdks/nodejs-client/index.test.js
+++ b/sdks/nodejs-client/index.test.js
@@ -62,4 +62,4 @@ describe('Send Requests', () => {
errorMessage
)
})
-})
\ No newline at end of file
+})
diff --git a/sdks/nodejs-client/package.json b/sdks/nodejs-client/package.json
index cc27c5e0c02..cd3bcc4bced 100644
--- a/sdks/nodejs-client/package.json
+++ b/sdks/nodejs-client/package.json
@@ -32,4 +32,4 @@
"babel-jest": "^29.5.0",
"jest": "^29.5.0"
}
-}
\ No newline at end of file
+}
diff --git a/sdks/php-client/README.md b/sdks/php-client/README.md
index 812980d834e..91e77ad9ffc 100644
--- a/sdks/php-client/README.md
+++ b/sdks/php-client/README.md
@@ -92,4 +92,4 @@ Replace 'your-api-key-here' with your actual Dify API key.
## License
-This SDK is released under the MIT License.
\ No newline at end of file
+This SDK is released under the MIT License.
diff --git a/sdks/php-client/dify-client.php b/sdks/php-client/dify-client.php
index acb862093ae..b6cf261b66c 100644
--- a/sdks/php-client/dify-client.php
+++ b/sdks/php-client/dify-client.php
@@ -119,14 +119,14 @@ class ChatClient extends DifyClient {
return $this->send_request('POST', 'chat-messages', $data, null, $response_mode === 'streaming');
}
-
+
public function get_suggestions($message_id, $user) {
$params = [
'user' => $user
];
return $this->send_request('GET', "messages/{$message_id}/suggested", null, $params);
}
-
+
public function stop_message($task_id, $user) {
$data = ['user' => $user];
return $this->send_request('POST', "chat-messages/{$task_id}/stop", $data);
@@ -157,7 +157,7 @@ class ChatClient extends DifyClient {
return $this->send_request('GET', 'messages', null, $params);
}
-
+
public function rename_conversation($conversation_id, $name,$auto_generate, $user) {
$data = [
'name' => $name,
@@ -202,5 +202,5 @@ class WorkflowClient extends DifyClient{
];
return $this->send_request('POST', "workflows/tasks/{$task_id}/stop",$data);
}
-
-}
\ No newline at end of file
+
+}
diff --git a/sdks/python-client/MANIFEST.in b/sdks/python-client/MANIFEST.in
index da331d5e5ca..12f44237a2f 100644
--- a/sdks/python-client/MANIFEST.in
+++ b/sdks/python-client/MANIFEST.in
@@ -1 +1 @@
-recursive-include dify_client *.py
\ No newline at end of file
+recursive-include dify_client *.py
diff --git a/sdks/python-client/build.sh b/sdks/python-client/build.sh
index ca1a762c996..525f57c1ef0 100755
--- a/sdks/python-client/build.sh
+++ b/sdks/python-client/build.sh
@@ -6,4 +6,4 @@ rm -rf build dist *.egg-info
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
-twine upload dist/*
\ No newline at end of file
+twine upload dist/*
diff --git a/web/.dockerignore b/web/.dockerignore
index 45a8922ce9b..31eb66c2101 100644
--- a/web/.dockerignore
+++ b/web/.dockerignore
@@ -21,4 +21,4 @@ node_modules
# Jetbrains
-.idea
\ No newline at end of file
+.idea
diff --git a/web/.vscode/extensions.json b/web/.vscode/extensions.json
index a9afbcc6408..e0e72ce11e3 100644
--- a/web/.vscode/extensions.json
+++ b/web/.vscode/extensions.json
@@ -4,4 +4,4 @@
"firsttris.vscode-jest-runner",
"kisstkondoros.vscode-codemetrics"
]
-}
\ No newline at end of file
+}
diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/style.module.css b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/style.module.css
index 16392a5b4b1..45c7d197b40 100644
--- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/style.module.css
+++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/style.module.css
@@ -3,4 +3,4 @@
height: 0;
border-radius: 16px 16px 0px 0px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05), 0px 0px 2px -1px rgba(0, 0, 0, 0.03);
-}
\ No newline at end of file
+}
diff --git a/web/app/(commonLayout)/list.module.css b/web/app/(commonLayout)/list.module.css
index 2fc6469a6dd..c4d3aec29fc 100644
--- a/web/app/(commonLayout)/list.module.css
+++ b/web/app/(commonLayout)/list.module.css
@@ -214,4 +214,4 @@
.listItem:hover .unavailable {
@apply opacity-100;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app-sidebar/style.module.css b/web/app/components/app-sidebar/style.module.css
index 722b35bc714..ca0978b760e 100644
--- a/web/app/components/app-sidebar/style.module.css
+++ b/web/app/components/app-sidebar/style.module.css
@@ -5,7 +5,7 @@
.completionPic {
background-image: url('./completion.png')
}
-
+
.expertPic {
background-image: url('./expert.png')
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/base/var-highlight/style.module.css b/web/app/components/app/configuration/base/var-highlight/style.module.css
index cd5c8f8d775..2bcef0dabb9 100644
--- a/web/app/components/app/configuration/base/var-highlight/style.module.css
+++ b/web/app/components/app/configuration/base/var-highlight/style.module.css
@@ -1,3 +1,3 @@
.item {
background-color: rgba(21, 94, 239, 0.05);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/base/warning-mask/style.module.css b/web/app/components/app/configuration/base/warning-mask/style.module.css
index e1d6f10de9e..87f226fd96d 100644
--- a/web/app/components/app/configuration/base/warning-mask/style.module.css
+++ b/web/app/components/app/configuration/base/warning-mask/style.module.css
@@ -5,4 +5,4 @@
.icon {
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/config-prompt/style.module.css b/web/app/components/app/configuration/config-prompt/style.module.css
index 66785620b33..224d59d9c8a 100644
--- a/web/app/components/app/configuration/config-prompt/style.module.css
+++ b/web/app/components/app/configuration/config-prompt/style.module.css
@@ -25,4 +25,4 @@
.boxHeader:hover .optionWrap {
display: flex;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/config/automatic/style.module.css b/web/app/components/app/configuration/config/automatic/style.module.css
index 7ad3180a5a9..15bedd84ca4 100644
--- a/web/app/components/app/configuration/config/automatic/style.module.css
+++ b/web/app/components/app/configuration/config/automatic/style.module.css
@@ -4,4 +4,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/ctrl-btn-group/style.module.css b/web/app/components/app/configuration/ctrl-btn-group/style.module.css
index c7250b8f96f..3e874868a93 100644
--- a/web/app/components/app/configuration/ctrl-btn-group/style.module.css
+++ b/web/app/components/app/configuration/ctrl-btn-group/style.module.css
@@ -3,4 +3,4 @@
right: -16px;
bottom: -16px;
border-top: 1px solid #F3F4F6;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/dataset-config/card-item/style.module.css b/web/app/components/app/configuration/dataset-config/card-item/style.module.css
index 4ddec9ea37e..da07056cbc6 100644
--- a/web/app/components/app/configuration/dataset-config/card-item/style.module.css
+++ b/web/app/components/app/configuration/dataset-config/card-item/style.module.css
@@ -19,4 +19,4 @@
.settingBtn:hover {
background-color: rgba(0, 0, 0, 0.05);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/dataset-config/params-config/weighted-score.css b/web/app/components/app/configuration/dataset-config/params-config/weighted-score.css
index 5bfea0cac98..ef9350645a9 100644
--- a/web/app/components/app/configuration/dataset-config/params-config/weighted-score.css
+++ b/web/app/components/app/configuration/dataset-config/params-config/weighted-score.css
@@ -4,4 +4,4 @@
.weightedScoreSliderTrack-1 {
background: transparent !important;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/style.module.css b/web/app/components/app/configuration/style.module.css
index f0e57cefbf0..01f2c93167a 100644
--- a/web/app/components/app/configuration/style.module.css
+++ b/web/app/components/app/configuration/style.module.css
@@ -11,4 +11,4 @@
height: 3px;
background-color: rgba(68, 76, 231, 0.18);
transform: skewX(-30deg);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/app/configuration/tools/index.tsx b/web/app/components/app/configuration/tools/index.tsx
index cc34041ba36..ba586bb20df 100644
--- a/web/app/components/app/configuration/tools/index.tsx
+++ b/web/app/components/app/configuration/tools/index.tsx
@@ -87,7 +87,7 @@ const Tools = () => {
<div className='flex grow items-center'>
<div
className={`
- group mr-1 flex h-6 w-6 items-center justify-center rounded-md
+ group mr-1 flex h-6 w-6 items-center justify-center rounded-md
${externalDataToolsConfig.length && 'hover:bg-white hover:shadow-xs'}
`}
onClick={() => setExpanded(v => !v)}
diff --git a/web/app/components/app/overview/embedded/style.module.css b/web/app/components/app/overview/embedded/style.module.css
index bea829b0598..f2a4d2d0f47 100644
--- a/web/app/components/app/overview/embedded/style.module.css
+++ b/web/app/components/app/overview/embedded/style.module.css
@@ -17,4 +17,4 @@
}
.pluginInstallIcon {
background-image: url(../assets/chromeplugin-install.svg);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/action-button/index.css b/web/app/components/base/action-button/index.css
index 2cabe7aecc9..3c1a10b86f3 100644
--- a/web/app/components/base/action-button/index.css
+++ b/web/app/components/base/action-button/index.css
@@ -42,4 +42,4 @@
@apply text-text-destructive bg-state-destructive-hover
}
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/app-icon/style.module.css b/web/app/components/base/app-icon/style.module.css
index 151bc6d3fcf..4ee84fb4440 100644
--- a/web/app/components/base/app-icon/style.module.css
+++ b/web/app/components/base/app-icon/style.module.css
@@ -20,4 +20,4 @@
.appIcon.rounded {
@apply rounded-full;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/audio-btn/style.module.css b/web/app/components/base/audio-btn/style.module.css
index b8a4da6b68d..7e3175aa139 100644
--- a/web/app/components/base/audio-btn/style.module.css
+++ b/web/app/components/base/audio-btn/style.module.css
@@ -7,4 +7,4 @@
background-image: url(~@/app/components/develop/secret-key/assets/pause.svg);
background-position: center;
background-repeat: no-repeat;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/badge/index.css b/web/app/components/base/badge/index.css
index 99db573c9c7..24c62cdebc5 100644
--- a/web/app/components/base/badge/index.css
+++ b/web/app/components/base/badge/index.css
@@ -25,4 +25,4 @@
.badge.badge-accent {
@apply text-text-accent-secondary border border-text-accent-secondary
}
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/button/index.css b/web/app/components/base/button/index.css
index 5656cb9fdb0..47e59142cce 100644
--- a/web/app/components/base/button/index.css
+++ b/web/app/components/base/button/index.css
@@ -22,7 +22,7 @@
}
.btn-primary {
- @apply
+ @apply
shadow
bg-components-button-primary-bg
border-components-button-primary-border
@@ -32,7 +32,7 @@
}
.btn-primary.btn-destructive {
- @apply
+ @apply
bg-components-button-destructive-primary-bg
border-components-button-destructive-primary-border
hover:bg-components-button-destructive-primary-bg-hover
@@ -41,7 +41,7 @@
}
.btn-primary.btn-disabled {
- @apply
+ @apply
shadow-none
bg-components-button-primary-bg-disabled
border-components-button-primary-border-disabled
@@ -49,7 +49,7 @@
}
.btn-primary.btn-destructive.btn-disabled {
- @apply
+ @apply
shadow-none
bg-components-button-destructive-primary-bg-disabled
border-components-button-destructive-primary-border-disabled
@@ -57,130 +57,130 @@
}
.btn-secondary {
- @apply
+ @apply
border-[0.5px]
shadow-xs
- bg-components-button-secondary-bg
- border-components-button-secondary-border
- hover:bg-components-button-secondary-bg-hover
- hover:border-components-button-secondary-border-hover
+ bg-components-button-secondary-bg
+ border-components-button-secondary-border
+ hover:bg-components-button-secondary-bg-hover
+ hover:border-components-button-secondary-border-hover
text-components-button-secondary-text;
}
.btn-secondary.btn-disabled {
- @apply
- bg-components-button-secondary-bg-disabled
- border-components-button-secondary-border-disabled
+ @apply
+ bg-components-button-secondary-bg-disabled
+ border-components-button-secondary-border-disabled
text-components-button-secondary-text-disabled;
}
.btn-secondary.btn-destructive {
- @apply
- bg-components-button-destructive-secondary-bg
- border-components-button-destructive-secondary-border
- hover:bg-components-button-destructive-secondary-bg-hover
- hover:border-components-button-destructive-secondary-border-hover
+ @apply
+ bg-components-button-destructive-secondary-bg
+ border-components-button-destructive-secondary-border
+ hover:bg-components-button-destructive-secondary-bg-hover
+ hover:border-components-button-destructive-secondary-border-hover
text-components-button-destructive-secondary-text;
}
.btn-secondary.btn-destructive.btn-disabled {
- @apply
- bg-components-button-destructive-secondary-bg-disabled
- border-components-button-destructive-secondary-border-disabled
+ @apply
+ bg-components-button-destructive-secondary-bg-disabled
+ border-components-button-destructive-secondary-border-disabled
text-components-button-destructive-secondary-text-disabled;
}
-
+
.btn-secondary-accent {
- @apply
+ @apply
border-[0.5px]
shadow-xs
- bg-components-button-secondary-bg
- border-components-button-secondary-border
- hover:bg-components-button-secondary-bg-hover
- hover:border-components-button-secondary-border-hover
+ bg-components-button-secondary-bg
+ border-components-button-secondary-border
+ hover:bg-components-button-secondary-bg-hover
+ hover:border-components-button-secondary-border-hover
text-components-button-secondary-accent-text;
}
.btn-secondary-accent.btn-disabled {
- @apply
- bg-components-button-secondary-bg-disabled
- border-components-button-secondary-border-disabled
+ @apply
+ bg-components-button-secondary-bg-disabled
+ border-components-button-secondary-border-disabled
text-components-button-secondary-accent-text-disabled;
}
.btn-warning {
- @apply
- bg-components-button-destructive-primary-bg
- border-components-button-destructive-primary-border
- hover:bg-components-button-destructive-primary-bg-hover
- hover:border-components-button-destructive-primary-border-hover
+ @apply
+ bg-components-button-destructive-primary-bg
+ border-components-button-destructive-primary-border
+ hover:bg-components-button-destructive-primary-bg-hover
+ hover:border-components-button-destructive-primary-border-hover
text-components-button-destructive-primary-text;
}
.btn-warning.btn-disabled {
- @apply
- bg-components-button-destructive-primary-bg-disabled
- border-components-button-destructive-primary-border-disabled
+ @apply
+ bg-components-button-destructive-primary-bg-disabled
+ border-components-button-destructive-primary-border-disabled
text-components-button-destructive-primary-text-disabled;
}
.btn-tertiary {
- @apply
- bg-components-button-tertiary-bg
- hover:bg-components-button-tertiary-bg-hover
+ @apply
+ bg-components-button-tertiary-bg
+ hover:bg-components-button-tertiary-bg-hover
text-components-button-tertiary-text;
}
.btn-tertiary.btn-disabled {
- @apply
- bg-components-button-tertiary-bg-disabled
+ @apply
+ bg-components-button-tertiary-bg-disabled
text-components-button-tertiary-text-disabled;
}
.btn-tertiary.btn-destructive {
- @apply
- bg-components-button-destructive-tertiary-bg
- hover:bg-components-button-destructive-tertiary-bg-hover
+ @apply
+ bg-components-button-destructive-tertiary-bg
+ hover:bg-components-button-destructive-tertiary-bg-hover
text-components-button-destructive-tertiary-text;
}
.btn-tertiary.btn-destructive.btn-disabled {
- @apply
- bg-components-button-destructive-tertiary-bg-disabled
+ @apply
+ bg-components-button-destructive-tertiary-bg-disabled
text-components-button-destructive-tertiary-text-disabled;
}
.btn-ghost {
- @apply
- hover:bg-components-button-ghost-bg-hover
+ @apply
+ hover:bg-components-button-ghost-bg-hover
text-components-button-ghost-text;
}
.btn-ghost.btn-disabled {
- @apply
+ @apply
text-components-button-ghost-text-disabled;
}
.btn-ghost.btn-destructive {
- @apply
- hover:bg-components-button-destructive-ghost-bg-hover
+ @apply
+ hover:bg-components-button-destructive-ghost-bg-hover
text-components-button-destructive-ghost-text;
}
.btn-ghost.btn-destructive.btn-disabled {
- @apply
+ @apply
text-components-button-destructive-ghost-text-disabled;
}
.btn-ghost-accent {
- @apply
+ @apply
hover:bg-state-accent-hover
text-components-button-secondary-accent-text;
}
.btn-ghost-accent.btn-disabled {
- @apply
+ @apply
text-components-button-secondary-accent-text-disabled;
}
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/chat/chat/answer/__mocks__/markdownContentSVG.ts b/web/app/components/base/chat/chat/answer/__mocks__/markdownContentSVG.ts
index 67029cd1633..bcc3ae628d9 100644
--- a/web/app/components/base/chat/chat/answer/__mocks__/markdownContentSVG.ts
+++ b/web/app/components/base/chat/chat/answer/__mocks__/markdownContentSVG.ts
@@ -2,25 +2,25 @@ export const markdownContentSVG = `
\`\`\`svg
<svg width="400" height="600" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#F0F8FF"/>
-
+
<text x="50%" y="60" font-family="楷体" font-size="32" fill="#4682B4" text-anchor="middle">创意Logo设计</text>
-
+
<line x1="50" y1="80" x2="350" y2="80" stroke="#B0C4DE" stroke-width="2"/>
-
+
<text x="50%" y="120" font-family="Arial" font-size="24" fill="#708090" text-anchor="middle">科研</text>
<text x="50%" y="150" font-family="MS Mincho" font-size="20" fill="#778899" text-anchor="middle">科学研究</text>
-
+
<text x="50%" y="200" font-family="汇文明朝体" font-size="18" fill="#696969" text-anchor="middle">
<tspan x="50%" dy="25">探索未知的灯塔,</tspan>
<tspan x="50%" dy="25">照亮人类前进的道路。</tspan>
<tspan x="50%" dy="25">科研,是永不熄灭的好奇心,</tspan>
<tspan x="50%" dy="25">也是推动世界进步的引擎。</tspan>
</text>
-
+
<circle cx="200" cy="400" r="80" fill="none" stroke="#4169E1" stroke-width="3"/>
<line x1="200" y1="320" x2="200" y2="480" stroke="#4169E1" stroke-width="3"/>
<line x1="120" y1="400" x2="280" y2="400" stroke="#4169E1" stroke-width="3"/>
-
+
<text x="50%" y="550" font-family="微软雅黑" font-size="16" fill="#1E90FF" text-anchor="middle">探索 • 创新 • 进步</text>
</svg>
\`\`\`
diff --git a/web/app/components/base/chat/chat/loading-anim/style.module.css b/web/app/components/base/chat/chat/loading-anim/style.module.css
index 5a764db13c0..b1371ec82a3 100644
--- a/web/app/components/base/chat/chat/loading-anim/style.module.css
+++ b/web/app/components/base/chat/chat/loading-anim/style.module.css
@@ -79,4 +79,4 @@
.avatar::after {
left: 5px;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/copy-btn/style.module.css b/web/app/components/base/copy-btn/style.module.css
index 56c756025ba..83625d61891 100644
--- a/web/app/components/base/copy-btn/style.module.css
+++ b/web/app/components/base/copy-btn/style.module.css
@@ -12,4 +12,4 @@
.copyIcon.copied {
background-image: url(~@/app/components/develop/secret-key/assets/copied.svg);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/style.module.css b/web/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/style.module.css
index 4e93b39563f..8ef23b54b5b 100644
--- a/web/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/style.module.css
+++ b/web/app/components/base/features/new-feature-panel/annotation-reply/score-slider/base-slider/style.module.css
@@ -17,4 +17,4 @@
.slider-track-1 {
background-color: #E5E7EB;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/grid-mask/style.module.css b/web/app/components/base/grid-mask/style.module.css
index 4d135b3cfc9..e051271fab9 100644
--- a/web/app/components/base/grid-mask/style.module.css
+++ b/web/app/components/base/grid-mask/style.module.css
@@ -2,4 +2,4 @@
background-image: url(./Grid.svg);
background-repeat: repeat;
background-position: 0 0;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/avatar/Robot.json b/web/app/components/base/icons/src/public/avatar/Robot.json
index babc0f87a0e..8969a2a6497 100644
--- a/web/app/components/base/icons/src/public/avatar/Robot.json
+++ b/web/app/components/base/icons/src/public/avatar/Robot.json
@@ -89,4 +89,4 @@
]
},
"name": "Robot"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/avatar/User.json b/web/app/components/base/icons/src/public/avatar/User.json
index 01fb8e39c30..4b9ad7615fb 100644
--- a/web/app/components/base/icons/src/public/avatar/User.json
+++ b/web/app/components/base/icons/src/public/avatar/User.json
@@ -86,4 +86,4 @@
]
},
"name": "User"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/ArCube1.json b/web/app/components/base/icons/src/public/billing/ArCube1.json
index f341c9218f6..89d9786c043 100644
--- a/web/app/components/base/icons/src/public/billing/ArCube1.json
+++ b/web/app/components/base/icons/src/public/billing/ArCube1.json
@@ -26,4 +26,4 @@
]
},
"name": "ArCube1"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Asterisk.json b/web/app/components/base/icons/src/public/billing/Asterisk.json
index 6f70b27a1fe..d4a2e91b452 100644
--- a/web/app/components/base/icons/src/public/billing/Asterisk.json
+++ b/web/app/components/base/icons/src/public/billing/Asterisk.json
@@ -35,4 +35,4 @@
]
},
"name": "Asterisk"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/AwsMarketplace.json b/web/app/components/base/icons/src/public/billing/AwsMarketplace.json
index 8a0b1003cd5..8aeb93f7b2d 100644
--- a/web/app/components/base/icons/src/public/billing/AwsMarketplace.json
+++ b/web/app/components/base/icons/src/public/billing/AwsMarketplace.json
@@ -176,4 +176,4 @@
]
},
"name": "AwsMarketplace"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Azure.json b/web/app/components/base/icons/src/public/billing/Azure.json
index ad4cd429a65..fb6a9b9e95e 100644
--- a/web/app/components/base/icons/src/public/billing/Azure.json
+++ b/web/app/components/base/icons/src/public/billing/Azure.json
@@ -190,4 +190,4 @@
]
},
"name": "Azure"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Buildings.json b/web/app/components/base/icons/src/public/billing/Buildings.json
index f9dd3383284..62d22f97c65 100644
--- a/web/app/components/base/icons/src/public/billing/Buildings.json
+++ b/web/app/components/base/icons/src/public/billing/Buildings.json
@@ -36,4 +36,4 @@
]
},
"name": "Buildings"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Diamond.json b/web/app/components/base/icons/src/public/billing/Diamond.json
index 69ab74606bd..67170262325 100644
--- a/web/app/components/base/icons/src/public/billing/Diamond.json
+++ b/web/app/components/base/icons/src/public/billing/Diamond.json
@@ -36,4 +36,4 @@
]
},
"name": "Diamond"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/GoogleCloud.json b/web/app/components/base/icons/src/public/billing/GoogleCloud.json
index 244f05776f1..0c55bdaf03c 100644
--- a/web/app/components/base/icons/src/public/billing/GoogleCloud.json
+++ b/web/app/components/base/icons/src/public/billing/GoogleCloud.json
@@ -63,4 +63,4 @@
]
},
"name": "GoogleCloud"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Group2.json b/web/app/components/base/icons/src/public/billing/Group2.json
index b2424ba881e..8cc0896d5d6 100644
--- a/web/app/components/base/icons/src/public/billing/Group2.json
+++ b/web/app/components/base/icons/src/public/billing/Group2.json
@@ -26,4 +26,4 @@
]
},
"name": "Group2"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Keyframe.json b/web/app/components/base/icons/src/public/billing/Keyframe.json
index c721854d142..ed0dcb4fbaf 100644
--- a/web/app/components/base/icons/src/public/billing/Keyframe.json
+++ b/web/app/components/base/icons/src/public/billing/Keyframe.json
@@ -25,4 +25,4 @@
]
},
"name": "Keyframe"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/Sparkles.json b/web/app/components/base/icons/src/public/billing/Sparkles.json
index ea2bae44e7a..5317b509364 100644
--- a/web/app/components/base/icons/src/public/billing/Sparkles.json
+++ b/web/app/components/base/icons/src/public/billing/Sparkles.json
@@ -92,4 +92,4 @@
]
},
"name": "Sparkles"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/billing/SparklesSoft.json b/web/app/components/base/icons/src/public/billing/SparklesSoft.json
index ce4f11f4892..b6a5a6ddf4b 100644
--- a/web/app/components/base/icons/src/public/billing/SparklesSoft.json
+++ b/web/app/components/base/icons/src/public/billing/SparklesSoft.json
@@ -33,4 +33,4 @@
]
},
"name": "SparklesSoft"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/D.json b/web/app/components/base/icons/src/public/common/D.json
index 2090b8909db..ab4ed79135f 100644
--- a/web/app/components/base/icons/src/public/common/D.json
+++ b/web/app/components/base/icons/src/public/common/D.json
@@ -122,4 +122,4 @@
]
},
"name": "D"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/DiagonalDividingLine.json b/web/app/components/base/icons/src/public/common/DiagonalDividingLine.json
index 04475c2288b..a9e7cd72177 100644
--- a/web/app/components/base/icons/src/public/common/DiagonalDividingLine.json
+++ b/web/app/components/base/icons/src/public/common/DiagonalDividingLine.json
@@ -25,4 +25,4 @@
]
},
"name": "DiagonalDividingLine"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Dify.json b/web/app/components/base/icons/src/public/common/Dify.json
index 9926e919869..a954b667571 100644
--- a/web/app/components/base/icons/src/public/common/Dify.json
+++ b/web/app/components/base/icons/src/public/common/Dify.json
@@ -59,4 +59,4 @@
]
},
"name": "Dify"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Gdpr.json b/web/app/components/base/icons/src/public/common/Gdpr.json
index 3605030eb82..1e030b54d1e 100644
--- a/web/app/components/base/icons/src/public/common/Gdpr.json
+++ b/web/app/components/base/icons/src/public/common/Gdpr.json
@@ -337,4 +337,4 @@
]
},
"name": "Gdpr"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Github.json b/web/app/components/base/icons/src/public/common/Github.json
index abccde4f5e7..523bcd55b8e 100644
--- a/web/app/components/base/icons/src/public/common/Github.json
+++ b/web/app/components/base/icons/src/public/common/Github.json
@@ -33,4 +33,4 @@
]
},
"name": "Github"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Highlight.json b/web/app/components/base/icons/src/public/common/Highlight.json
index d18386eb013..055d9f79cab 100644
--- a/web/app/components/base/icons/src/public/common/Highlight.json
+++ b/web/app/components/base/icons/src/public/common/Highlight.json
@@ -64,4 +64,4 @@
]
},
"name": "Highlight"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Iso.json b/web/app/components/base/icons/src/public/common/Iso.json
index 6864a591c45..50f0267b606 100644
--- a/web/app/components/base/icons/src/public/common/Iso.json
+++ b/web/app/components/base/icons/src/public/common/Iso.json
@@ -118,4 +118,4 @@
]
},
"name": "Iso"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Line3.json b/web/app/components/base/icons/src/public/common/Line3.json
index 32f6d50bb8a..2beb66a5f47 100644
--- a/web/app/components/base/icons/src/public/common/Line3.json
+++ b/web/app/components/base/icons/src/public/common/Line3.json
@@ -25,4 +25,4 @@
]
},
"name": "Line3"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Lock.json b/web/app/components/base/icons/src/public/common/Lock.json
index 24af41a73dc..a5a1f4b7811 100644
--- a/web/app/components/base/icons/src/public/common/Lock.json
+++ b/web/app/components/base/icons/src/public/common/Lock.json
@@ -35,4 +35,4 @@
]
},
"name": "Lock"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/MessageChatSquare.json b/web/app/components/base/icons/src/public/common/MessageChatSquare.json
index 18069eda393..71cf6d0c988 100644
--- a/web/app/components/base/icons/src/public/common/MessageChatSquare.json
+++ b/web/app/components/base/icons/src/public/common/MessageChatSquare.json
@@ -34,4 +34,4 @@
]
},
"name": "MessageChatSquare"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/MultiPathRetrieval.json b/web/app/components/base/icons/src/public/common/MultiPathRetrieval.json
index d37b2636889..9d64edadd4b 100644
--- a/web/app/components/base/icons/src/public/common/MultiPathRetrieval.json
+++ b/web/app/components/base/icons/src/public/common/MultiPathRetrieval.json
@@ -150,4 +150,4 @@
]
},
"name": "MultiPathRetrieval"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/NTo1Retrieval.json b/web/app/components/base/icons/src/public/common/NTo1Retrieval.json
index 086522046fb..74ca34573f5 100644
--- a/web/app/components/base/icons/src/public/common/NTo1Retrieval.json
+++ b/web/app/components/base/icons/src/public/common/NTo1Retrieval.json
@@ -143,4 +143,4 @@
]
},
"name": "NTo1Retrieval"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Notion.json b/web/app/components/base/icons/src/public/common/Notion.json
index 27bb0081d0b..d27aeb8190e 100644
--- a/web/app/components/base/icons/src/public/common/Notion.json
+++ b/web/app/components/base/icons/src/public/common/Notion.json
@@ -80,4 +80,4 @@
]
},
"name": "Notion"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/Soc2.json b/web/app/components/base/icons/src/public/common/Soc2.json
index 34080b0adbb..38b9c5e606b 100644
--- a/web/app/components/base/icons/src/public/common/Soc2.json
+++ b/web/app/components/base/icons/src/public/common/Soc2.json
@@ -935,4 +935,4 @@
]
},
"name": "Soc2"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/common/SparklesSoft.json b/web/app/components/base/icons/src/public/common/SparklesSoft.json
index e22cec82a30..11ac030c5e9 100644
--- a/web/app/components/base/icons/src/public/common/SparklesSoft.json
+++ b/web/app/components/base/icons/src/public/common/SparklesSoft.json
@@ -44,4 +44,4 @@
]
},
"name": "SparklesSoft"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/education/Triangle.json b/web/app/components/base/icons/src/public/education/Triangle.json
index 92d7c82c437..ab00049ce10 100644
--- a/web/app/components/base/icons/src/public/education/Triangle.json
+++ b/web/app/components/base/icons/src/public/education/Triangle.json
@@ -24,4 +24,4 @@
]
},
"name": "Triangle"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Csv.json b/web/app/components/base/icons/src/public/files/Csv.json
index d4d2bd9f3e4..533dcd75255 100644
--- a/web/app/components/base/icons/src/public/files/Csv.json
+++ b/web/app/components/base/icons/src/public/files/Csv.json
@@ -178,4 +178,4 @@
]
},
"name": "Csv"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Doc.json b/web/app/components/base/icons/src/public/files/Doc.json
index f4513177a6d..9d219addd2b 100644
--- a/web/app/components/base/icons/src/public/files/Doc.json
+++ b/web/app/components/base/icons/src/public/files/Doc.json
@@ -166,4 +166,4 @@
]
},
"name": "Doc"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Docx.json b/web/app/components/base/icons/src/public/files/Docx.json
index 5054f083b4d..ffa9ef8d3be 100644
--- a/web/app/components/base/icons/src/public/files/Docx.json
+++ b/web/app/components/base/icons/src/public/files/Docx.json
@@ -175,4 +175,4 @@
]
},
"name": "Docx"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Html.json b/web/app/components/base/icons/src/public/files/Html.json
index 86134d1df99..f267073c47a 100644
--- a/web/app/components/base/icons/src/public/files/Html.json
+++ b/web/app/components/base/icons/src/public/files/Html.json
@@ -175,4 +175,4 @@
]
},
"name": "Html"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Json.json b/web/app/components/base/icons/src/public/files/Json.json
index ae2943dac66..0801fecc1c0 100644
--- a/web/app/components/base/icons/src/public/files/Json.json
+++ b/web/app/components/base/icons/src/public/files/Json.json
@@ -175,4 +175,4 @@
]
},
"name": "Json"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Md.json b/web/app/components/base/icons/src/public/files/Md.json
index da1669658c6..4a3cb687e6d 100644
--- a/web/app/components/base/icons/src/public/files/Md.json
+++ b/web/app/components/base/icons/src/public/files/Md.json
@@ -141,4 +141,4 @@
]
},
"name": "Md"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Pdf.json b/web/app/components/base/icons/src/public/files/Pdf.json
index e5ff4bc33bc..7770f2790d1 100644
--- a/web/app/components/base/icons/src/public/files/Pdf.json
+++ b/web/app/components/base/icons/src/public/files/Pdf.json
@@ -166,4 +166,4 @@
]
},
"name": "Pdf"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Txt.json b/web/app/components/base/icons/src/public/files/Txt.json
index e511b9271c7..c689fc680df 100644
--- a/web/app/components/base/icons/src/public/files/Txt.json
+++ b/web/app/components/base/icons/src/public/files/Txt.json
@@ -177,4 +177,4 @@
]
},
"name": "Txt"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Unknown.json b/web/app/components/base/icons/src/public/files/Unknown.json
index c39df990d02..f1351e039eb 100644
--- a/web/app/components/base/icons/src/public/files/Unknown.json
+++ b/web/app/components/base/icons/src/public/files/Unknown.json
@@ -196,4 +196,4 @@
]
},
"name": "Unknown"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Xlsx.json b/web/app/components/base/icons/src/public/files/Xlsx.json
index 9cd6a618bff..5f0e7a96fcf 100644
--- a/web/app/components/base/icons/src/public/files/Xlsx.json
+++ b/web/app/components/base/icons/src/public/files/Xlsx.json
@@ -142,4 +142,4 @@
]
},
"name": "Xlsx"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/files/Yaml.json b/web/app/components/base/icons/src/public/files/Yaml.json
index e35087a8e8d..aa05cb468ea 100644
--- a/web/app/components/base/icons/src/public/files/Yaml.json
+++ b/web/app/components/base/icons/src/public/files/Yaml.json
@@ -178,4 +178,4 @@
]
},
"name": "Yaml"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/Chunk.json b/web/app/components/base/icons/src/public/knowledge/Chunk.json
index 469d85d1a71..91e85f2ce12 100644
--- a/web/app/components/base/icons/src/public/knowledge/Chunk.json
+++ b/web/app/components/base/icons/src/public/knowledge/Chunk.json
@@ -113,4 +113,4 @@
]
},
"name": "Chunk"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/Collapse.json b/web/app/components/base/icons/src/public/knowledge/Collapse.json
index 66d457155d3..726b0740073 100644
--- a/web/app/components/base/icons/src/public/knowledge/Collapse.json
+++ b/web/app/components/base/icons/src/public/knowledge/Collapse.json
@@ -59,4 +59,4 @@
]
},
"name": "Collapse"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/GeneralType.json b/web/app/components/base/icons/src/public/knowledge/GeneralType.json
index 9a87d00a60c..5cbfb1a83c7 100644
--- a/web/app/components/base/icons/src/public/knowledge/GeneralType.json
+++ b/web/app/components/base/icons/src/public/knowledge/GeneralType.json
@@ -35,4 +35,4 @@
]
},
"name": "GeneralType"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/LayoutRight2LineMod.json b/web/app/components/base/icons/src/public/knowledge/LayoutRight2LineMod.json
index 26c5cf1d4f1..194bec705e0 100644
--- a/web/app/components/base/icons/src/public/knowledge/LayoutRight2LineMod.json
+++ b/web/app/components/base/icons/src/public/knowledge/LayoutRight2LineMod.json
@@ -33,4 +33,4 @@
]
},
"name": "LayoutRight2LineMod"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/ParentChildType.json b/web/app/components/base/icons/src/public/knowledge/ParentChildType.json
index 250da77fc88..2d3270e418e 100644
--- a/web/app/components/base/icons/src/public/knowledge/ParentChildType.json
+++ b/web/app/components/base/icons/src/public/knowledge/ParentChildType.json
@@ -53,4 +53,4 @@
]
},
"name": "ParentChildType"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/knowledge/SelectionMod.json b/web/app/components/base/icons/src/public/knowledge/SelectionMod.json
index ff8174a572d..c88e27809fa 100644
--- a/web/app/components/base/icons/src/public/knowledge/SelectionMod.json
+++ b/web/app/components/base/icons/src/public/knowledge/SelectionMod.json
@@ -113,4 +113,4 @@
]
},
"name": "SelectionMod"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Anthropic.json b/web/app/components/base/icons/src/public/llm/Anthropic.json
index f237bba80e6..db33abd6cc5 100644
--- a/web/app/components/base/icons/src/public/llm/Anthropic.json
+++ b/web/app/components/base/icons/src/public/llm/Anthropic.json
@@ -34,4 +34,4 @@
]
},
"name": "Anthropic"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AnthropicDark.json b/web/app/components/base/icons/src/public/llm/AnthropicDark.json
index 4f3af3ce79b..ca066c2e787 100644
--- a/web/app/components/base/icons/src/public/llm/AnthropicDark.json
+++ b/web/app/components/base/icons/src/public/llm/AnthropicDark.json
@@ -1043,4 +1043,4 @@
]
},
"name": "AnthropicDark"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AnthropicLight.json b/web/app/components/base/icons/src/public/llm/AnthropicLight.json
index 3e84eb4dd65..2d2b0aab3e9 100644
--- a/web/app/components/base/icons/src/public/llm/AnthropicLight.json
+++ b/web/app/components/base/icons/src/public/llm/AnthropicLight.json
@@ -1043,4 +1043,4 @@
]
},
"name": "AnthropicLight"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AnthropicText.json b/web/app/components/base/icons/src/public/llm/AnthropicText.json
index 72b3e6ebb77..7f89795d2f5 100644
--- a/web/app/components/base/icons/src/public/llm/AnthropicText.json
+++ b/web/app/components/base/icons/src/public/llm/AnthropicText.json
@@ -536,4 +536,4 @@
]
},
"name": "AnthropicText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AzureOpenaiService.json b/web/app/components/base/icons/src/public/llm/AzureOpenaiService.json
index 42cba3143b3..bf07b59a51c 100644
--- a/web/app/components/base/icons/src/public/llm/AzureOpenaiService.json
+++ b/web/app/components/base/icons/src/public/llm/AzureOpenaiService.json
@@ -71,4 +71,4 @@
]
},
"name": "AzureOpenaiService"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AzureOpenaiServiceText.json b/web/app/components/base/icons/src/public/llm/AzureOpenaiServiceText.json
index 12cdeec971a..f4342d7c395 100644
--- a/web/app/components/base/icons/src/public/llm/AzureOpenaiServiceText.json
+++ b/web/app/components/base/icons/src/public/llm/AzureOpenaiServiceText.json
@@ -233,4 +233,4 @@
]
},
"name": "AzureOpenaiServiceText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Azureai.json b/web/app/components/base/icons/src/public/llm/Azureai.json
index 8662cfb9377..004da326daf 100644
--- a/web/app/components/base/icons/src/public/llm/Azureai.json
+++ b/web/app/components/base/icons/src/public/llm/Azureai.json
@@ -177,4 +177,4 @@
]
},
"name": "Azureai"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/AzureaiText.json b/web/app/components/base/icons/src/public/llm/AzureaiText.json
index 2eb359960e1..44976aa8e29 100644
--- a/web/app/components/base/icons/src/public/llm/AzureaiText.json
+++ b/web/app/components/base/icons/src/public/llm/AzureaiText.json
@@ -240,4 +240,4 @@
]
},
"name": "AzureaiText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Baichuan.json b/web/app/components/base/icons/src/public/llm/Baichuan.json
index ad937030022..196fbada8c7 100644
--- a/web/app/components/base/icons/src/public/llm/Baichuan.json
+++ b/web/app/components/base/icons/src/public/llm/Baichuan.json
@@ -73,4 +73,4 @@
]
},
"name": "Baichuan"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/BaichuanText.json b/web/app/components/base/icons/src/public/llm/BaichuanText.json
index cda52e97fd9..c4dc1d11013 100644
--- a/web/app/components/base/icons/src/public/llm/BaichuanText.json
+++ b/web/app/components/base/icons/src/public/llm/BaichuanText.json
@@ -153,4 +153,4 @@
]
},
"name": "BaichuanText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Chatglm.json b/web/app/components/base/icons/src/public/llm/Chatglm.json
index 37a6aa9913a..c01787f8eb9 100644
--- a/web/app/components/base/icons/src/public/llm/Chatglm.json
+++ b/web/app/components/base/icons/src/public/llm/Chatglm.json
@@ -69,4 +69,4 @@
]
},
"name": "Chatglm"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/ChatglmText.json b/web/app/components/base/icons/src/public/llm/ChatglmText.json
index 80b765cfc8b..1fe28ea7494 100644
--- a/web/app/components/base/icons/src/public/llm/ChatglmText.json
+++ b/web/app/components/base/icons/src/public/llm/ChatglmText.json
@@ -132,4 +132,4 @@
]
},
"name": "ChatglmText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Cohere.json b/web/app/components/base/icons/src/public/llm/Cohere.json
index 255514e8b03..70628917da9 100644
--- a/web/app/components/base/icons/src/public/llm/Cohere.json
+++ b/web/app/components/base/icons/src/public/llm/Cohere.json
@@ -109,4 +109,4 @@
]
},
"name": "Cohere"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/CohereText.json b/web/app/components/base/icons/src/public/llm/CohereText.json
index 588b3458149..89657ccac64 100644
--- a/web/app/components/base/icons/src/public/llm/CohereText.json
+++ b/web/app/components/base/icons/src/public/llm/CohereText.json
@@ -87,4 +87,4 @@
]
},
"name": "CohereText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Gpt3.json b/web/app/components/base/icons/src/public/llm/Gpt3.json
index 253b9a3d3f6..383cb98d3a8 100644
--- a/web/app/components/base/icons/src/public/llm/Gpt3.json
+++ b/web/app/components/base/icons/src/public/llm/Gpt3.json
@@ -48,4 +48,4 @@
]
},
"name": "Gpt3"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Gpt4.json b/web/app/components/base/icons/src/public/llm/Gpt4.json
index 0e50c5f712c..b0d1941df16 100644
--- a/web/app/components/base/icons/src/public/llm/Gpt4.json
+++ b/web/app/components/base/icons/src/public/llm/Gpt4.json
@@ -48,4 +48,4 @@
]
},
"name": "Gpt4"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Huggingface.json b/web/app/components/base/icons/src/public/llm/Huggingface.json
index b3bd943da78..57e10e2b456 100644
--- a/web/app/components/base/icons/src/public/llm/Huggingface.json
+++ b/web/app/components/base/icons/src/public/llm/Huggingface.json
@@ -155,4 +155,4 @@
]
},
"name": "Huggingface"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/HuggingfaceText.json b/web/app/components/base/icons/src/public/llm/HuggingfaceText.json
index 4e80364b55b..d113e64f171 100644
--- a/web/app/components/base/icons/src/public/llm/HuggingfaceText.json
+++ b/web/app/components/base/icons/src/public/llm/HuggingfaceText.json
@@ -319,4 +319,4 @@
]
},
"name": "HuggingfaceText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/HuggingfaceTextHub.json b/web/app/components/base/icons/src/public/llm/HuggingfaceTextHub.json
index 9dcc6d64a88..0500abf2db1 100644
--- a/web/app/components/base/icons/src/public/llm/HuggingfaceTextHub.json
+++ b/web/app/components/base/icons/src/public/llm/HuggingfaceTextHub.json
@@ -347,4 +347,4 @@
]
},
"name": "HuggingfaceTextHub"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/IflytekSpark.json b/web/app/components/base/icons/src/public/llm/IflytekSpark.json
index 03f50d7e394..1803b5f573b 100644
--- a/web/app/components/base/icons/src/public/llm/IflytekSpark.json
+++ b/web/app/components/base/icons/src/public/llm/IflytekSpark.json
@@ -41,4 +41,4 @@
]
},
"name": "IflytekSpark"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/IflytekSparkText.json b/web/app/components/base/icons/src/public/llm/IflytekSparkText.json
index bd51f88aeb2..2b01c14a6d8 100644
--- a/web/app/components/base/icons/src/public/llm/IflytekSparkText.json
+++ b/web/app/components/base/icons/src/public/llm/IflytekSparkText.json
@@ -184,4 +184,4 @@
]
},
"name": "IflytekSparkText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/IflytekSparkTextCn.json b/web/app/components/base/icons/src/public/llm/IflytekSparkTextCn.json
index 4c874ad6ec5..22d1411037a 100644
--- a/web/app/components/base/icons/src/public/llm/IflytekSparkTextCn.json
+++ b/web/app/components/base/icons/src/public/llm/IflytekSparkTextCn.json
@@ -95,4 +95,4 @@
]
},
"name": "IflytekSparkTextCn"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Jina.json b/web/app/components/base/icons/src/public/llm/Jina.json
index fc40c022f5d..88d70a3ff11 100644
--- a/web/app/components/base/icons/src/public/llm/Jina.json
+++ b/web/app/components/base/icons/src/public/llm/Jina.json
@@ -32,4 +32,4 @@
]
},
"name": "Jina"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/JinaText.json b/web/app/components/base/icons/src/public/llm/JinaText.json
index 04831fa4aaa..08e76ef580f 100644
--- a/web/app/components/base/icons/src/public/llm/JinaText.json
+++ b/web/app/components/base/icons/src/public/llm/JinaText.json
@@ -79,4 +79,4 @@
]
},
"name": "JinaText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Localai.json b/web/app/components/base/icons/src/public/llm/Localai.json
index 30b9786182b..e0f85498d76 100644
--- a/web/app/components/base/icons/src/public/llm/Localai.json
+++ b/web/app/components/base/icons/src/public/llm/Localai.json
@@ -104,4 +104,4 @@
]
},
"name": "Localai"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/LocalaiText.json b/web/app/components/base/icons/src/public/llm/LocalaiText.json
index e7a45194aa9..849f7ae4f42 100644
--- a/web/app/components/base/icons/src/public/llm/LocalaiText.json
+++ b/web/app/components/base/icons/src/public/llm/LocalaiText.json
@@ -167,4 +167,4 @@
]
},
"name": "LocalaiText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Microsoft.json b/web/app/components/base/icons/src/public/llm/Microsoft.json
index 692cd25eaed..ab2c0522c72 100644
--- a/web/app/components/base/icons/src/public/llm/Microsoft.json
+++ b/web/app/components/base/icons/src/public/llm/Microsoft.json
@@ -73,4 +73,4 @@
]
},
"name": "Microsoft"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiBlack.json b/web/app/components/base/icons/src/public/llm/OpenaiBlack.json
index ad722849e7b..9f4a9914d39 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiBlack.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiBlack.json
@@ -34,4 +34,4 @@
]
},
"name": "OpenaiBlack"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiBlue.json b/web/app/components/base/icons/src/public/llm/OpenaiBlue.json
index 60b3fc6cf8e..5c716f7cddd 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiBlue.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiBlue.json
@@ -34,4 +34,4 @@
]
},
"name": "OpenaiBlue"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiGreen.json b/web/app/components/base/icons/src/public/llm/OpenaiGreen.json
index 9ca36b6aa43..8980e858ca1 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiGreen.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiGreen.json
@@ -34,4 +34,4 @@
]
},
"name": "OpenaiGreen"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiText.json b/web/app/components/base/icons/src/public/llm/OpenaiText.json
index 469aacf9d34..f5fc3de6b90 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiText.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiText.json
@@ -74,4 +74,4 @@
]
},
"name": "OpenaiText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiTransparent.json b/web/app/components/base/icons/src/public/llm/OpenaiTransparent.json
index 00a410dce02..13b9cb49058 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiTransparent.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiTransparent.json
@@ -23,4 +23,4 @@
]
},
"name": "OpenaiTransparent"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenaiViolet.json b/web/app/components/base/icons/src/public/llm/OpenaiViolet.json
index 927699bec2b..efff2feacf3 100644
--- a/web/app/components/base/icons/src/public/llm/OpenaiViolet.json
+++ b/web/app/components/base/icons/src/public/llm/OpenaiViolet.json
@@ -34,4 +34,4 @@
]
},
"name": "OpenaiViolet"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Openllm.json b/web/app/components/base/icons/src/public/llm/Openllm.json
index 1c71fa9c6ff..93eec11dfe7 100644
--- a/web/app/components/base/icons/src/public/llm/Openllm.json
+++ b/web/app/components/base/icons/src/public/llm/Openllm.json
@@ -80,4 +80,4 @@
]
},
"name": "Openllm"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/OpenllmText.json b/web/app/components/base/icons/src/public/llm/OpenllmText.json
index ad5179e9ee3..d5705de10ec 100644
--- a/web/app/components/base/icons/src/public/llm/OpenllmText.json
+++ b/web/app/components/base/icons/src/public/llm/OpenllmText.json
@@ -140,4 +140,4 @@
]
},
"name": "OpenllmText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Replicate.json b/web/app/components/base/icons/src/public/llm/Replicate.json
index 089d111eef1..303c2391930 100644
--- a/web/app/components/base/icons/src/public/llm/Replicate.json
+++ b/web/app/components/base/icons/src/public/llm/Replicate.json
@@ -36,4 +36,4 @@
]
},
"name": "Replicate"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/ReplicateText.json b/web/app/components/base/icons/src/public/llm/ReplicateText.json
index c163ccbe74a..b2d597c2ed0 100644
--- a/web/app/components/base/icons/src/public/llm/ReplicateText.json
+++ b/web/app/components/base/icons/src/public/llm/ReplicateText.json
@@ -113,4 +113,4 @@
]
},
"name": "ReplicateText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/XorbitsInference.json b/web/app/components/base/icons/src/public/llm/XorbitsInference.json
index fae25b37f9a..b2d3b1a0720 100644
--- a/web/app/components/base/icons/src/public/llm/XorbitsInference.json
+++ b/web/app/components/base/icons/src/public/llm/XorbitsInference.json
@@ -173,4 +173,4 @@
]
},
"name": "XorbitsInference"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/XorbitsInferenceText.json b/web/app/components/base/icons/src/public/llm/XorbitsInferenceText.json
index b8dac91644c..967ee6d6c40 100644
--- a/web/app/components/base/icons/src/public/llm/XorbitsInferenceText.json
+++ b/web/app/components/base/icons/src/public/llm/XorbitsInferenceText.json
@@ -326,4 +326,4 @@
]
},
"name": "XorbitsInferenceText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/Zhipuai.json b/web/app/components/base/icons/src/public/llm/Zhipuai.json
index 7f93c634d01..87955688a5d 100644
--- a/web/app/components/base/icons/src/public/llm/Zhipuai.json
+++ b/web/app/components/base/icons/src/public/llm/Zhipuai.json
@@ -50,4 +50,4 @@
]
},
"name": "Zhipuai"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/ZhipuaiText.json b/web/app/components/base/icons/src/public/llm/ZhipuaiText.json
index 455a60695c2..12eb65a53ad 100644
--- a/web/app/components/base/icons/src/public/llm/ZhipuaiText.json
+++ b/web/app/components/base/icons/src/public/llm/ZhipuaiText.json
@@ -41,4 +41,4 @@
]
},
"name": "ZhipuaiText"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/llm/ZhipuaiTextCn.json b/web/app/components/base/icons/src/public/llm/ZhipuaiTextCn.json
index 6002e07f6fb..c5b1755f0cd 100644
--- a/web/app/components/base/icons/src/public/llm/ZhipuaiTextCn.json
+++ b/web/app/components/base/icons/src/public/llm/ZhipuaiTextCn.json
@@ -59,4 +59,4 @@
]
},
"name": "ZhipuaiTextCn"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/model/Checked.json b/web/app/components/base/icons/src/public/model/Checked.json
index f8ea9448187..7e96db728f6 100644
--- a/web/app/components/base/icons/src/public/model/Checked.json
+++ b/web/app/components/base/icons/src/public/model/Checked.json
@@ -26,4 +26,4 @@
]
},
"name": "Checked"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/other/DefaultToolIcon.json b/web/app/components/base/icons/src/public/other/DefaultToolIcon.json
index 32412e8d01b..32786d2281b 100644
--- a/web/app/components/base/icons/src/public/other/DefaultToolIcon.json
+++ b/web/app/components/base/icons/src/public/other/DefaultToolIcon.json
@@ -78,4 +78,4 @@
]
},
"name": "DefaultToolIcon"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/other/Icon3Dots.json b/web/app/components/base/icons/src/public/other/Icon3Dots.json
index 9c6d232839b..b59b293cec4 100644
--- a/web/app/components/base/icons/src/public/other/Icon3Dots.json
+++ b/web/app/components/base/icons/src/public/other/Icon3Dots.json
@@ -26,4 +26,4 @@
]
},
"name": "Icon3Dots"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/other/Message3Fill.json b/web/app/components/base/icons/src/public/other/Message3Fill.json
index 250ce5cdeac..ae84890abca 100644
--- a/web/app/components/base/icons/src/public/other/Message3Fill.json
+++ b/web/app/components/base/icons/src/public/other/Message3Fill.json
@@ -170,4 +170,4 @@
]
},
"name": "Message3Fill"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/other/RowStruct.json b/web/app/components/base/icons/src/public/other/RowStruct.json
index 0d1ef43f4f5..49ef71753c8 100644
--- a/web/app/components/base/icons/src/public/other/RowStruct.json
+++ b/web/app/components/base/icons/src/public/other/RowStruct.json
@@ -53,4 +53,4 @@
]
},
"name": "RowStruct"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/Google.json b/web/app/components/base/icons/src/public/plugins/Google.json
index 6f04dddb9b3..198050e04cb 100644
--- a/web/app/components/base/icons/src/public/plugins/Google.json
+++ b/web/app/components/base/icons/src/public/plugins/Google.json
@@ -50,4 +50,4 @@
]
},
"name": "Google"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/PartnerDark.json b/web/app/components/base/icons/src/public/plugins/PartnerDark.json
index 37135d4b212..af3f2083e4b 100644
--- a/web/app/components/base/icons/src/public/plugins/PartnerDark.json
+++ b/web/app/components/base/icons/src/public/plugins/PartnerDark.json
@@ -444,4 +444,4 @@
]
},
"name": "PartnerDark"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/PartnerLight.json b/web/app/components/base/icons/src/public/plugins/PartnerLight.json
index f726fca7d89..3d7391bcaab 100644
--- a/web/app/components/base/icons/src/public/plugins/PartnerLight.json
+++ b/web/app/components/base/icons/src/public/plugins/PartnerLight.json
@@ -443,4 +443,4 @@
]
},
"name": "PartnerLight"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/VerifiedDark.json b/web/app/components/base/icons/src/public/plugins/VerifiedDark.json
index 4da3a28a74f..ed228262b50 100644
--- a/web/app/components/base/icons/src/public/plugins/VerifiedDark.json
+++ b/web/app/components/base/icons/src/public/plugins/VerifiedDark.json
@@ -454,4 +454,4 @@
]
},
"name": "VerifiedDark"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/VerifiedLight.json b/web/app/components/base/icons/src/public/plugins/VerifiedLight.json
index b41bdb72e19..b31fe655b34 100644
--- a/web/app/components/base/icons/src/public/plugins/VerifiedLight.json
+++ b/web/app/components/base/icons/src/public/plugins/VerifiedLight.json
@@ -453,4 +453,4 @@
]
},
"name": "VerifiedLight"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/WebReader.json b/web/app/components/base/icons/src/public/plugins/WebReader.json
index 42ec3d9e780..58c828309c6 100644
--- a/web/app/components/base/icons/src/public/plugins/WebReader.json
+++ b/web/app/components/base/icons/src/public/plugins/WebReader.json
@@ -36,4 +36,4 @@
]
},
"name": "WebReader"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/plugins/Wikipedia.json b/web/app/components/base/icons/src/public/plugins/Wikipedia.json
index 7a16433be77..af2d505c857 100644
--- a/web/app/components/base/icons/src/public/plugins/Wikipedia.json
+++ b/web/app/components/base/icons/src/public/plugins/Wikipedia.json
@@ -23,4 +23,4 @@
]
},
"name": "Wikipedia"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/thought/DataSet.json b/web/app/components/base/icons/src/public/thought/DataSet.json
index 55952fe9d22..5be61dac9d2 100644
--- a/web/app/components/base/icons/src/public/thought/DataSet.json
+++ b/web/app/components/base/icons/src/public/thought/DataSet.json
@@ -61,4 +61,4 @@
]
},
"name": "DataSet"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/thought/Loading.json b/web/app/components/base/icons/src/public/thought/Loading.json
index f19a3b10092..23e68662c4f 100644
--- a/web/app/components/base/icons/src/public/thought/Loading.json
+++ b/web/app/components/base/icons/src/public/thought/Loading.json
@@ -61,4 +61,4 @@
]
},
"name": "Loading"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/thought/Search.json b/web/app/components/base/icons/src/public/thought/Search.json
index 9213419bbce..1ad8876bcce 100644
--- a/web/app/components/base/icons/src/public/thought/Search.json
+++ b/web/app/components/base/icons/src/public/thought/Search.json
@@ -61,4 +61,4 @@
]
},
"name": "Search"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/thought/ThoughtList.json b/web/app/components/base/icons/src/public/thought/ThoughtList.json
index 8b97633444a..d5e13c339f1 100644
--- a/web/app/components/base/icons/src/public/thought/ThoughtList.json
+++ b/web/app/components/base/icons/src/public/thought/ThoughtList.json
@@ -80,4 +80,4 @@
]
},
"name": "ThoughtList"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/thought/WebReader.json b/web/app/components/base/icons/src/public/thought/WebReader.json
index ecf85d9ec99..ba2bc485f03 100644
--- a/web/app/components/base/icons/src/public/thought/WebReader.json
+++ b/web/app/components/base/icons/src/public/thought/WebReader.json
@@ -61,4 +61,4 @@
]
},
"name": "WebReader"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/LangfuseIcon.json b/web/app/components/base/icons/src/public/tracing/LangfuseIcon.json
index ab0b8fbc1c5..c2c8a73112a 100644
--- a/web/app/components/base/icons/src/public/tracing/LangfuseIcon.json
+++ b/web/app/components/base/icons/src/public/tracing/LangfuseIcon.json
@@ -233,4 +233,4 @@
]
},
"name": "LangfuseIcon"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/LangfuseIconBig.json b/web/app/components/base/icons/src/public/tracing/LangfuseIconBig.json
index 0fee622bd89..8172de6cf6d 100644
--- a/web/app/components/base/icons/src/public/tracing/LangfuseIconBig.json
+++ b/web/app/components/base/icons/src/public/tracing/LangfuseIconBig.json
@@ -233,4 +233,4 @@
]
},
"name": "LangfuseIconBig"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/LangsmithIcon.json b/web/app/components/base/icons/src/public/tracing/LangsmithIcon.json
index 04d480bd201..293c4bfd18c 100644
--- a/web/app/components/base/icons/src/public/tracing/LangsmithIcon.json
+++ b/web/app/components/base/icons/src/public/tracing/LangsmithIcon.json
@@ -185,4 +185,4 @@
]
},
"name": "LangsmithIcon"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/LangsmithIconBig.json b/web/app/components/base/icons/src/public/tracing/LangsmithIconBig.json
index 4aa76acc8d5..18b1761e7fb 100644
--- a/web/app/components/base/icons/src/public/tracing/LangsmithIconBig.json
+++ b/web/app/components/base/icons/src/public/tracing/LangsmithIconBig.json
@@ -185,4 +185,4 @@
]
},
"name": "LangsmithIconBig"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/OpikIcon.json b/web/app/components/base/icons/src/public/tracing/OpikIcon.json
index 5bab796c788..c9f3ad79853 100644
--- a/web/app/components/base/icons/src/public/tracing/OpikIcon.json
+++ b/web/app/components/base/icons/src/public/tracing/OpikIcon.json
@@ -160,4 +160,4 @@
]
},
"name": "OpikIcon"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/OpikIconBig.json b/web/app/components/base/icons/src/public/tracing/OpikIconBig.json
index 1372a92c0e1..44e1e2c521a 100644
--- a/web/app/components/base/icons/src/public/tracing/OpikIconBig.json
+++ b/web/app/components/base/icons/src/public/tracing/OpikIconBig.json
@@ -159,4 +159,4 @@
]
},
"name": "OpikIconBig"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/icons/src/public/tracing/TracingIcon.json b/web/app/components/base/icons/src/public/tracing/TracingIcon.json
index 508b555b0f3..2157a08fa3d 100644
--- a/web/app/components/base/icons/src/public/tracing/TracingIcon.json
+++ b/web/app/components/base/icons/src/public/tracing/TracingIcon.json
@@ -44,4 +44,4 @@
]
},
"name": "TracingIcon"
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/image-gallery/style.module.css b/web/app/components/base/image-gallery/style.module.css
index 64756a5d69d..2e4c62e4563 100644
--- a/web/app/components/base/image-gallery/style.module.css
+++ b/web/app/components/base/image-gallery/style.module.css
@@ -19,4 +19,4 @@
.img-4 .item:nth-child(3n) {
margin-right: 8px;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/image-uploader/text-generation-image-uploader.tsx b/web/app/components/base/image-uploader/text-generation-image-uploader.tsx
index a3a57f1cb42..99aef562509 100644
--- a/web/app/components/base/image-uploader/text-generation-image-uploader.tsx
+++ b/web/app/components/base/image-uploader/text-generation-image-uploader.tsx
@@ -98,7 +98,7 @@ const TextGenerationImageUploader: FC<TextGenerationImageUploaderProps> = ({
{
hovering => (
<div className={`
- flex h-8 cursor-pointer items-center justify-center rounded-lg
+ flex h-8 cursor-pointer items-center justify-center rounded-lg
bg-components-button-tertiary-bg px-3 text-xs text-text-tertiary
${hovering && 'hover:bg-components-button-tertiary-bg-hover'}
`}>
diff --git a/web/app/components/base/install-button/index.tsx b/web/app/components/base/install-button/index.tsx
index d8983bb68e5..0d9e953d5e6 100644
--- a/web/app/components/base/install-button/index.tsx
+++ b/web/app/components/base/install-button/index.tsx
@@ -10,8 +10,8 @@ type InstallButtonProps = {
const InstallButton = ({ loading, onInstall, t }: InstallButtonProps) => {
return (
<Button size='small' className='z-[100]' onClick={onInstall}>
- <div className={`flex items-center justify-center gap-1 px-[3px]
- ${loading ? 'text-components-button-secondary-text-disabled' : 'text-components-button-secondary-text'}
+ <div className={`flex items-center justify-center gap-1 px-[3px]
+ ${loading ? 'text-components-button-secondary-text-disabled' : 'text-components-button-secondary-text'}
system-xs-medium`}
>
{loading ? t('workflow.nodes.agent.pluginInstaller.installing') : t('workflow.nodes.agent.pluginInstaller.install')}
diff --git a/web/app/components/base/notion-page-selector/notion-page-selector-modal/index.module.css b/web/app/components/base/notion-page-selector/notion-page-selector-modal/index.module.css
index ed9091601f9..cd1f9c76abf 100644
--- a/web/app/components/base/notion-page-selector/notion-page-selector-modal/index.module.css
+++ b/web/app/components/base/notion-page-selector/notion-page-selector-modal/index.module.css
@@ -25,4 +25,4 @@
border-color: #155eef;
background-color: #155eef;
color: #ffffff;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/premium-badge/index.css b/web/app/components/base/premium-badge/index.css
index 8420415e625..7957e402b11 100644
--- a/web/app/components/base/premium-badge/index.css
+++ b/web/app/components/base/premium-badge/index.css
@@ -45,4 +45,4 @@
.premium-badge-orange.allowHover:hover {
@apply bg-gradient-to-r from-[#ff4405e6] to-[#b93815e6] bg-util-colors-orange-orange-300 cursor-pointer
}
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/radio-card/simple/style.module.css b/web/app/components/base/radio-card/simple/style.module.css
index 58a87086bc4..93a0f43c2b1 100644
--- a/web/app/components/base/radio-card/simple/style.module.css
+++ b/web/app/components/base/radio-card/simple/style.module.css
@@ -22,4 +22,4 @@
.item.active .radio {
border-width: 5px;
border-color: #155EEF;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/select/index.tsx b/web/app/components/base/select/index.tsx
index a4cfeaef7f9..fa8730f698d 100644
--- a/web/app/components/base/select/index.tsx
+++ b/web/app/components/base/select/index.tsx
@@ -324,7 +324,7 @@ const PortalSelect: FC<PortalSelectProps> = ({
: (
<div
className={classNames(`
- group flex items-center justify-between px-2.5 h-9 rounded-lg border-0 bg-components-input-bg-normal hover:bg-state-base-hover-alt text-sm ${readonly ? 'cursor-not-allowed' : 'cursor-pointer'}
+ group flex items-center justify-between px-2.5 h-9 rounded-lg border-0 bg-components-input-bg-normal hover:bg-state-base-hover-alt text-sm ${readonly ? 'cursor-not-allowed' : 'cursor-pointer'}
`, triggerClassName, triggerClassNameFn?.(open))}
title={selectedItem?.name}
>
diff --git a/web/app/components/base/slider/style.css b/web/app/components/base/slider/style.css
index e215a9914e1..5d87fb0897a 100644
--- a/web/app/components/base/slider/style.css
+++ b/web/app/components/base/slider/style.css
@@ -8,4 +8,4 @@
.slider-track-1 {
background-color: var(--color-components-slider-track);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/toast/style.module.css b/web/app/components/base/toast/style.module.css
index a6c9cdba41c..216ccf1da8c 100644
--- a/web/app/components/base/toast/style.module.css
+++ b/web/app/components/base/toast/style.module.css
@@ -41,4 +41,4 @@
text-align: center;
font-size: .2rem;
color: rgba(255, 255, 255, 0.86);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/base/voice-input/index.module.css b/web/app/components/base/voice-input/index.module.css
index 18d51da525b..8286f9d9a95 100644
--- a/web/app/components/base/voice-input/index.module.css
+++ b/web/app/components/base/voice-input/index.module.css
@@ -7,4 +7,4 @@
background: linear-gradient(91.92deg, #104AE1 -1.74%, #0098EE 75.74%);
background-clip: text;
color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/billing/annotation-full/style.module.css b/web/app/components/billing/annotation-full/style.module.css
index 7ad3180a5a9..15bedd84ca4 100644
--- a/web/app/components/billing/annotation-full/style.module.css
+++ b/web/app/components/billing/annotation-full/style.module.css
@@ -4,4 +4,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/billing/apps-full-in-dialog/style.module.css b/web/app/components/billing/apps-full-in-dialog/style.module.css
index d3150914e85..1f68e665a62 100644
--- a/web/app/components/billing/apps-full-in-dialog/style.module.css
+++ b/web/app/components/billing/apps-full-in-dialog/style.module.css
@@ -4,4 +4,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/billing/upgrade-btn/style.module.css b/web/app/components/billing/upgrade-btn/style.module.css
index a1e26876793..ab8c30ebd52 100644
--- a/web/app/components/billing/upgrade-btn/style.module.css
+++ b/web/app/components/billing/upgrade-btn/style.module.css
@@ -6,4 +6,4 @@
.upgradeBtn:hover {
background: linear-gradient(99deg, rgba(255, 255, 255, 0.12) 7.16%, rgba(255, 255, 255, 0.00) 85.47%), linear-gradient(280deg, #02C2FF 12.96%, #001AFF 90.95%);
box-shadow: 0px 4px 6px -2px rgba(16, 18, 40, 0.08), 0px 12px 16px -4px rgba(0, 209, 255, 0.08);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/billing/vector-space-full/style.module.css b/web/app/components/billing/vector-space-full/style.module.css
index 7ad3180a5a9..15bedd84ca4 100644
--- a/web/app/components/billing/vector-space-full/style.module.css
+++ b/web/app/components/billing/vector-space-full/style.module.css
@@ -4,4 +4,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/custom/custom-web-app-brand/style.module.css b/web/app/components/custom/custom-web-app-brand/style.module.css
index 6fe7d849442..bdc7d7cfbfe 100644
--- a/web/app/components/custom/custom-web-app-brand/style.module.css
+++ b/web/app/components/custom/custom-web-app-brand/style.module.css
@@ -1,3 +1,3 @@
.mask {
background: linear-gradient(273deg, rgba(255, 255, 255, 0.00) 51.75%, rgba(255, 255, 255, 0.80) 115.32%);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/custom/style.module.css b/web/app/components/custom/style.module.css
index 088fd3a55d0..0a839f6387c 100644
--- a/web/app/components/custom/style.module.css
+++ b/web/app/components/custom/style.module.css
@@ -3,4 +3,4 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/datasets/create/file-preview/index.module.css b/web/app/components/datasets/create/file-preview/index.module.css
index d4109e41fc9..da139fa9ae2 100644
--- a/web/app/components/datasets/create/file-preview/index.module.css
+++ b/web/app/components/datasets/create/file-preview/index.module.css
@@ -2,39 +2,38 @@
@apply flex flex-col border-l border-components-panel-border shrink-0 bg-background-default-lighter;
width: 100%;
}
-
+
.previewHeader {
@apply border-b border-divider-subtle shrink-0;
margin: 42px 32px 0;
padding-bottom: 16px;
}
-
+
.previewHeader .title {
@apply flex justify-between items-center text-text-primary;
}
-
+
.previewHeader .fileName {
@apply text-text-tertiary;
}
-
+
.previewHeader .filetype {
@apply text-text-tertiary;
}
-
+
.previewContent {
@apply overflow-y-auto grow text-text-secondary;
padding: 20px 32px;
}
-
+
.previewContent .loading {
width: 100%;
height: 180px;
background: transparent center no-repeat url(../assets/Loading.svg);
background-size: contain;
}
-
+
.fileContent {
white-space: pre-line;
word-break: break-all;
}
-
\ No newline at end of file
diff --git a/web/app/components/datasets/create/notion-page-preview/index.module.css b/web/app/components/datasets/create/notion-page-preview/index.module.css
index 6f2e5d9fa5c..b3bc589480c 100644
--- a/web/app/components/datasets/create/notion-page-preview/index.module.css
+++ b/web/app/components/datasets/create/notion-page-preview/index.module.css
@@ -31,4 +31,3 @@
.fileContent {
white-space: pre-line;
}
-
\ No newline at end of file
diff --git a/web/app/components/datasets/create/step-one/index.module.css b/web/app/components/datasets/create/step-one/index.module.css
index bbc5f5a6342..581409bbff6 100644
--- a/web/app/components/datasets/create/step-one/index.module.css
+++ b/web/app/components/datasets/create/step-one/index.module.css
@@ -63,4 +63,4 @@
.notionIcon {
background: var(--color-components-card-bg) center no-repeat url(../assets/notion.svg);
background-size: 24px;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/datasets/create/step-two/index.module.css b/web/app/components/datasets/create/step-two/index.module.css
index 178cbeba857..e79ab2df6ff 100644
--- a/web/app/components/datasets/create/step-two/index.module.css
+++ b/web/app/components/datasets/create/step-two/index.module.css
@@ -385,7 +385,7 @@
max-width: 524px;
}
-/*
+/*
* `fixed` must under `previewHeader` because of style override would not work
*/
.fixed {
diff --git a/web/app/components/datasets/external-api/external-knowledge-api-card/index.tsx b/web/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
index 30a3c261b7c..bb506316c61 100644
--- a/web/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
+++ b/web/app/components/datasets/external-api/external-knowledge-api-card/index.tsx
@@ -105,8 +105,8 @@ const ExternalKnowledgeAPICard: React.FC<ExternalKnowledgeAPICardProps> = ({ api
return (
<>
- <div className={`shadows-shadow-xs flex items-start self-stretch rounded-lg border-[0.5px] border-components-panel-border-subtle
- bg-components-panel-on-panel-item-bg p-2
+ <div className={`shadows-shadow-xs flex items-start self-stretch rounded-lg border-[0.5px] border-components-panel-border-subtle
+ bg-components-panel-on-panel-item-bg p-2
pl-3 ${isHovered ? 'border-state-destructive-border bg-state-destructive-hover' : ''}`}
>
<div className='flex grow flex-col items-start justify-center gap-1.5 py-1'>
diff --git a/web/app/components/datasets/external-knowledge-base/create/ExternalApiSelect.tsx b/web/app/components/datasets/external-knowledge-base/create/ExternalApiSelect.tsx
index 7acd9f33ee5..d4590616d91 100644
--- a/web/app/components/datasets/external-knowledge-base/create/ExternalApiSelect.tsx
+++ b/web/app/components/datasets/external-knowledge-base/create/ExternalApiSelect.tsx
@@ -59,7 +59,7 @@ const ExternalApiSelect: React.FC<ExternalApiSelectProps> = ({ items, value, onS
return (
<div className="relative w-full">
<div
- className={`flex cursor-pointer items-center justify-between gap-0.5 self-stretch rounded-lg bg-components-input-bg-normal px-2
+ className={`flex cursor-pointer items-center justify-between gap-0.5 self-stretch rounded-lg bg-components-input-bg-normal px-2
py-1 hover:bg-state-base-hover-alt ${isOpen && 'bg-state-base-hover-alt'}`}
onClick={() => setIsOpen(!isOpen)}
>
diff --git a/web/app/components/datasets/hit-testing/style.module.css b/web/app/components/datasets/hit-testing/style.module.css
index cf8536f998d..a421962f485 100644
--- a/web/app/components/datasets/hit-testing/style.module.css
+++ b/web/app/components/datasets/hit-testing/style.module.css
@@ -40,4 +40,4 @@
.clockIcon {
mask-image: url(./assets/clock.svg);
@apply bg-gray-500;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/develop/secret-key/style.module.css b/web/app/components/develop/secret-key/style.module.css
index 663d8e817d9..f13161c888a 100644
--- a/web/app/components/develop/secret-key/style.module.css
+++ b/web/app/components/develop/secret-key/style.module.css
@@ -54,4 +54,4 @@
.copyIcon.copied {
background-image: url(./assets/copied.svg);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/explore/app-list/style.module.css b/web/app/components/explore/app-list/style.module.css
index fb6b1ee94f2..241130a03d1 100644
--- a/web/app/components/explore/app-list/style.module.css
+++ b/web/app/components/explore/app-list/style.module.css
@@ -26,4 +26,4 @@
.appList {
grid-template-columns: repeat(2, minmax(0, 1fr))
}
-}
\ No newline at end of file
+}
diff --git a/web/app/components/explore/item-operation/style.module.css b/web/app/components/explore/item-operation/style.module.css
index 514ffabe36d..7d4a46a8401 100644
--- a/web/app/components/explore/item-operation/style.module.css
+++ b/web/app/components/explore/item-operation/style.module.css
@@ -30,4 +30,4 @@ body .btn:hover {
.deleteActionItem:hover .deleteActionItemChild {
@apply text-red-500;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/account-dropdown/workplace-selector/index.module.css b/web/app/components/header/account-dropdown/workplace-selector/index.module.css
index f3840ea0189..c3184f7e18c 100644
--- a/web/app/components/header/account-dropdown/workplace-selector/index.module.css
+++ b/web/app/components/header/account-dropdown/workplace-selector/index.module.css
@@ -2,4 +2,4 @@
left: 4px;
transform: translateX(-100%);
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/account-setting/Integrations-page/index.module.css b/web/app/components/header/account-setting/Integrations-page/index.module.css
index 5b7ef2cce37..7c2a8836395 100644
--- a/web/app/components/header/account-setting/Integrations-page/index.module.css
+++ b/web/app/components/header/account-setting/Integrations-page/index.module.css
@@ -21,4 +21,4 @@
.salesforce-icon {
background: url(../../assets/salesforce.svg) center center no-repeat;
background-size: 24px auto;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/account-setting/data-source-page/panel/style.module.css b/web/app/components/header/account-setting/data-source-page/panel/style.module.css
index a11d4758fba..ac9be02205f 100644
--- a/web/app/components/header/account-setting/data-source-page/panel/style.module.css
+++ b/web/app/components/header/account-setting/data-source-page/panel/style.module.css
@@ -14,4 +14,4 @@
.workspace-item:last-of-type {
margin-bottom: 0;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/account-setting/language-page/index.module.css b/web/app/components/header/account-setting/language-page/index.module.css
index 5b7ef2cce37..7c2a8836395 100644
--- a/web/app/components/header/account-setting/language-page/index.module.css
+++ b/web/app/components/header/account-setting/language-page/index.module.css
@@ -21,4 +21,4 @@
.salesforce-icon {
background: url(../../assets/salesforce.svg) center center no-repeat;
background-size: 24px auto;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/account-setting/members-page/invited-modal/index.module.css b/web/app/components/header/account-setting/members-page/invited-modal/index.module.css
index 506b6a0c898..96470439f03 100644
--- a/web/app/components/header/account-setting/members-page/invited-modal/index.module.css
+++ b/web/app/components/header/account-setting/members-page/invited-modal/index.module.css
@@ -18,4 +18,4 @@
.copyIcon.copied {
background-image: url(./assets/copied.svg);
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/index.module.css b/web/app/components/header/index.module.css
index a95938a3ec6..9e23bc10a6b 100644
--- a/web/app/components/header/index.module.css
+++ b/web/app/components/header/index.module.css
@@ -12,4 +12,4 @@
width: 12px;
height: 12px;
background: url(./assets/alpha.svg) center center no-repeat;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/header/plugins-nav/downloading-icon.module.css b/web/app/components/header/plugins-nav/downloading-icon.module.css
index c11a9f2f2ca..bbd6a35e4c7 100644
--- a/web/app/components/header/plugins-nav/downloading-icon.module.css
+++ b/web/app/components/header/plugins-nav/downloading-icon.module.css
@@ -13,15 +13,15 @@
}
@keyframes drop {
- 0% {
- transform: translateY(-4px);
+ 0% {
+ transform: translateY(-4px);
opacity: 0;
}
- 5% {
- transform: translateY(-4px);
+ 5% {
+ transform: translateY(-4px);
opacity: 1;
}
- 65% {
+ 65% {
transform: translateY(2px);
opacity: 1;
}
@@ -29,7 +29,7 @@
transform: translateY(2px);
opacity: 0;
}
- 100% {
+ 100% {
transform: translateY(2px);
opacity: 0;
}
@@ -41,4 +41,4 @@
#downloadingIconArrow {
animation: drop 1.2s cubic-bezier(0.4, 0, 1, 1) infinite;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/plugins/permission-setting-modal/style.module.css b/web/app/components/plugins/permission-setting-modal/style.module.css
index 7ad3180a5a9..15bedd84ca4 100644
--- a/web/app/components/plugins/permission-setting-modal/style.module.css
+++ b/web/app/components/plugins/permission-setting-modal/style.module.css
@@ -4,4 +4,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/tools/edit-custom-collection-modal/examples.ts b/web/app/components/tools/edit-custom-collection-modal/examples.ts
index 0a3d023ca78..0d8369c14ed 100644
--- a/web/app/components/tools/edit-custom-collection-modal/examples.ts
+++ b/web/app/components/tools/edit-custom-collection-modal/examples.ts
@@ -75,7 +75,7 @@ const examples = [
schema:
type: string
content:
- application/json:
+ application/json:
schema:
$ref: "#/components/schemas/Pets"
default:
diff --git a/web/app/components/workflow/block-selector/index.tsx b/web/app/components/workflow/block-selector/index.tsx
index f0f57adefec..9e55a24d9e9 100644
--- a/web/app/components/workflow/block-selector/index.tsx
+++ b/web/app/components/workflow/block-selector/index.tsx
@@ -116,7 +116,7 @@ const NodeSelector: FC<NodeSelectorProps> = ({
: (
<div
className={`
- z-10 flex h-4
+ z-10 flex h-4
w-4 cursor-pointer items-center justify-center rounded-full bg-components-button-primary-bg text-text-primary-on-surface hover:bg-components-button-primary-bg-hover
${triggerClassName?.(open)}
`}
diff --git a/web/app/components/workflow/index.tsx b/web/app/components/workflow/index.tsx
index 64aefc4dd30..fa06ec39bc5 100644
--- a/web/app/components/workflow/index.tsx
+++ b/web/app/components/workflow/index.tsx
@@ -259,7 +259,7 @@ export const Workflow: FC<WorkflowProps> = memo(({
<div
id='workflow-container'
className={`
- relative h-full w-full min-w-[960px]
+ relative h-full w-full min-w-[960px]
${workflowReadOnly && 'workflow-panel-animation'}
${nodeAnimation && 'workflow-node-animation'}
`}
diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/style.css b/web/app/components/workflow/nodes/_base/components/editor/code-editor/style.css
index 72e0087a3ce..d364c1f15a7 100644
--- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/style.css
+++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/style.css
@@ -13,4 +13,4 @@
/* hide readonly tooltip */
.monaco-editor-overlaymessage {
display: none !important;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/workflow/nodes/_base/components/node-handle.tsx b/web/app/components/workflow/nodes/_base/components/node-handle.tsx
index 0dc099f5a02..d8754cd2ae8 100644
--- a/web/app/components/workflow/nodes/_base/components/node-handle.tsx
+++ b/web/app/components/workflow/nodes/_base/components/node-handle.tsx
@@ -199,7 +199,7 @@ export const NodeSourceHandle = memo(({
onSelect={handleSelect}
asChild
triggerClassName={open => `
- hidden absolute top-0 left-0 pointer-events-none
+ hidden absolute top-0 left-0 pointer-events-none
${nodeSelectorClassName}
group-hover:!flex
${data.selected && '!flex'}
diff --git a/web/app/components/workflow/nodes/_base/components/retry/style.module.css b/web/app/components/workflow/nodes/_base/components/retry/style.module.css
index 2ce8717af85..2ce4e7b400a 100644
--- a/web/app/components/workflow/nodes/_base/components/retry/style.module.css
+++ b/web/app/components/workflow/nodes/_base/components/retry/style.module.css
@@ -2,4 +2,4 @@
.input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx b/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx
index f8d2dcfc75d..35555083b1e 100644
--- a/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx
+++ b/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx
@@ -55,8 +55,8 @@ const DatasetItem: FC<Props> = ({
}, [onRemove])
return (
- <div className={`group/dataset-item flex h-10 cursor-pointer items-center justify-between rounded-xl
- border-[0.5px] border-components-panel-border-subtle px-2
+ <div className={`group/dataset-item flex h-10 cursor-pointer items-center justify-between rounded-xl
+ border-[0.5px] border-components-panel-border-subtle px-2
${isDeleteHovered
? 'border-state-destructive-border bg-state-destructive-hover'
: 'bg-components-panel-on-panel-item-bg hover:bg-components-panel-on-panel-item-bg-hover'
diff --git a/web/app/components/workflow/note-node/note-editor/theme/theme.css b/web/app/components/workflow/note-node/note-editor/theme/theme.css
index 25c0cdeaad5..77b745ca4a6 100644
--- a/web/app/components/workflow/note-node/note-editor/theme/theme.css
+++ b/web/app/components/workflow/note-node/note-editor/theme/theme.css
@@ -29,4 +29,4 @@
.note-editor-theme_text-italic {
font-style: italic;
-}
\ No newline at end of file
+}
diff --git a/web/app/components/workflow/operator/export-image.tsx b/web/app/components/workflow/operator/export-image.tsx
index d128a6b6ff8..f59f0cd92bc 100644
--- a/web/app/components/workflow/operator/export-image.tsx
+++ b/web/app/components/workflow/operator/export-image.tsx
@@ -1,131 +1,131 @@
-import type { FC } from 'react'
-import {
- memo,
- useCallback,
- useState,
-} from 'react'
-import { useTranslation } from 'react-i18next'
-import { toJpeg, toPng, toSvg } from 'html-to-image'
-import { useNodesReadOnly } from '../hooks'
-import TipPopup from './tip-popup'
-import { RiExportLine } from '@remixicon/react'
-import cn from '@/utils/classnames'
-import { useStore as useAppStore } from '@/app/components/app/store'
-import {
- PortalToFollowElem,
- PortalToFollowElemContent,
- PortalToFollowElemTrigger,
-} from '@/app/components/base/portal-to-follow-elem'
-
-const ExportImage: FC = () => {
- const { t } = useTranslation()
- const { getNodesReadOnly } = useNodesReadOnly()
-
- const appDetail = useAppStore(s => s.appDetail)
- const [open, setOpen] = useState(false)
-
- const handleExportImage = useCallback(async (type: 'png' | 'jpeg' | 'svg') => {
- if (!appDetail)
- return
-
- if (getNodesReadOnly())
- return
-
- setOpen(false)
- const flowElement = document.querySelector('.react-flow__viewport') as HTMLElement
- if (!flowElement) return
-
- try {
- const filter = (node: HTMLElement) => {
- if (node instanceof HTMLImageElement)
- return node.complete && node.naturalHeight !== 0
-
- return true
- }
-
- let dataUrl
- switch (type) {
- case 'png':
- dataUrl = await toPng(flowElement, { filter })
- break
- case 'jpeg':
- dataUrl = await toJpeg(flowElement, { filter })
- break
- case 'svg':
- dataUrl = await toSvg(flowElement, { filter })
- break
- default:
- dataUrl = await toPng(flowElement, { filter })
- }
-
- const link = document.createElement('a')
- link.href = dataUrl
- link.download = `${appDetail.name}.${type}`
- document.body.appendChild(link)
- link.click()
- document.body.removeChild(link)
- }
- catch (error) {
- console.error('Export image failed:', error)
- }
- }, [getNodesReadOnly, appDetail])
-
- const handleTrigger = useCallback(() => {
- if (getNodesReadOnly())
- return
-
- setOpen(v => !v)
- }, [getNodesReadOnly])
-
- return (
- <PortalToFollowElem
- open={open}
- onOpenChange={setOpen}
- placement="top-start"
- offset={{
- mainAxis: 4,
- crossAxis: -8,
- }}
- >
- <PortalToFollowElemTrigger>
- <TipPopup title={t('workflow.common.exportImage')}>
- <div
- className={cn(
- 'flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg hover:bg-state-base-hover hover:text-text-secondary',
- `${getNodesReadOnly() && 'cursor-not-allowed text-text-disabled hover:bg-transparent hover:text-text-disabled'}`,
- )}
- onClick={handleTrigger}
- >
- <RiExportLine className='h-4 w-4' />
- </div>
- </TipPopup>
- </PortalToFollowElemTrigger>
- <PortalToFollowElemContent className='z-10'>
- <div className='min-w-[120px] rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg-blur text-text-secondary shadow-lg'>
- <div className='p-1'>
- <div
- className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
- onClick={() => handleExportImage('png')}
- >
- {t('workflow.common.exportPNG')}
- </div>
- <div
- className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
- onClick={() => handleExportImage('jpeg')}
- >
- {t('workflow.common.exportJPEG')}
- </div>
- <div
- className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
- onClick={() => handleExportImage('svg')}
- >
- {t('workflow.common.exportSVG')}
- </div>
- </div>
- </div>
- </PortalToFollowElemContent>
- </PortalToFollowElem>
- )
-}
-
-export default memo(ExportImage)
+import type { FC } from 'react'
+import {
+ memo,
+ useCallback,
+ useState,
+} from 'react'
+import { useTranslation } from 'react-i18next'
+import { toJpeg, toPng, toSvg } from 'html-to-image'
+import { useNodesReadOnly } from '../hooks'
+import TipPopup from './tip-popup'
+import { RiExportLine } from '@remixicon/react'
+import cn from '@/utils/classnames'
+import { useStore as useAppStore } from '@/app/components/app/store'
+import {
+ PortalToFollowElem,
+ PortalToFollowElemContent,
+ PortalToFollowElemTrigger,
+} from '@/app/components/base/portal-to-follow-elem'
+
+const ExportImage: FC = () => {
+ const { t } = useTranslation()
+ const { getNodesReadOnly } = useNodesReadOnly()
+
+ const appDetail = useAppStore(s => s.appDetail)
+ const [open, setOpen] = useState(false)
+
+ const handleExportImage = useCallback(async (type: 'png' | 'jpeg' | 'svg') => {
+ if (!appDetail)
+ return
+
+ if (getNodesReadOnly())
+ return
+
+ setOpen(false)
+ const flowElement = document.querySelector('.react-flow__viewport') as HTMLElement
+ if (!flowElement) return
+
+ try {
+ const filter = (node: HTMLElement) => {
+ if (node instanceof HTMLImageElement)
+ return node.complete && node.naturalHeight !== 0
+
+ return true
+ }
+
+ let dataUrl
+ switch (type) {
+ case 'png':
+ dataUrl = await toPng(flowElement, { filter })
+ break
+ case 'jpeg':
+ dataUrl = await toJpeg(flowElement, { filter })
+ break
+ case 'svg':
+ dataUrl = await toSvg(flowElement, { filter })
+ break
+ default:
+ dataUrl = await toPng(flowElement, { filter })
+ }
+
+ const link = document.createElement('a')
+ link.href = dataUrl
+ link.download = `${appDetail.name}.${type}`
+ document.body.appendChild(link)
+ link.click()
+ document.body.removeChild(link)
+ }
+ catch (error) {
+ console.error('Export image failed:', error)
+ }
+ }, [getNodesReadOnly, appDetail])
+
+ const handleTrigger = useCallback(() => {
+ if (getNodesReadOnly())
+ return
+
+ setOpen(v => !v)
+ }, [getNodesReadOnly])
+
+ return (
+ <PortalToFollowElem
+ open={open}
+ onOpenChange={setOpen}
+ placement="top-start"
+ offset={{
+ mainAxis: 4,
+ crossAxis: -8,
+ }}
+ >
+ <PortalToFollowElemTrigger>
+ <TipPopup title={t('workflow.common.exportImage')}>
+ <div
+ className={cn(
+ 'flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg hover:bg-state-base-hover hover:text-text-secondary',
+ `${getNodesReadOnly() && 'cursor-not-allowed text-text-disabled hover:bg-transparent hover:text-text-disabled'}`,
+ )}
+ onClick={handleTrigger}
+ >
+ <RiExportLine className='h-4 w-4' />
+ </div>
+ </TipPopup>
+ </PortalToFollowElemTrigger>
+ <PortalToFollowElemContent className='z-10'>
+ <div className='min-w-[120px] rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg-blur text-text-secondary shadow-lg'>
+ <div className='p-1'>
+ <div
+ className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
+ onClick={() => handleExportImage('png')}
+ >
+ {t('workflow.common.exportPNG')}
+ </div>
+ <div
+ className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
+ onClick={() => handleExportImage('jpeg')}
+ >
+ {t('workflow.common.exportJPEG')}
+ </div>
+ <div
+ className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 hover:bg-state-base-hover'
+ onClick={() => handleExportImage('svg')}
+ >
+ {t('workflow.common.exportSVG')}
+ </div>
+ </div>
+ </div>
+ </PortalToFollowElemContent>
+ </PortalToFollowElem>
+ )
+}
+
+export default memo(ExportImage)
diff --git a/web/app/components/workflow/operator/zoom-in-out.tsx b/web/app/components/workflow/operator/zoom-in-out.tsx
index 35aa1833512..19d8eef463e 100644
--- a/web/app/components/workflow/operator/zoom-in-out.tsx
+++ b/web/app/components/workflow/operator/zoom-in-out.tsx
@@ -132,7 +132,7 @@ const ZoomInOut: FC = () => {
<PortalToFollowElemTrigger asChild>
<div className={`
h-9 cursor-pointer rounded-lg border-[0.5px] border-components-actionbar-border bg-components-actionbar-bg
- p-0.5 text-[13px] shadow-lg backdrop-blur-[5px]
+ p-0.5 text-[13px] shadow-lg backdrop-blur-[5px]
hover:bg-state-base-hover
${workflowReadOnly && '!cursor-not-allowed opacity-50'}
`}>
diff --git a/web/app/components/workflow/style.css b/web/app/components/workflow/style.css
index 253d6b7dd07..7ef46dd5bf7 100644
--- a/web/app/components/workflow/style.css
+++ b/web/app/components/workflow/style.css
@@ -21,4 +21,4 @@
z-index: -1000 !important;
}
-#workflow-container .react-flow {}
\ No newline at end of file
+#workflow-container .react-flow {}
diff --git a/web/app/page.module.css b/web/app/page.module.css
index 90fa1554c0e..b51afee7b19 100644
--- a/web/app/page.module.css
+++ b/web/app/page.module.css
@@ -263,4 +263,4 @@
to {
transform: rotate(0deg);
}
-}
\ No newline at end of file
+}
diff --git a/web/app/signin/page.module.css b/web/app/signin/page.module.css
index 5d129259800..eda396f7637 100644
--- a/web/app/signin/page.module.css
+++ b/web/app/signin/page.module.css
@@ -4,4 +4,4 @@
.googleIcon {
background: center/contain url('./assets/google.svg');
-}
\ No newline at end of file
+}
diff --git a/web/app/styles/globals.css b/web/app/styles/globals.css
index 93ef2ce166c..52e36a27673 100644
--- a/web/app/styles/globals.css
+++ b/web/app/styles/globals.css
@@ -697,4 +697,4 @@ button:focus-within {
-ms-overflow-style: none;
scrollbar-width: none;
}
-}
\ No newline at end of file
+}
diff --git a/web/app/styles/preflight.css b/web/app/styles/preflight.css
index 71da96aa1d9..35d3b6e876f 100644
--- a/web/app/styles/preflight.css
+++ b/web/app/styles/preflight.css
@@ -376,4 +376,4 @@ video {
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
display: none;
-}
\ No newline at end of file
+}
diff --git a/web/i18n/de-DE/app-debug.ts b/web/i18n/de-DE/app-debug.ts
index c00c799519c..4022e755e9d 100644
--- a/web/i18n/de-DE/app-debug.ts
+++ b/web/i18n/de-DE/app-debug.ts
@@ -1,392 +1,392 @@
-const translation = {
- pageTitle: {
- line1: 'PROMPT',
- line2: 'Engineering',
- },
- orchestrate: 'Orchestrieren',
- promptMode: {
- simple: 'Wechseln Sie in den Expertenmodus, um das gesamte PROMPT zu bearbeiten',
- advanced: 'Expertenmodus',
- switchBack: 'Zurückwechseln',
- advancedWarning: {
- title: 'Sie haben in den Expertenmodus gewechselt, und sobald Sie das PROMPT ändern, können Sie NICHT zum Basis-Modus zurückkehren.',
- description: 'Im Expertenmodus können Sie das gesamte PROMPT bearbeiten.',
- learnMore: 'Mehr erfahren',
- ok: 'OK',
- },
- operation: {
- addMessage: 'Nachricht hinzufügen',
- },
- contextMissing: 'Komponente fehlt, die Wirksamkeit des Prompts könnte schlecht sein.',
- },
- operation: {
- applyConfig: 'Veröffentlichen',
- resetConfig: 'Zurücksetzen',
- debugConfig: 'Debuggen',
- addFeature: 'Funktion hinzufügen',
- automatic: 'Generieren',
- stopResponding: 'Antworten stoppen',
- agree: 'gefällt mir',
- disagree: 'gefällt mir nicht',
- cancelAgree: 'Gefällt mir zurücknehmen',
- cancelDisagree: 'Gefällt mir nicht zurücknehmen',
- userAction: 'Benutzer ',
- },
- notSetAPIKey: {
- title: 'LLM-Anbieterschlüssel wurde nicht festgelegt',
- trailFinished: 'Testversion beendet',
- description: 'Der LLM-Anbieterschlüssel wurde nicht festgelegt und muss vor dem Debuggen festgelegt werden.',
- settingBtn: 'Zu den Einstellungen gehen',
- },
- trailUseGPT4Info: {
- title: 'Unterstützt derzeit kein gpt-4',
- description: 'Um gpt-4 zu verwenden, bitte API-Schlüssel festlegen.',
- },
- feature: {
- groupChat: {
- title: 'Chatverbesserung',
- description: 'Voreinstellungen für Konversationen zu Apps hinzufügen kann die Benutzererfahrung verbessern.',
- },
- groupExperience: {
- title: 'Erfahrungsverbesserung',
- },
- conversationOpener: {
- title: 'Gesprächseröffnungen',
- description: 'In einer Chat-App wird der erste Satz, den die KI aktiv an den Benutzer richtet, üblicherweise als Begrüßung verwendet.',
- },
- suggestedQuestionsAfterAnswer: {
- title: 'Nachfolgefragen',
- description: 'Das Einrichten von Vorschlägen für nächste Fragen kann den Chat für Benutzer verbessern.',
- resDes: '3 Vorschläge für die nächste Benutzerfrage.',
- tryToAsk: 'Versuchen Sie zu fragen',
- },
- moreLikeThis: {
- title: 'Mehr davon',
- description: 'Mehrere Texte gleichzeitig generieren und dann bearbeiten und weiter generieren',
- generateNumTip: 'Anzahl der generierten Texte pro Durchgang',
- tip: 'Die Verwendung dieser Funktion verursacht zusätzliche Token-Kosten',
- },
- speechToText: {
- title: 'Sprache zu Text',
- description: 'Einmal aktiviert, können Sie Spracheingabe verwenden.',
- resDes: 'Spracheingabe ist aktiviert',
- },
- textToSpeech: {
- title: 'Text zu Sprache',
- description: 'Einmal aktiviert, kann Text in Sprache umgewandelt werden.',
- resDes: 'Text zu Audio ist aktiviert',
- },
- citation: {
- title: 'Zitate und Urheberangaben',
- description: 'Einmal aktiviert, zeigen Sie das Quelldokument und den zugeordneten Abschnitt des generierten Inhalts an.',
- resDes: 'Zitate und Urheberangaben sind aktiviert',
- },
- annotation: {
- title: 'Annotation Antwort',
- description: 'Sie können manuell hochwertige Antworten zum Cache hinzufügen für bevorzugte Übereinstimmung mit ähnlichen Benutzerfragen.',
- resDes: 'Annotationsantwort ist aktiviert',
- scoreThreshold: {
- title: 'Schwellenwert',
- description: 'Wird verwendet, um den Ähnlichkeitsschwellenwert für die Annotation Antwort einzustellen.',
- easyMatch: 'Einfache Übereinstimmung',
- accurateMatch: 'Genaue Übereinstimmung',
- },
- matchVariable: {
- title: 'Übereinstimmungsvariable',
- choosePlaceholder: 'Wählen Sie Übereinstimmungsvariable',
- },
- cacheManagement: 'Annotationen',
- cached: 'Annotiert',
- remove: 'Entfernen',
- removeConfirm: 'Diese Annotation löschen?',
- add: 'Annotation hinzufügen',
- edit: 'Annotation bearbeiten',
- },
- dataSet: {
- title: 'Kontext',
- noData: 'Sie können Wissen als Kontext importieren',
- words: 'Wörter',
- textBlocks: 'Textblöcke',
- selectTitle: 'Wählen Sie Referenzwissen',
- selected: 'Wissen ausgewählt',
- noDataSet: 'Kein Wissen gefunden',
- toCreate: 'Erstellen gehen',
- notSupportSelectMulti: 'Unterstützt derzeit nur ein Wissen',
- queryVariable: {
- title: 'Abfragevariable',
- tip: 'Diese Variable wird als Eingabe für die Kontextabfrage verwendet, um kontextbezogene Informationen in Bezug auf die Eingabe dieser Variable zu erhalten.',
- choosePlaceholder: 'Wählen Sie Abfragevariable',
- noVar: 'Keine Variablen',
- noVarTip: 'Bitte erstellen Sie eine Variable im Variablenbereich',
- unableToQueryDataSet: 'Konnte das Wissen nicht abfragen',
- unableToQueryDataSetTip: 'Konnte das Wissen nicht erfolgreich abfragen, bitte wählen Sie eine Kontextabfragevariable im Kontextbereich.',
- ok: 'OK',
- contextVarNotEmpty: 'Kontextabfragevariable darf nicht leer sein',
- deleteContextVarTitle: 'Variable „{{varName}}“ löschen?',
- deleteContextVarTip: 'Diese Variable wurde als Kontextabfragevariable festgelegt und deren Entfernung wird die normale Verwendung des Wissens beeinträchtigen. Wenn Sie sie trotzdem löschen müssen, wählen Sie sie bitte im Kontextbereich erneut.',
- },
- },
- tools: {
- title: 'Werkzeuge',
- tips: 'Werkzeuge bieten eine standardisierte API-Aufrufmethode, die Benutzereingaben oder Variablen als Anfrageparameter für die Abfrage externer Daten als Kontext verwendet.',
- toolsInUse: '{{count}} Werkzeuge in Verwendung',
- modal: {
- title: 'Werkzeug',
- toolType: {
- title: 'Werkzeugtyp',
- placeholder: 'Bitte wählen Sie den Werkzeugtyp',
- },
- name: {
- title: 'Name',
- placeholder: 'Bitte geben Sie den Namen ein',
- },
- variableName: {
- title: 'Variablenname',
- placeholder: 'Bitte geben Sie den Variablennamen ein',
- },
- },
- },
- conversationHistory: {
- title: 'Konversationsverlauf',
- description: 'Präfixnamen für Konversationsrollen festlegen',
- tip: 'Der Konversationsverlauf ist nicht aktiviert, bitte fügen Sie <histories> im Prompt oben ein.',
- learnMore: 'Mehr erfahren',
- editModal: {
- title: 'Konversationsrollennamen bearbeiten',
- userPrefix: 'Benutzerpräfix',
- assistantPrefix: 'Assistentenpräfix',
- },
- },
- toolbox: {
- title: 'WERKZEUGKASTEN',
- },
- moderation: {
- title: 'Inhaltsmoderation',
- description: 'Sichern Sie die Ausgabe des Modells durch Verwendung der Moderations-API oder durch Pflege einer Liste sensibler Wörter.',
- allEnabled: 'INHALT von EINGABE/AUSGABE aktiviert',
- inputEnabled: 'INHALT von EINGABE aktiviert',
- outputEnabled: 'INHALT von AUSGABE aktiviert',
- modal: {
- title: 'Einstellungen zur Inhaltsmoderation',
- provider: {
- title: 'Anbieter',
- openai: 'OpenAI-Moderation',
- openaiTip: {
- prefix: 'OpenAI-Moderation erfordert einen konfigurierten OpenAI-API-Schlüssel in den ',
- suffix: '.',
- },
- keywords: 'Schlüsselwörter',
- },
- keywords: {
- tip: 'Jeweils eine pro Zeile, getrennt durch Zeilenumbrüche. Bis zu 100 Zeichen pro Zeile.',
- placeholder: 'Jeweils eine pro Zeile, getrennt durch Zeilenumbrüche',
- line: 'Zeile',
- },
- content: {
- input: 'INHALT der EINGABE moderieren',
- output: 'INHALT der AUSGABE moderieren',
- preset: 'Voreingestellte Antworten',
- placeholder: 'Inhalt der voreingestellten Antworten hier',
- condition: 'Moderation von INHALT der EINGABE und AUSGABE mindestens eine aktiviert',
- fromApi: 'Voreingestellte Antworten werden durch API zurückgegeben',
- errorMessage: 'Voreingestellte Antworten dürfen nicht leer sein',
- supportMarkdown: 'Markdown unterstützt',
- },
- openaiNotConfig: {
- before: 'OpenAI-Moderation erfordert einen konfigurierten OpenAI-API-Schlüssel in den',
- after: '',
- },
- },
- },
- },
- resetConfig: {
- title: 'Zurücksetzen bestätigen?',
- message:
- 'Zurücksetzen verwirft Änderungen und stellt die zuletzt veröffentlichte Konfiguration wieder her.',
- },
- errorMessage: {
- nameOfKeyRequired: 'Name des Schlüssels: {{key}} erforderlich',
- valueOfVarRequired: '{{key}} Wert darf nicht leer sein',
- queryRequired: 'Anfragetext ist erforderlich.',
- waitForResponse:
- 'Bitte warten Sie auf die Antwort auf die vorherige Nachricht, um abzuschließen.',
- waitForBatchResponse:
- 'Bitte warten Sie auf die Antwort auf die Stapelaufgabe, um abzuschließen.',
- notSelectModel: 'Bitte wählen Sie ein Modell',
- waitForImgUpload: 'Bitte warten Sie, bis das Bild hochgeladen ist',
- },
- chatSubTitle: 'Anweisungen',
- completionSubTitle: 'Vor-Prompt',
- promptTip:
- 'Prompts leiten KI-Antworten mit Anweisungen und Einschränkungen. Fügen Sie Variablen wie {{input}} ein. Dieses Prompt wird den Benutzern nicht angezeigt.',
- formattingChangedTitle: 'Formatierung geändert',
- formattingChangedText:
- 'Die Änderung der Formatierung wird den Debug-Bereich zurücksetzen, sind Sie sicher?',
- variableTitle: 'Variablen',
- variableTip:
- 'Benutzer füllen Variablen in einem Formular aus, automatisches Ersetzen von Variablen im Prompt.',
- notSetVar: 'Variablen ermöglichen es Benutzern, Aufforderungswörter oder Eröffnungsbemerkungen einzuführen, wenn sie Formulare ausfüllen. Sie könnten versuchen, "{{input}}" im Prompt einzugeben.',
- autoAddVar: 'Im Vor-Prompt referenzierte undefinierte Variablen, möchten Sie sie im Benutzereingabeformular hinzufügen?',
- variableTable: {
- key: 'Variablenschlüssel',
- name: 'Name des Benutzereingabefelds',
- optional: 'Optional',
- type: 'Eingabetyp',
- action: 'Aktionen',
- typeString: 'String',
- typeSelect: 'Auswählen',
- },
- varKeyError: {
- canNoBeEmpty: '{{key}} ist erforderlich',
- tooLong: '{{key}} zu lang. Darf nicht länger als 30 Zeichen sein',
- notValid: '{{key}} ist ungültig. Darf nur Buchstaben, Zahlen und Unterstriche enthalten',
- notStartWithNumber: '{{key}} darf nicht mit einer Zahl beginnen',
- keyAlreadyExists: '{{key}} existiert bereits',
- },
- otherError: {
- promptNoBeEmpty: 'Prompt darf nicht leer sein',
- historyNoBeEmpty: 'Konversationsverlauf muss im Prompt gesetzt sein',
- queryNoBeEmpty: 'Anfrage muss im Prompt gesetzt sein',
- },
- variableConfig: {
- modalTitle: 'Feldeinstellungen',
- description: 'Einstellung für Variable {{varName}}',
- fieldType: 'Feldtyp',
- string: 'Kurztext',
- paragraph: 'Absatz',
- select: 'Auswählen',
- notSet: 'Nicht gesetzt, versuchen Sie, {{input}} im Vor-Prompt zu tippen',
- stringTitle: 'Formular-Textfeldoptionen',
- maxLength: 'Maximale Länge',
- options: 'Optionen',
- addOption: 'Option hinzufügen',
- apiBasedVar: 'API-basierte Variable',
- },
- vision: {
- name: 'Vision',
- description: 'Vision zu aktivieren ermöglicht es dem Modell, Bilder aufzunehmen und Fragen dazu zu beantworten.',
- settings: 'Einstellungen',
- visionSettings: {
- title: 'Vision-Einstellungen',
- resolution: 'Auflösung',
- resolutionTooltip: `Niedrige Auflösung ermöglicht es dem Modell, eine Bildversion mit niedriger Auflösung von 512 x 512 zu erhalten und das Bild mit einem Budget von 65 Tokens darzustellen. Dies ermöglicht schnellere Antworten des API und verbraucht weniger Eingabetokens für Anwendungsfälle, die kein hohes Detail benötigen.
- \n
- Hohe Auflösung ermöglicht zunächst, dass das Modell das Bild mit niedriger Auflösung sieht und dann detaillierte Ausschnitte von Eingabebildern als 512px Quadrate basierend auf der Größe des Eingabebildes erstellt. Jeder der detaillierten Ausschnitte verwendet das doppelte Token-Budget für insgesamt 129 Tokens.`,
- high: 'Hoch',
- low: 'Niedrig',
- uploadMethod: 'Upload-Methode',
- both: 'Beides',
- localUpload: 'Lokaler Upload',
- url: 'URL',
- uploadLimit: 'Upload-Limit',
- },
- },
- voice: {
- name: 'Stimme',
- defaultDisplay: 'Standardstimme',
- description: 'Text-zu-Sprache-Stimmeinstellungen',
- settings: 'Einstellungen',
- voiceSettings: {
- title: 'Stimmeinstellungen',
- language: 'Sprache',
- resolutionTooltip: 'Text-zu-Sprache unterstützte Sprache.',
- voice: 'Stimme',
- },
- },
- openingStatement: {
- title: 'Gesprächseröffner',
- add: 'Hinzufügen',
- writeOpener: 'Eröffnung schreiben',
- placeholder: 'Schreiben Sie hier Ihre Eröffnungsnachricht, Sie können Variablen verwenden, versuchen Sie {{Variable}} zu tippen.',
- openingQuestion: 'Eröffnungsfragen',
- noDataPlaceHolder:
- 'Den Dialog mit dem Benutzer zu beginnen, kann helfen, in konversationellen Anwendungen eine engere Verbindung mit ihnen herzustellen.',
- varTip: 'Sie können Variablen verwenden, versuchen Sie {{Variable}} zu tippen',
- tooShort: 'Für die Erzeugung von Eröffnungsbemerkungen für das Gespräch werden mindestens 20 Wörter des Anfangsprompts benötigt.',
- notIncludeKey: 'Das Anfangsprompt enthält nicht die Variable: {{key}}. Bitte fügen Sie sie dem Anfangsprompt hinzu.',
- },
- modelConfig: {
- model: 'Modell',
- setTone: 'Ton der Antworten festlegen',
- title: 'Modell und Parameter',
- modeType: {
- chat: 'Chat',
- completion: 'Vollständig',
- },
- },
- inputs: {
- title: 'Debug und Vorschau',
- noPrompt: 'Versuchen Sie, etwas Prompt im Vor-Prompt-Eingabefeld zu schreiben',
- userInputField: 'Benutzereingabefeld',
- noVar: 'Füllen Sie den Wert der Variable aus, der bei jedem Start einer neuen Sitzung automatisch im Prompt ersetzt wird.',
- chatVarTip:
- 'Füllen Sie den Wert der Variable aus, der bei jedem Start einer neuen Sitzung automatisch im Prompt ersetzt wird',
- completionVarTip:
- 'Füllen Sie den Wert der Variable aus, der bei jeder Einreichung einer Frage automatisch in den Prompt-Wörtern ersetzt wird.',
- previewTitle: 'Prompt-Vorschau',
- queryTitle: 'Anfrageinhalt',
- queryPlaceholder: 'Bitte geben Sie den Anfragetext ein.',
- run: 'AUSFÜHREN',
- },
- result: 'Ausgabetext',
- datasetConfig: {
- settingTitle: 'Abfragen-Einstellungen',
- retrieveOneWay: {
- title: 'N-zu-1-Abfrage',
- description: 'Basierend auf Benutzerabsicht und Beschreibungen des Wissens wählt der Agent autonom das beste Wissen für die Abfrage aus. Am besten für Anwendungen mit deutlichen, begrenzten Wissensgebieten.',
- },
- retrieveMultiWay: {
- title: 'Mehrwegabfrage',
- description: 'Basierend auf Benutzerabsicht werden Abfragen über alle Wissensbereiche hinweg durchgeführt, relevante Texte aus Mehrfachquellen abgerufen und die besten Ergebnisse, die der Benutzerabfrage entsprechen, nach einer Neubewertung ausgewählt. Konfiguration des Rerank-Modell-APIs erforderlich.',
- },
- rerankModelRequired: 'Rerank-Modell erforderlich',
- params: 'Parameter',
- top_k: 'Top K',
- top_kTip: 'Wird verwendet, um Abschnitte zu filtern, die am ähnlichsten zu Benutzerfragen sind. Das System wird auch dynamisch den Wert von Top K anpassen, entsprechend max_tokens des ausgewählten Modells.',
- score_threshold: 'Schwellenwert',
- score_thresholdTip: 'Wird verwendet, um den Ähnlichkeitsschwellenwert für die Abschnittsfilterung einzustellen.',
- retrieveChangeTip: 'Das Ändern des Indexmodus und des Abfragemodus kann Anwendungen beeinflussen, die mit diesem Wissen verbunden sind.',
- },
- debugAsSingleModel: 'Als Einzelmodell debuggen',
- debugAsMultipleModel: 'Als Mehrfachmodelle debuggen',
- duplicateModel: 'Duplizieren',
- publishAs: 'Veröffentlichen als',
- assistantType: {
- name: 'Assistententyp',
- chatAssistant: {
- name: 'Basisassistent',
- description: 'Erstellen eines chatbasierten Assistenten mit einem Großsprachmodell',
- },
- agentAssistant: {
- name: 'Agentenassistent',
- description: 'Erstellen eines intelligenten Agenten, der autonom Werkzeuge wählen kann, um Aufgaben zu erfüllen',
- },
- },
- agent: {
- agentMode: 'Agentenmodus',
- agentModeDes: 'Den Typ des Inferenzmodus für den Agenten festlegen',
- agentModeType: {
- ReACT: 'ReAct',
- functionCall: 'Funktionsaufruf',
- },
- setting: {
- name: 'Agenten-Einstellungen',
- description: 'Agentenassistenten-Einstellungen ermöglichen die Festlegung des Agentenmodus und erweiterte Funktionen wie integrierte Prompts, nur verfügbar im Agententyp.',
- maximumIterations: {
- name: 'Maximale Iterationen',
- description: 'Begrenzt die Anzahl der Iterationen, die ein Agentenassistent ausführen kann',
- },
- },
- buildInPrompt: 'Eingebautes Prompt',
- firstPrompt: 'Erstes Prompt',
- nextIteration: 'Nächste Iteration',
- promptPlaceholder: 'Schreiben Sie hier Ihr Prompt',
- tools: {
- name: 'Werkzeuge',
- description: 'Die Verwendung von Werkzeugen kann die Fähigkeiten von LLM erweitern, z.B. das Internet durchsuchen oder wissenschaftliche Berechnungen durchführen',
- enabled: 'Aktiviert',
- },
- },
-}
-
-export default translation
+const translation = {
+ pageTitle: {
+ line1: 'PROMPT',
+ line2: 'Engineering',
+ },
+ orchestrate: 'Orchestrieren',
+ promptMode: {
+ simple: 'Wechseln Sie in den Expertenmodus, um das gesamte PROMPT zu bearbeiten',
+ advanced: 'Expertenmodus',
+ switchBack: 'Zurückwechseln',
+ advancedWarning: {
+ title: 'Sie haben in den Expertenmodus gewechselt, und sobald Sie das PROMPT ändern, können Sie NICHT zum Basis-Modus zurückkehren.',
+ description: 'Im Expertenmodus können Sie das gesamte PROMPT bearbeiten.',
+ learnMore: 'Mehr erfahren',
+ ok: 'OK',
+ },
+ operation: {
+ addMessage: 'Nachricht hinzufügen',
+ },
+ contextMissing: 'Komponente fehlt, die Wirksamkeit des Prompts könnte schlecht sein.',
+ },
+ operation: {
+ applyConfig: 'Veröffentlichen',
+ resetConfig: 'Zurücksetzen',
+ debugConfig: 'Debuggen',
+ addFeature: 'Funktion hinzufügen',
+ automatic: 'Generieren',
+ stopResponding: 'Antworten stoppen',
+ agree: 'gefällt mir',
+ disagree: 'gefällt mir nicht',
+ cancelAgree: 'Gefällt mir zurücknehmen',
+ cancelDisagree: 'Gefällt mir nicht zurücknehmen',
+ userAction: 'Benutzer ',
+ },
+ notSetAPIKey: {
+ title: 'LLM-Anbieterschlüssel wurde nicht festgelegt',
+ trailFinished: 'Testversion beendet',
+ description: 'Der LLM-Anbieterschlüssel wurde nicht festgelegt und muss vor dem Debuggen festgelegt werden.',
+ settingBtn: 'Zu den Einstellungen gehen',
+ },
+ trailUseGPT4Info: {
+ title: 'Unterstützt derzeit kein gpt-4',
+ description: 'Um gpt-4 zu verwenden, bitte API-Schlüssel festlegen.',
+ },
+ feature: {
+ groupChat: {
+ title: 'Chatverbesserung',
+ description: 'Voreinstellungen für Konversationen zu Apps hinzufügen kann die Benutzererfahrung verbessern.',
+ },
+ groupExperience: {
+ title: 'Erfahrungsverbesserung',
+ },
+ conversationOpener: {
+ title: 'Gesprächseröffnungen',
+ description: 'In einer Chat-App wird der erste Satz, den die KI aktiv an den Benutzer richtet, üblicherweise als Begrüßung verwendet.',
+ },
+ suggestedQuestionsAfterAnswer: {
+ title: 'Nachfolgefragen',
+ description: 'Das Einrichten von Vorschlägen für nächste Fragen kann den Chat für Benutzer verbessern.',
+ resDes: '3 Vorschläge für die nächste Benutzerfrage.',
+ tryToAsk: 'Versuchen Sie zu fragen',
+ },
+ moreLikeThis: {
+ title: 'Mehr davon',
+ description: 'Mehrere Texte gleichzeitig generieren und dann bearbeiten und weiter generieren',
+ generateNumTip: 'Anzahl der generierten Texte pro Durchgang',
+ tip: 'Die Verwendung dieser Funktion verursacht zusätzliche Token-Kosten',
+ },
+ speechToText: {
+ title: 'Sprache zu Text',
+ description: 'Einmal aktiviert, können Sie Spracheingabe verwenden.',
+ resDes: 'Spracheingabe ist aktiviert',
+ },
+ textToSpeech: {
+ title: 'Text zu Sprache',
+ description: 'Einmal aktiviert, kann Text in Sprache umgewandelt werden.',
+ resDes: 'Text zu Audio ist aktiviert',
+ },
+ citation: {
+ title: 'Zitate und Urheberangaben',
+ description: 'Einmal aktiviert, zeigen Sie das Quelldokument und den zugeordneten Abschnitt des generierten Inhalts an.',
+ resDes: 'Zitate und Urheberangaben sind aktiviert',
+ },
+ annotation: {
+ title: 'Annotation Antwort',
+ description: 'Sie können manuell hochwertige Antworten zum Cache hinzufügen für bevorzugte Übereinstimmung mit ähnlichen Benutzerfragen.',
+ resDes: 'Annotationsantwort ist aktiviert',
+ scoreThreshold: {
+ title: 'Schwellenwert',
+ description: 'Wird verwendet, um den Ähnlichkeitsschwellenwert für die Annotation Antwort einzustellen.',
+ easyMatch: 'Einfache Übereinstimmung',
+ accurateMatch: 'Genaue Übereinstimmung',
+ },
+ matchVariable: {
+ title: 'Übereinstimmungsvariable',
+ choosePlaceholder: 'Wählen Sie Übereinstimmungsvariable',
+ },
+ cacheManagement: 'Annotationen',
+ cached: 'Annotiert',
+ remove: 'Entfernen',
+ removeConfirm: 'Diese Annotation löschen?',
+ add: 'Annotation hinzufügen',
+ edit: 'Annotation bearbeiten',
+ },
+ dataSet: {
+ title: 'Kontext',
+ noData: 'Sie können Wissen als Kontext importieren',
+ words: 'Wörter',
+ textBlocks: 'Textblöcke',
+ selectTitle: 'Wählen Sie Referenzwissen',
+ selected: 'Wissen ausgewählt',
+ noDataSet: 'Kein Wissen gefunden',
+ toCreate: 'Erstellen gehen',
+ notSupportSelectMulti: 'Unterstützt derzeit nur ein Wissen',
+ queryVariable: {
+ title: 'Abfragevariable',
+ tip: 'Diese Variable wird als Eingabe für die Kontextabfrage verwendet, um kontextbezogene Informationen in Bezug auf die Eingabe dieser Variable zu erhalten.',
+ choosePlaceholder: 'Wählen Sie Abfragevariable',
+ noVar: 'Keine Variablen',
+ noVarTip: 'Bitte erstellen Sie eine Variable im Variablenbereich',
+ unableToQueryDataSet: 'Konnte das Wissen nicht abfragen',
+ unableToQueryDataSetTip: 'Konnte das Wissen nicht erfolgreich abfragen, bitte wählen Sie eine Kontextabfragevariable im Kontextbereich.',
+ ok: 'OK',
+ contextVarNotEmpty: 'Kontextabfragevariable darf nicht leer sein',
+ deleteContextVarTitle: 'Variable „{{varName}}“ löschen?',
+ deleteContextVarTip: 'Diese Variable wurde als Kontextabfragevariable festgelegt und deren Entfernung wird die normale Verwendung des Wissens beeinträchtigen. Wenn Sie sie trotzdem löschen müssen, wählen Sie sie bitte im Kontextbereich erneut.',
+ },
+ },
+ tools: {
+ title: 'Werkzeuge',
+ tips: 'Werkzeuge bieten eine standardisierte API-Aufrufmethode, die Benutzereingaben oder Variablen als Anfrageparameter für die Abfrage externer Daten als Kontext verwendet.',
+ toolsInUse: '{{count}} Werkzeuge in Verwendung',
+ modal: {
+ title: 'Werkzeug',
+ toolType: {
+ title: 'Werkzeugtyp',
+ placeholder: 'Bitte wählen Sie den Werkzeugtyp',
+ },
+ name: {
+ title: 'Name',
+ placeholder: 'Bitte geben Sie den Namen ein',
+ },
+ variableName: {
+ title: 'Variablenname',
+ placeholder: 'Bitte geben Sie den Variablennamen ein',
+ },
+ },
+ },
+ conversationHistory: {
+ title: 'Konversationsverlauf',
+ description: 'Präfixnamen für Konversationsrollen festlegen',
+ tip: 'Der Konversationsverlauf ist nicht aktiviert, bitte fügen Sie <histories> im Prompt oben ein.',
+ learnMore: 'Mehr erfahren',
+ editModal: {
+ title: 'Konversationsrollennamen bearbeiten',
+ userPrefix: 'Benutzerpräfix',
+ assistantPrefix: 'Assistentenpräfix',
+ },
+ },
+ toolbox: {
+ title: 'WERKZEUGKASTEN',
+ },
+ moderation: {
+ title: 'Inhaltsmoderation',
+ description: 'Sichern Sie die Ausgabe des Modells durch Verwendung der Moderations-API oder durch Pflege einer Liste sensibler Wörter.',
+ allEnabled: 'INHALT von EINGABE/AUSGABE aktiviert',
+ inputEnabled: 'INHALT von EINGABE aktiviert',
+ outputEnabled: 'INHALT von AUSGABE aktiviert',
+ modal: {
+ title: 'Einstellungen zur Inhaltsmoderation',
+ provider: {
+ title: 'Anbieter',
+ openai: 'OpenAI-Moderation',
+ openaiTip: {
+ prefix: 'OpenAI-Moderation erfordert einen konfigurierten OpenAI-API-Schlüssel in den ',
+ suffix: '.',
+ },
+ keywords: 'Schlüsselwörter',
+ },
+ keywords: {
+ tip: 'Jeweils eine pro Zeile, getrennt durch Zeilenumbrüche. Bis zu 100 Zeichen pro Zeile.',
+ placeholder: 'Jeweils eine pro Zeile, getrennt durch Zeilenumbrüche',
+ line: 'Zeile',
+ },
+ content: {
+ input: 'INHALT der EINGABE moderieren',
+ output: 'INHALT der AUSGABE moderieren',
+ preset: 'Voreingestellte Antworten',
+ placeholder: 'Inhalt der voreingestellten Antworten hier',
+ condition: 'Moderation von INHALT der EINGABE und AUSGABE mindestens eine aktiviert',
+ fromApi: 'Voreingestellte Antworten werden durch API zurückgegeben',
+ errorMessage: 'Voreingestellte Antworten dürfen nicht leer sein',
+ supportMarkdown: 'Markdown unterstützt',
+ },
+ openaiNotConfig: {
+ before: 'OpenAI-Moderation erfordert einen konfigurierten OpenAI-API-Schlüssel in den',
+ after: '',
+ },
+ },
+ },
+ },
+ resetConfig: {
+ title: 'Zurücksetzen bestätigen?',
+ message:
+ 'Zurücksetzen verwirft Änderungen und stellt die zuletzt veröffentlichte Konfiguration wieder her.',
+ },
+ errorMessage: {
+ nameOfKeyRequired: 'Name des Schlüssels: {{key}} erforderlich',
+ valueOfVarRequired: '{{key}} Wert darf nicht leer sein',
+ queryRequired: 'Anfragetext ist erforderlich.',
+ waitForResponse:
+ 'Bitte warten Sie auf die Antwort auf die vorherige Nachricht, um abzuschließen.',
+ waitForBatchResponse:
+ 'Bitte warten Sie auf die Antwort auf die Stapelaufgabe, um abzuschließen.',
+ notSelectModel: 'Bitte wählen Sie ein Modell',
+ waitForImgUpload: 'Bitte warten Sie, bis das Bild hochgeladen ist',
+ },
+ chatSubTitle: 'Anweisungen',
+ completionSubTitle: 'Vor-Prompt',
+ promptTip:
+ 'Prompts leiten KI-Antworten mit Anweisungen und Einschränkungen. Fügen Sie Variablen wie {{input}} ein. Dieses Prompt wird den Benutzern nicht angezeigt.',
+ formattingChangedTitle: 'Formatierung geändert',
+ formattingChangedText:
+ 'Die Änderung der Formatierung wird den Debug-Bereich zurücksetzen, sind Sie sicher?',
+ variableTitle: 'Variablen',
+ variableTip:
+ 'Benutzer füllen Variablen in einem Formular aus, automatisches Ersetzen von Variablen im Prompt.',
+ notSetVar: 'Variablen ermöglichen es Benutzern, Aufforderungswörter oder Eröffnungsbemerkungen einzuführen, wenn sie Formulare ausfüllen. Sie könnten versuchen, "{{input}}" im Prompt einzugeben.',
+ autoAddVar: 'Im Vor-Prompt referenzierte undefinierte Variablen, möchten Sie sie im Benutzereingabeformular hinzufügen?',
+ variableTable: {
+ key: 'Variablenschlüssel',
+ name: 'Name des Benutzereingabefelds',
+ optional: 'Optional',
+ type: 'Eingabetyp',
+ action: 'Aktionen',
+ typeString: 'String',
+ typeSelect: 'Auswählen',
+ },
+ varKeyError: {
+ canNoBeEmpty: '{{key}} ist erforderlich',
+ tooLong: '{{key}} zu lang. Darf nicht länger als 30 Zeichen sein',
+ notValid: '{{key}} ist ungültig. Darf nur Buchstaben, Zahlen und Unterstriche enthalten',
+ notStartWithNumber: '{{key}} darf nicht mit einer Zahl beginnen',
+ keyAlreadyExists: '{{key}} existiert bereits',
+ },
+ otherError: {
+ promptNoBeEmpty: 'Prompt darf nicht leer sein',
+ historyNoBeEmpty: 'Konversationsverlauf muss im Prompt gesetzt sein',
+ queryNoBeEmpty: 'Anfrage muss im Prompt gesetzt sein',
+ },
+ variableConfig: {
+ modalTitle: 'Feldeinstellungen',
+ description: 'Einstellung für Variable {{varName}}',
+ fieldType: 'Feldtyp',
+ string: 'Kurztext',
+ paragraph: 'Absatz',
+ select: 'Auswählen',
+ notSet: 'Nicht gesetzt, versuchen Sie, {{input}} im Vor-Prompt zu tippen',
+ stringTitle: 'Formular-Textfeldoptionen',
+ maxLength: 'Maximale Länge',
+ options: 'Optionen',
+ addOption: 'Option hinzufügen',
+ apiBasedVar: 'API-basierte Variable',
+ },
+ vision: {
+ name: 'Vision',
+ description: 'Vision zu aktivieren ermöglicht es dem Modell, Bilder aufzunehmen und Fragen dazu zu beantworten.',
+ settings: 'Einstellungen',
+ visionSettings: {
+ title: 'Vision-Einstellungen',
+ resolution: 'Auflösung',
+ resolutionTooltip: `Niedrige Auflösung ermöglicht es dem Modell, eine Bildversion mit niedriger Auflösung von 512 x 512 zu erhalten und das Bild mit einem Budget von 65 Tokens darzustellen. Dies ermöglicht schnellere Antworten des API und verbraucht weniger Eingabetokens für Anwendungsfälle, die kein hohes Detail benötigen.
+ \n
+ Hohe Auflösung ermöglicht zunächst, dass das Modell das Bild mit niedriger Auflösung sieht und dann detaillierte Ausschnitte von Eingabebildern als 512px Quadrate basierend auf der Größe des Eingabebildes erstellt. Jeder der detaillierten Ausschnitte verwendet das doppelte Token-Budget für insgesamt 129 Tokens.`,
+ high: 'Hoch',
+ low: 'Niedrig',
+ uploadMethod: 'Upload-Methode',
+ both: 'Beides',
+ localUpload: 'Lokaler Upload',
+ url: 'URL',
+ uploadLimit: 'Upload-Limit',
+ },
+ },
+ voice: {
+ name: 'Stimme',
+ defaultDisplay: 'Standardstimme',
+ description: 'Text-zu-Sprache-Stimmeinstellungen',
+ settings: 'Einstellungen',
+ voiceSettings: {
+ title: 'Stimmeinstellungen',
+ language: 'Sprache',
+ resolutionTooltip: 'Text-zu-Sprache unterstützte Sprache.',
+ voice: 'Stimme',
+ },
+ },
+ openingStatement: {
+ title: 'Gesprächseröffner',
+ add: 'Hinzufügen',
+ writeOpener: 'Eröffnung schreiben',
+ placeholder: 'Schreiben Sie hier Ihre Eröffnungsnachricht, Sie können Variablen verwenden, versuchen Sie {{Variable}} zu tippen.',
+ openingQuestion: 'Eröffnungsfragen',
+ noDataPlaceHolder:
+ 'Den Dialog mit dem Benutzer zu beginnen, kann helfen, in konversationellen Anwendungen eine engere Verbindung mit ihnen herzustellen.',
+ varTip: 'Sie können Variablen verwenden, versuchen Sie {{Variable}} zu tippen',
+ tooShort: 'Für die Erzeugung von Eröffnungsbemerkungen für das Gespräch werden mindestens 20 Wörter des Anfangsprompts benötigt.',
+ notIncludeKey: 'Das Anfangsprompt enthält nicht die Variable: {{key}}. Bitte fügen Sie sie dem Anfangsprompt hinzu.',
+ },
+ modelConfig: {
+ model: 'Modell',
+ setTone: 'Ton der Antworten festlegen',
+ title: 'Modell und Parameter',
+ modeType: {
+ chat: 'Chat',
+ completion: 'Vollständig',
+ },
+ },
+ inputs: {
+ title: 'Debug und Vorschau',
+ noPrompt: 'Versuchen Sie, etwas Prompt im Vor-Prompt-Eingabefeld zu schreiben',
+ userInputField: 'Benutzereingabefeld',
+ noVar: 'Füllen Sie den Wert der Variable aus, der bei jedem Start einer neuen Sitzung automatisch im Prompt ersetzt wird.',
+ chatVarTip:
+ 'Füllen Sie den Wert der Variable aus, der bei jedem Start einer neuen Sitzung automatisch im Prompt ersetzt wird',
+ completionVarTip:
+ 'Füllen Sie den Wert der Variable aus, der bei jeder Einreichung einer Frage automatisch in den Prompt-Wörtern ersetzt wird.',
+ previewTitle: 'Prompt-Vorschau',
+ queryTitle: 'Anfrageinhalt',
+ queryPlaceholder: 'Bitte geben Sie den Anfragetext ein.',
+ run: 'AUSFÜHREN',
+ },
+ result: 'Ausgabetext',
+ datasetConfig: {
+ settingTitle: 'Abfragen-Einstellungen',
+ retrieveOneWay: {
+ title: 'N-zu-1-Abfrage',
+ description: 'Basierend auf Benutzerabsicht und Beschreibungen des Wissens wählt der Agent autonom das beste Wissen für die Abfrage aus. Am besten für Anwendungen mit deutlichen, begrenzten Wissensgebieten.',
+ },
+ retrieveMultiWay: {
+ title: 'Mehrwegabfrage',
+ description: 'Basierend auf Benutzerabsicht werden Abfragen über alle Wissensbereiche hinweg durchgeführt, relevante Texte aus Mehrfachquellen abgerufen und die besten Ergebnisse, die der Benutzerabfrage entsprechen, nach einer Neubewertung ausgewählt. Konfiguration des Rerank-Modell-APIs erforderlich.',
+ },
+ rerankModelRequired: 'Rerank-Modell erforderlich',
+ params: 'Parameter',
+ top_k: 'Top K',
+ top_kTip: 'Wird verwendet, um Abschnitte zu filtern, die am ähnlichsten zu Benutzerfragen sind. Das System wird auch dynamisch den Wert von Top K anpassen, entsprechend max_tokens des ausgewählten Modells.',
+ score_threshold: 'Schwellenwert',
+ score_thresholdTip: 'Wird verwendet, um den Ähnlichkeitsschwellenwert für die Abschnittsfilterung einzustellen.',
+ retrieveChangeTip: 'Das Ändern des Indexmodus und des Abfragemodus kann Anwendungen beeinflussen, die mit diesem Wissen verbunden sind.',
+ },
+ debugAsSingleModel: 'Als Einzelmodell debuggen',
+ debugAsMultipleModel: 'Als Mehrfachmodelle debuggen',
+ duplicateModel: 'Duplizieren',
+ publishAs: 'Veröffentlichen als',
+ assistantType: {
+ name: 'Assistententyp',
+ chatAssistant: {
+ name: 'Basisassistent',
+ description: 'Erstellen eines chatbasierten Assistenten mit einem Großsprachmodell',
+ },
+ agentAssistant: {
+ name: 'Agentenassistent',
+ description: 'Erstellen eines intelligenten Agenten, der autonom Werkzeuge wählen kann, um Aufgaben zu erfüllen',
+ },
+ },
+ agent: {
+ agentMode: 'Agentenmodus',
+ agentModeDes: 'Den Typ des Inferenzmodus für den Agenten festlegen',
+ agentModeType: {
+ ReACT: 'ReAct',
+ functionCall: 'Funktionsaufruf',
+ },
+ setting: {
+ name: 'Agenten-Einstellungen',
+ description: 'Agentenassistenten-Einstellungen ermöglichen die Festlegung des Agentenmodus und erweiterte Funktionen wie integrierte Prompts, nur verfügbar im Agententyp.',
+ maximumIterations: {
+ name: 'Maximale Iterationen',
+ description: 'Begrenzt die Anzahl der Iterationen, die ein Agentenassistent ausführen kann',
+ },
+ },
+ buildInPrompt: 'Eingebautes Prompt',
+ firstPrompt: 'Erstes Prompt',
+ nextIteration: 'Nächste Iteration',
+ promptPlaceholder: 'Schreiben Sie hier Ihr Prompt',
+ tools: {
+ name: 'Werkzeuge',
+ description: 'Die Verwendung von Werkzeugen kann die Fähigkeiten von LLM erweitern, z.B. das Internet durchsuchen oder wissenschaftliche Berechnungen durchführen',
+ enabled: 'Aktiviert',
+ },
+ },
+}
+
+export default translation
diff --git a/web/package.json b/web/package.json
index dc53057fbf8..df23e2fee60 100644
--- a/web/package.json
+++ b/web/package.json
@@ -221,4 +221,4 @@
"@types/react-dom": "19.0.4",
"@storybook/test": "8.5.0"
}
-}
\ No newline at end of file
+}
diff --git a/web/public/embed.js b/web/public/embed.js
index 0d6d72f9097..058652b5980 100644
--- a/web/public/embed.js
+++ b/web/public/embed.js
@@ -23,7 +23,7 @@
</svg>
`;
-
+
const originalIframeStyleText = `
position: absolute;
display: flex;
diff --git a/web/themes/dark.css b/web/themes/dark.css
index 5b191d1a3d5..edbd9de7b03 100644
--- a/web/themes/dark.css
+++ b/web/themes/dark.css
@@ -736,4 +736,4 @@ html[data-theme="dark"] {
--color-saas-background: #0b0b0e;
--color-saas-pricing-grid-bg: #c8ceda33;
-}
\ No newline at end of file
+}
diff --git a/web/themes/light.css b/web/themes/light.css
index 9c0952433d2..1d96658963f 100644
--- a/web/themes/light.css
+++ b/web/themes/light.css
@@ -736,4 +736,4 @@ html[data-theme="light"] {
--color-saas-background: #fcfcfd;
--color-saas-pricing-grid-bg: #c8ceda80;
-}
\ No newline at end of file
+}
diff --git a/web/themes/manual-dark.css b/web/themes/manual-dark.css
index 3c2b143b3c2..ce9f7b8190b 100644
--- a/web/themes/manual-dark.css
+++ b/web/themes/manual-dark.css
@@ -61,4 +61,4 @@ html[data-theme="dark"] {
rgba(24, 24, 27, 0.08) 0%,
rgba(0, 0, 0, 0) 100%);
--color-line-divider-bg: linear-gradient(90deg, rgba(200, 206, 218, 0.14) 0%, rgba(0, 0, 0, 0) 100%, );
-}
\ No newline at end of file
+}
diff --git a/web/themes/manual-light.css b/web/themes/manual-light.css
index 92473320bc1..2f15578339e 100644
--- a/web/themes/manual-light.css
+++ b/web/themes/manual-light.css
@@ -61,4 +61,4 @@ html[data-theme="light"] {
rgba(200, 206, 218, 0.2) 0%,
rgba(255, 255, 255, 0) 100%);
--color-line-divider-bg: linear-gradient(90deg, rgba(16, 24, 40, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
-}
\ No newline at end of file
+}
diff --git a/web/themes/markdown-dark.css b/web/themes/markdown-dark.css
index 7207b3e648e..3dc47284901 100644
--- a/web/themes/markdown-dark.css
+++ b/web/themes/markdown-dark.css
@@ -41,4 +41,4 @@ html[data-theme="dark"] {
--color-accent-emphasis: #0969da;
--color-attention-subtle: #fff8c5;
--color-danger-fg: #cf222e;
- }
\ No newline at end of file
+ }
diff --git a/web/themes/markdown-light.css b/web/themes/markdown-light.css
index 8f991b89207..7399325884c 100644
--- a/web/themes/markdown-light.css
+++ b/web/themes/markdown-light.css
@@ -41,4 +41,4 @@ html[data-theme="light"] {
--color-accent-emphasis: #0969da;
--color-attention-subtle: #fff8c5;
--color-danger-fg: #cf222e;
- }
\ No newline at end of file
+ }
diff --git a/web/utils/timezone.json b/web/utils/timezone.json
index f5e578d5dde..80e07ac4165 100644
--- a/web/utils/timezone.json
+++ b/web/utils/timezone.json
@@ -1271,4 +1271,4 @@
"name": "+14:00 Line Islands Time - Kiritimati",
"value": "Pacific/Kiritimati"
}
-]
\ No newline at end of file
+]