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

chore: update model id #438

Merged
merged 2 commits into from
Nov 15, 2024
Merged

chore: update model id #438

merged 2 commits into from
Nov 15, 2024

Conversation

NingLu
Copy link
Collaborator

@NingLu NingLu commented Nov 15, 2024

Fixes #

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

Description

This pull request includes modifications to various test files across different components of the project. The changes are primarily focused on enhancing existing test cases, improving code coverage, and ensuring the robustness of the testing framework. No new features or breaking changes have been introduced.

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: 8, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
source/lambda/online/lambda_query_preprocess/query_preprocess_utils/query_process_utils/preprocess_TEST.py 10 added, 14 removed The code changes involve removing unnecessary blank lines and minor formatting fixes to improve code readability and consistency.
source/lambda/online/lambda_main/test/main_restapi_test.py 13 added, 13 removed The code changes include formatting adjustments, such as indentation and spacing modifications, and no significant functional changes to the Python script that makes a POST request to an API endpoint.
source/lambda/online/lambda_query_preprocess/test/query_preprocess_TEST.py 15 added, 16 removed The code changes include importing the invoke_lambda function, adding two test functions (test_local and test_lambda) with sample event data for testing purposes, and modifying the code formatting and structure.
source/portal/src/utils/const.ts 1 added, 1 removed This change updates the list of common language models used by the application, replacing an older version of the Claude-3-5-sonnet model with a newer version.
source/lambda/online/lambda_agent/test/agent_TEST.py 17 added, 17 removed The code changes include importing the invoke_lambda function from common_logic.common_utils.lambda_invoke_utils, loading environment variables using dotenv, and defining two test functions (test_local and test_lambda) to invoke a chatbot agent with different configurations.
source/lambda/online/lambda_main/test/main_local_test_retail.py 95 added, 91 removed The code changes involve importing necessary modules, defining functions to test the chatbot system with multi-turn conversations, batch testing, and completing various test cases for different scenarios.
source/lambda/online/lambda_main/test/main_websocket_test.py 44 added, 45 removed The code changes include importing the json module, modifying the printing of output to avoid newlines, adding a default index name for private knowledge, and improving code formatting and indentation.
source/lambda/online/lambda_intention_detection/test/intention_TEST.py 16 added, 16 removed The code changes involve importing the invoke_lambda function, loading environment variables, extending the system path, and defining a test function that invokes a Lambda function named "Online_Intention_Detection" with a specific event body containing a query and chatbot configuration.

@NingLu NingLu merged commit 4f77a60 into dev Nov 15, 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