-
Notifications
You must be signed in to change notification settings - Fork 54
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: flat API and add cost in readme #513
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #
🤖 AI-Generated PR Description (Powered by Amazon Bedrock)
Description
This pull request includes several changes related to cost optimization and documentation updates. The primary changes are:
COST.md
andCOST_zh-cn.md
files to provide documentation on cost optimization strategies and best practices.README.md
andREADME_zh-cn.md
to include information about the new cost optimization documentation.api_test/buildspec.yaml
andapi_test/config.json
to optimize the API testing process and reduce unnecessary resource consumption.api_test/policies.json
to define resource policies for API testing.docs/api_doc/apis/api-prod-oas30.yaml
to reflect changes in the API documentation.source/lambda/online/common_logic/common_utils/constant.py
andsource/lambda/online/lambda_main/main.py
to implement cost optimization strategies in the Lambda functions.source/model/etl/code/model.sh
to optimize resource usage during model training and deployment.These changes aim to improve cost efficiency and provide better documentation for cost optimization strategies within the project.
Type of change
File Stats Summary
File number involved in this PR: 11, unfold to see the details:
The file changes summary is as follows:
ParamType
class with constantsNEST
andFLAT
, and no changes are made to the existingEntryType
andSceneType
classes.max_rounds_in_memory
,private_knowledge_config
,use_websearch
,chatbot_goods_id
,llm_endpoint_name
,private_knowledge_top_k
,private_knowledge_score
, andparam_type
to control various aspects of the chatbot and LLM configuration.🤖 AI-Generated PR Description (Powered by Amazon Bedrock)
Description
This pull request includes several changes to the project:
Modifications to the
.viperlightignore
file, which is likely used for specifying files or directories to be ignored during certain operations.Addition of two new files,
COST.md
andCOST_zh-cn.md
, which may contain documentation or information related to the project's cost or pricing.Updates to the
README.md
andREADME_zh-cn.md
files, which typically provide an overview and instructions for the project.Changes to the
api_test/buildspec.yaml
file, which is likely a configuration file for building or deploying the project's API tests.Modifications to the
api_test/config.json
file, which may contain configuration settings for the API tests.Addition of a new file,
api_test/policies.json
, which could be related to defining policies or permissions for the API tests.Updates to the
docs/api_doc/apis/api-prod-oas30.yaml
file, which appears to be an OpenAPI specification file for the project's production API.Changes to the
source/lambda/online/common_logic/common_utils/constant.py
file, which is likely a Python file containing constants or utility functions used by the project's Lambda functions.Modifications to the
source/lambda/online/lambda_main/main.py
file, which could be the main entry point for the project's Lambda functions.Updates to the
source/model/etl/code/model.sh
file, which may be a shell script related to the project's data modeling or ETL (Extract, Transform, Load) processes.Type of change
File Stats Summary
File number involved in this PR: 12, unfold to see the details:
The file changes summary is as follows:
ParamType
with two constantsNEST
andFLAT
, and does not modify the existingEntryType
andSceneType
classes.