Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support deployment module #489

Merged
merged 1 commit into from
Dec 20, 2024
Merged

feat: support deployment module #489

merged 1 commit into from
Dec 20, 2024

Conversation

NingLu
Copy link
Collaborator

@NingLu NingLu commented Dec 20, 2024

Fixes #

🤖 AI-Generated PR Description (Powered by Amazon Bedrock)

Description

This pull request includes changes to various files related to the configuration management system. The main changes are:

  1. Updated the README files (README.md and README_zh-cn.md) to reflect the latest changes and provide better documentation.
  2. Modified the config.ts file in the infrastructure module to improve the handling of configuration files.
  3. Updated the magic-config.ts file in the infrastructure module to enhance the command-line interface for managing configurations.
  4. Changes to the types.ts file in the infrastructure module to support new configuration options.
  5. Modified the const.ts file in the portal module to align with the updated configuration system.
  6. Updated the build.sh script to incorporate the latest changes in the build process.

These changes aim to streamline the configuration management process, improve usability, and provide better documentation for developers and users.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

File Stats Summary

File number involved in this PR: 7, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
README_zh-cn.md 2 added, 0 removed The changes enable the chat feature, specify the AWS region for Bedrock, and enable the use of an open-source language model.
README.md 2 added, 0 removed The code changes enable chat functionality with Bedrock region set to "us-east-1" and the use of an open-source language model.
source/infrastructure/lib/shared/types.ts 1 added, 0 removed This change adds a new boolean property 'useOpenSourceLLM' to the SystemConfig interface, potentially enabling the use of an open-source language model.
source/script/build.sh 11 added, 0 removed This code change adds functionality to build a model deployment module if the useOpenSourceLLM configuration is enabled, and echoes whether an open source model is being used. It also prepares the ETL model if certain knowledge base configurations are enabled.
source/infrastructure/bin/config.ts 1 added, 0 removed The code change adds a new configuration option 'useOpenSourceLLM' and sets it to true, likely enabling the usage of an open-source language model.
source/portal/src/utils/const.ts 0 added, 1 removed The code changes remove the 'us.anthropic.claude-3-sonnet-20240229-v1:0' model from the list, add 'us.amazon.nova-lite-v1:0' and 'us.amazon.nova-micro-v1:0' models, and reorder the list.
source/infrastructure/cli/magic-config.ts 12 added, 1 removed The code changes add an option to use open-source large language models (LLMs) like Qwen, ChatGLM, or IntermLM for the chat feature, and enable the knowledge base by default during the solution creation process.

@NingLu NingLu merged commit 297d9d8 into dev Dec 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant