v0.5.10
New Features
- Added Anthripic
claude-3-haiku-20240307
by @lroolle #2825 - Added weekday calculator in time tool by @bowenliang123 in #2822
- Added model provider
01.ai
, yi-chat-34b series by @soulteary in #2865 - Added Embedding models for the Aliyun dashscope
text-embedding-v1
andtext-embedding-v2
by @Onelevenvy in #2874 - Added tools for open weather search and image generation using the Spark API. by @Onelevenvy in #2845
- Added AWS Bedrock Claude3 by @soulteary in #2864
- Added support Azure OpenAI llm
0125
version by @leslie2046 in #2889 - Added
NVIDIA
model provider by @joshua20231026 in #2900 - Fix some problems.
Update Guide
Deploying with Docker Compose:
-
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
Deploying from Source Code:
-
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.
What's Changed
- enhance: add stable diffusion user guide by @Yeuoly in #2795
- Fix/2770 suggestions for next steps by @crazywoola in #2788
- excel: get keys from every sheet by @Weaxs in #2796
- Update README.md by @joshua20231026 in #2799
- Update README.md by @joshua20231026 in #2800
- Refactor Markdown component to include paragraph after image by @Ag2S1 in #2798
- fix:change azure openai api_version default value to 2024-02-15-preview by @leslie2046 in #2797
- fix:typo by @leslie2046 in #2808
- Improve automatic prompt generation by @WeepsDanky in #2805
- Fix tts api err by @charli117 in #2809
- feat: add Vietnamese vi-VN by @vigstudio in #2807
- feat: add French fr-FR by @lmagnien in #2810
- generalize position helper for parsing _position.yaml and sorting objects by name by @bowenliang123 in #2803
- fix: doc for completion-messages by @crazywoola in #2820
- feat:add api-version selection for azure openai APIs by @leslie2046 in #2821
- feat(llm/models): add claude-3-haiku-20240307 by @lroolle in #2825
- enhance: use override_settings for concurrent stable diffusion by @QunBB in #2818
- fix: doc for datasets by @ChiayenGu in #2831
- feat: add weekday calculator in time tool by @bowenliang123 in #2822
- fix: compatible to old tool config by @Yeuoly in #2837
- fix: The generate conversation name was not saved by @fengdwx in #2836
- Feat/add script to check i18n keys by @crazywoola in #2835
- Fix/localai by @Yeuoly in #2840
- Fix/compatible to old tool config by @Yeuoly in #2839
- fix: use supported languages only for install form by @crazywoola in #2844
- prevent auto scrolling down to bottom when user already scrolled up by @wststone in #2813
- fix: charts encoding by @Yeuoly in #2848
- fix: api doc duplicate symbols by @crazywoola in #2853
- Refactor: Streamline the build-push and deploy-dev workflow by @lroolle in #2852
- fix: print exception logs for ValueError and InvokeError by @bowenliang123 in #2823
- feat: add model for 01.ai, yi-chat-34b series by @soulteary in #2865
- feat: Allow users to specify AWS Bedrock validation models by @soulteary in #2857
- fix: unstable function call response arguments missing by @VoidIsVoid in #2872
- add max_tokens parameter rule for zhipuai glm4 and glm4v by @orangeclk in #2861
- add tenant id index for document and document_segment table by @JohnJyong in #2873
- feat:Embedding models Support for the Aliyun dashscope text-embedding-v1 and text-embedding-v2 by @Onelevenvy in #2874
- feat: Add tools for open weather search and image generation using the Spark API. by @Onelevenvy in #2845
- Feat/support tool credentials bool schema by @Yeuoly in #2875
- fix/Add isModel flag to AgentTools component by @Yeuoly in #2876
- fix enable annotation reply when collection is None by @JohnJyong in #2877
- feat: AWS Bedrock Claude3 by @soulteary in #2864
- i18n: update bedrock label by @soulteary in #2879
- feat: add icons for 01.ai by @crazywoola in #2883
- fix: Fix the problem of system not working by @soulteary in #2884
- fix: anthropic system prompt not working by @soulteary in #2885
- Bump tiktoken to 0.6.0 to support text-embedding-3-* in encoding_for_model by @bowenliang123 in #2891
- chore: use API Key instead of APIKey by @soulteary in #2888
- feat:support azure openai llm 0125 version by @leslie2046 in #2889
- chore: Update TongYi models prices by @soulteary in #2890
- chore: update pr template by @crazywoola in #2893
- chore: update Qwen model params by @soulteary in #2892
- fix incorrect exception raised by api tool which leads to incorrect L… by @lancemao in #2886
- feat: optimize ollama model default parameters by @takatost in #2894
- chore: update Yi models params by @soulteary in #2895
- fix: Ignore some emtpy page_content when append to split_documents by @listeng in #2898
- Feat/add-NVIDIA-as-a-new-model-provider by @joshua20231026 in #2900
- bump version to 0.5.10 by @takatost in #2902
New Contributors
- @Weaxs made their first contribution in #2796
- @Ag2S1 made their first contribution in #2798
- @vigstudio made their first contribution in #2807
- @QunBB made their first contribution in #2818
- @ChiayenGu made their first contribution in #2831
- @fengdwx made their first contribution in #2836
- @soulteary made their first contribution in #2865
- @VoidIsVoid made their first contribution in #2872
- @Onelevenvy made their first contribution in #2874
- @listeng made their first contribution in #2898
Full Changelog: 0.5.9...0.5.10