feat: support bedrock api in job and intention #525
Merged
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 updates to various components of the project's infrastructure, lambda functions, and dependencies. The main changes are:
llm_bot_dep
package, which needs to be resolved.The motivation behind these changes is to enhance the functionality, fix potential bugs, and keep the project up-to-date with the latest dependencies.
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:
apiInference
object from theSystemConfig
interface, which likely disables the use of an external API for inference tasks in the application.groupName
to the lambda function, which is retrieved from the event object and passed along with other parameters to subsequent processing steps.get_model_details
to retrieve model details from a DynamoDB table using the group name, chatbot ID, and table name. It also modifies thegetCustomEmbeddings
function to fetch model provider, base URL, and API key ARN from the retrieved model details instead of using hardcoded values.