-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 (provider/amazon-bedrock): remove dependence on AWS SDK Bedrock library #4582
base: main
Are you sure you want to change the base?
Conversation
d77b110
to
d7c55ea
Compare
d7c55ea
to
6b38a54
Compare
6b38a54
to
ad9719a
Compare
model: bedrock('anthropic.claude-3-haiku-20240307-v1:0'), | ||
prompt: 'Invent a new holiday and describe its traditions.', | ||
model: bedrock( | ||
'arn:aws:bedrock:us-east-2:474668406012:inference-profile/us.anthropic.claude-3-5-sonnet-20240620-v1:0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to ideally figure out how to make it backwards compatible, or we need to announce breaking changes somehow
import { ZodSchema } from 'zod'; | ||
|
||
// https://docs.aws.amazon.com/lexv2/latest/dg/event-stream-encoding.html | ||
export const createEventSourceResponseHandler = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would rename to createBedrockResponseHandler or something (include Bedrock)
No description provided.