Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
OTHER License
Bot releases are hidden (Show)
Published by takatost 5 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.9...0.6.10
Published by takatost 5 months ago
We’ve been working on enhancing our workflow capabilities lately. Today we’ve got some news:
You can now publish your AI workflow in Dify as a reusable tool. This allows for integration with new agents and other workflows, eliminating redundant efforts.
https://github.com/langgenius/dify/assets/5485478/3e9a237a-2340-4cb1-a4a6-0b7a396a810c
Make sure the input is an array. Each item in the array will be processed sequentially by the iteration node until all items are addressed. For instance, if you require a lengthy article, simply input several headlines. This will result in an article containing a paragraph for each headline, freeing you from the need for complex prompt orchestration.
Uses LLM to extract structured parameters from natural language, making tool use and HTTP requests in workflows a breeze.
Improved Variable Assigner supports more flexible variable selection. Additionally, the user experience is enhanced by improving the way node connections are made.
We’ve updated our UI to be more intuitive and easier to use, with improved classification.
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.8...0.6.9
Published by takatost 5 months ago
Hey folks, we've rolled out version 0.6.8 of our platform and it's packed with some new features, enhancements, and fixes. Here’s a quick rundown of what’s new:
Introduced OpenAI GPT-4o by @Yeuoly in #4346.
Introduced GPT-4 Turbo for Azure by @leslie2046 in #4287.
New models hosted on NVIDIA added by @joshua20231026 in #4303.
Add LocalAI rerank model support by @thiner in #3952.
Added Jinja2 template prompt support for LLM node by @Yeuoly in #3968 and @iamjoel in #4260.
Code node with upgraded network support and additional Python dependencies by @Yeuoly in #4231.
And we also removed the need for SYS_ADMIN permission for the sandbox service.
Added support for Google Storage by @KiyotakaMatsushita in #4266.
Vector DB PGVector integration by @vaayne in #3879.
Korean language support (ko-KR) by @qkdxorjs1002 in #4333.
Optimized workflow graph sync by @takatost in #4251 and @zxhlyh in #4250.
Now, you won't lose any workflow graph data when switching between multiple tabs in the browser. It's instantly synced to the latest draft version!
Hide node detail outputs and run details in web apps to streamline interfaces by @takatost in #3954 and @iamjoel in #4289.
Before, the tracing of the workflow might expose the log details of the nodes to the end-users, now we have disabled it.
Increased max steps to 50 in workflows by @takatost in #4252.
Question classifier prompt optimization for better accuracy by @JohnJyong in #4262.
After optimization, the classification results will be more accurate.
Optimized install form for better user experience by @TinsFox in #4154.
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.7...0.6.8
Published by takatost 5 months ago
The latest update, v0.6.7, continues to refine and expand our features with an emphasis on integrations and accessibility. Key updates include:
Integrate DeepSeek
Models by both @joshua20231026 and @soulteary in #4157 and #4162
Integrate LeptonAI
Models by @joshua20231026 in #4079
New model support from Azure OpenAI
for the GPT-4-turbo-2024-04-09
model by @charli117 in #4144
Integrate Volcengine MaaS
model provider by @sinomoe in #4142
Update to bedrock.yaml
adds the Asia Pacific (Sydney) region by @chenx5 in #4016
LocalAI
speech-to-text support by @Tomywang999 in #3921.
Added support for vision models from xinference by @Minamiyama in #4094.
A new built-in tool for Slack Incoming Webhook by @ericyangpan in #4067
Support for Aliyun OSS authentication V4 by @S96EA in #3886
Added support for Polish (pl-PL) by @patryk20120 in #4128
Integration of OpenAI usage in streaming response by @Yeuoly in #4140
New HTTP node settings allow for increased maximum size environments by @Yeuoly in #4137
Improved Japanese translations make our platform more accessible to Japanese speakers by @Fyphen1223 in #4119.
Support for time formats in code sandbox by @Yeuoly in #4138
Update to model_provider jina
to support custom URLs and models by @VoidIsVoid in #4110
Added BaseURL configuration for the Cohere model by @huangbaichao in #4152
Improved testing of the CodeExecutor with code templates and extracted CodeLanguage enum for better development practices by @bowenliang123 in #4098
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.6...0.6.7
Published by takatost 6 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
Tool Firecrawl support by @richards199999 in #3819
This new tool provides capabilities akin to JinaReader, allowing you to efficiently scrape web content and convert it to Markdown format.
Bedrock Llama3 support by @longzhihun in #3890
Minimax abab6.5, abab6.5s support by @Weaxs in #4012
VectorDB PGVecto_rs support and SQLAlchemy upgrade to 2.x by @JohnJyong in #3833
Storage gcs support by @miendinh in #3887
Added support for HTTP Request Timeout Settings in the HTTP request node by @majian159 in #3854
With the new connection, read, and write timeout settings, you can control your HTTP requests with precision.
Added support for Traditional Chinese language by @yongjer in #3899
Workflow remove preview mode by @zxhlyh in #3941
During preview, users can modify workflow graph configurations to enhance the user experience.”
Qdrant gRPC mode support by @leslie2046 in #3929
Refactor storage using the factory pattern by @JohnJyong in #3922
Update sandbox service image tag to a specific version to avoid any issues with delayed image updates by @Yeuoly in #3997
Text stream support for workflow app when using LLM node text as End node output by @takatost in #3798
If the END node in the workflow app contains the LLM text variable, it can support streaming output in typewriter form.
CODE transform node editor support insert var by add slash or left brace by @iamjoel in #3946
Added class_name output variable for question classifier node by @sinomoe in #4000
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Test
prefix by @bowenliang123 in https://github.com/langgenius/dify/pull/3906
@types/react
by @TinsFox in https://github.com/langgenius/dify/pull/3939
Full Changelog: https://github.com/langgenius/dify/compare/0.6.5...0.6.6
Published by takatost 6 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
Added support for Groq Llama3 by @guchenhe in #3673.
Added support for the Bedrock Mistral AI model by @longzhihun in #3676.
Introduced a new tool, Judge0 CE, by @richards199999 in #3684.
Added conversation_id
and user_id
to the chatflow/workflow system variables by @takatost in #3771.
This is particularly valuable when you need to interact with internal systems. You can pass these two parameters when using the HTTP Request node, allowing the internal system to understand the current user and the corresponding conversation to establish a connection.
Added chatflow LLM node with query prompt template support by @takatost in #3791.
You can now enable memory in the LLM node within your chatflow, and customize the query prompt template.
Enabled the addition of custom tags for Knowledge and App categories by @JohnJyong in #3755.
For additional enhancements and updates, refer to the What's Changed section below.
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.4...0.6.5
Published by takatost 6 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.3...0.6.4
Published by takatost 6 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
JinaReader
as Tool by @Yeuoly in #3468Function calling
support for Google Gemini Pro by @Yeuoly in #3406embedding models
with AWS Bedrock Titan Model by @longzhihun in #3377stream tool call
by @Yeuoly in #3467tongyi
models, add function calling & vision
support by @takatost in #3496Cohere embedding
by @kerlion in #3444rerank 3 model
added by @Yash-1511 in #3431codegemma 7b
support by @joshfeng in #3437SearXNG search
as built-in tool by @junytang in #3363EPUB
files in RAG extractors by @vaayne in #3254XLS
files in RAG extractors by @ic-xu in #3321relyt
vector database by @klaus-xiong in #3367shortcuts
(#3382) by @perzeuss in #3390Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install --upgrade -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.2...0.6.3
Published by takatost 6 months ago
[!WARNING]
⚠️ EMERGENCY FIX ⚠️
PLEASE UPGRADE to
v0.6.2
AS SOON AS POSSIBLE TO PREVENT DATA LEAKAGE.Fix the issue where
sys.query
/sys.files
data gets confused with other tasks during high concurrency inworkflow
/chatflow
in #3378.
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
gpt-4-turbo
& gpt-4-turbo-2024-04-09
support by @Yeuoly in #3263gpt-4-turbo-2024-04-09
support by @Kennytian in #3300gemini-1.5-pro
support by @lroolle in #2925Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.1...0.6.2
Published by takatost 6 months ago
This update primarily focuses on enhancing system stability and improving user experience. Key updates include:
undo
by @zxhlyh in #3242database
parameter used in Milvus by @LeoQuote in #3003Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.0-fix1...0.6.1
Published by takatost 6 months ago
[!IMPORTANT]
EMERGENCY FIX:ADD FEATURE
dialog of Agent application that incorrectly used the Text Generator App dialog content.
The much-anticipated workflow feature is here: In a nutshell, workflow provides a visual canvas for defining complex tasks as smaller, manageable steps (nodes). This reduces reliance on prompt engineering and LLM agent capabilities, taking the stability and reproducibility of your LLM applications to the next level by letting you be in control.
There are two Workflow application types with this update:
Workflow App
Targeting Automation and Batch Processing: This is ideal for translation, data analysis, content generation, email automation, and more.
Chatflow App (A Sub-Type of Chatbot)
For Conversational Applications: Suitable for customer service, semantic search, and more conversational apps requiring multi-step logic in crafting the response.
Compared to the regular Workflow app type, Chatflow adds chat-specific features such as conversation history support (Memory), tagged replies, an Answer node type for streaming responses, and support for rich text and images.
For more information, please visit: https://docs.dify.ai/features/workflow/introduce
Other Enhancements:
Optimized UI flow for app creation.
Conversion support from various basic application types to Workflow-based applications.
Basic / Expert mode Chatbot apps → Chatflow
Text Generator → Workflow
Dify's official app templates are now available in self-hosted mode.
Support for adding descriptions to applications.
Support for porting applications in and out of Dify with DSL.
Under the hood, we also refactored the underlying execution logic of all app types for cleaner architecture and a tidier repo.
If you need to upgrade from 0.6.0-preview-workflow.1
, you will need to connect to PostgreSQL and execute the following SQL (migration inserted in the main branch) to ensure data integrity.
ALTER TABLE dataset_keyword_tables ADD COLUMN data_source_type VARCHAR(255) NOT NULL DEFAULT 'database';
ALTER TABLE embeddings ADD COLUMN provider_name VARCHAR(40) NOT NULL DEFAULT '';
ALTER TABLE embeddings DROP CONSTRAINT embedding_hash_idx;
ALTER TABLE embeddings ADD CONSTRAINT embedding_hash_idx UNIQUE (model_name, hash, provider_name);
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)
docker compose exec api flask convert-to-agent-apps
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)
flask convert-to-agent-apps
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.6.0...0.6.0-fix1
Published by takatost 6 months ago
The much-anticipated workflow feature is here: In a nutshell, workflow provides a visual canvas for defining complex tasks as smaller, manageable steps (nodes). This reduces reliance on prompt engineering and LLM agent capabilities, taking the stability and reproducibility of your LLM applications to the next level by letting you be in control.
There are two Workflow application types with this update:
Workflow App
Targeting Automation and Batch Processing: This is ideal for translation, data analysis, content generation, email automation, and more.
Chatflow App (A Sub-Type of Chatbot)
For Conversational Applications: Suitable for customer service, semantic search, and more conversational apps requiring multi-step logic in crafting the response.
Compared to the regular Workflow app type, Chatflow adds chat-specific features such as conversation history support (Memory), tagged replies, an Answer node type for streaming responses, and support for rich text and images.
For more information, please visit: https://docs.dify.ai/features/workflow/introduce
Other Enhancements:
Optimized UI flow for app creation.
Conversion support from various basic application types to Workflow-based applications.
Basic / Expert mode Chatbot apps → Chatflow
Text Generator → Workflow
Dify's official app templates are now available in self-hosted mode.
Support for adding descriptions to applications.
Support for porting applications in and out of Dify with DSL.
Under the hood, we also refactored the underlying execution logic of all app types for cleaner architecture and a tidier repo.
If you need to upgrade from 0.6.0-preview-workflow.1
, you will need to connect to PostgreSQL and execute the following SQL (migration inserted in the main branch) to ensure data integrity.
ALTER TABLE dataset_keyword_tables ADD COLUMN data_source_type VARCHAR(255) NOT NULL DEFAULT 'database';
ALTER TABLE embeddings ADD COLUMN provider_name VARCHAR(40) NOT NULL DEFAULT '';
ALTER TABLE embeddings DROP CONSTRAINT embedding_hash_idx;
ALTER TABLE embeddings ADD CONSTRAINT embedding_hash_idx UNIQUE (model_name, hash, provider_name);
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker compose up -d
We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)
docker compose exec api flask convert-to-agent-apps
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)
flask convert-to-agent-apps
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.5.11-fix1...0.6.0
Published by takatost 7 months ago
This version is a preview release intended for feature workflow internal testing only. It is not a formal release. Please proceed with caution before upgrading. Please do not use it in a production environment.
Refactored the variable reference logic for LLM, Answer, Tool, and Http Request nodes. Now you can simply input "/" in the text box to directly select variables without having to declare variable relationships and import them separately.
Due to changes in the data structure, the previous workflow configurations will no longer be available. Please create a new App to experience it and avoid running into any error issues caused by inconsistent data structures.
Optimized the user experience of app creation.
A lot of details to optimize for user experience.
Fixed few issues.
If you need to upgrade from 0.6.0-preview-workflow.1
, you will need to connect to PostgreSQL and execute the following SQL (migration inserted in the main branch) to ensure data integrity.
ALTER TABLE dataset_keyword_tables ADD COLUMN data_source_type VARCHAR(255) NOT NULL DEFAULT 'database';
ALTER TABLE embeddings ADD COLUMN provider_name VARCHAR(40) NOT NULL DEFAULT '';
ALTER TABLE embeddings DROP CONSTRAINT embedding_hash_idx;
ALTER TABLE embeddings ADD CONSTRAINT embedding_hash_idx UNIQUE (model_name, hash, provider_name);
Get the latest code from the feat/workflow
branch:
git fetch --tags
git checkout 0.6.0-preview-workflow.2
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the feat/workflow
branch:
git fetch --tags
git checkout 0.6.0-preview-workflow.2
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Published by takatost 7 months ago
Fixed the error issue caused by batch embedding and creating collections simultaneously of vector db on knowledge base processing. #3054
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.5.11...0.5.11-fix1
Published by takatost 7 months ago
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
/completion-messages
request by @aqachun in https://github.com/langgenius/dify/pull/2999
Full Changelog: https://github.com/langgenius/dify/compare/0.5.10...0.5.11
Published by takatost 7 months ago
This version is a preview release intended for feature workflow internal testing only. It is not a formal release. Please proceed with caution before upgrading.
Chatflow
and Workflow
.Get the latest code from the feat/workflow
branch:
git fetch --tags
git checkout 0.6.0-preview-workflow.1
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the feat/workflow
branch:
git fetch --tags
git checkout 0.6.0-preview-workflow.1
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Published by takatost 7 months ago
claude-3-haiku-20240307
by @lroolle #282501.ai
, yi-chat-34b series by @soulteary in #2865text-embedding-v1
and text-embedding-v2
by @Onelevenvy in #28740125
version by @leslie2046 in #2889NVIDIA
model provider by @joshua20231026 in #2900Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.5.9...0.5.10
Published by takatost 7 months ago
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
pip install -r requirements.txt
Then, let's run the migration script:
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
python-docx
to extract docx files by @bowenliang123 in https://github.com/langgenius/dify/pull/2654
Full Changelog: https://github.com/langgenius/dify/compare/0.5.8...0.5.9
Published by takatost 8 months ago
claude-3
LLM with Vision #2684jina-reranker-v1-base-en
rerank model #2676Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Then, let's run the migration script:
cd api
flask db upgrade
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
Finally, run API server, Worker and Web frontend Server again.
Full Changelog: https://github.com/langgenius/dify/compare/0.5.7...0.5.8
Published by takatost 8 months ago
Mistral AI
model provider. #2594response format
(JSON/XML) for google
, anthropic
, openai
, wenxin
, chatglm
, tongyi
LLMs. #2563When you want to switch to another vector database, you can deactivate or delete the original vector database after switching.
Step:
.env
file to the vector database you want to migrate to.VECTOR_STORE=qdrant
docker compose
, modify the environment variable in the docker-compose.yaml
file to the vector database you want to migrate to, both api and worker are all needed.For example:
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
VECTOR_STORE: qdrant
flask vdb-migrarte
Get the latest code from the main branch:
git checkout main
git pull origin main
Go to the next step and update to the latest image:
cd docker
docker-compose up -d
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Then, let's run the migration script:
cd api
flask db upgrade
Note: To use TTS, ffmpeg
installation is required on servers running Dify API from source. More details can be found in our FAQ.
Finally, run API server, Worker and Web frontend Server again.
user
exceeded max length when invoking moonshot llm by @takatost in https://github.com/langgenius/dify/pull/2596
Full Changelog: https://github.com/langgenius/dify/compare/0.5.6...0.5.7