Herbert Beckman
Herbert Beckman
@KaisNeffati I tested it with this code and it works in the SDK. I'm also adding support for langchain4j to the tools in the AWS SDK. ```java package com.hb; import...
Another example with your code logic: ```java package com.hb; import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; import software.amazon.awssdk.core.document.Document; import software.amazon.awssdk.core.exception.SdkClientException; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient; import software.amazon.awssdk.services.bedrockruntime.model.ContentBlock; import software.amazon.awssdk.services.bedrockruntime.model.ConversationRole; import software.amazon.awssdk.services.bedrockruntime.model.ConverseRequest; import software.amazon.awssdk.services.bedrockruntime.model.ConverseResponse; import software.amazon.awssdk.services.bedrockruntime.model.Message; import...
Draft PR available. I'll add other models later. For while, only anthropic claude 3 is available.
You didn't call the api with correct parameter in tool configuration. Here is an example of code that works: ```java package com.hb; import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; import software.amazon.awssdk.core.document.Document; import software.amazon.awssdk.core.exception.SdkClientException; import software.amazon.awssdk.regions.Region;...
Another example with your code logic: ```java package com.hb; import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; import software.amazon.awssdk.core.document.Document; import software.amazon.awssdk.core.exception.SdkClientException; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient; import software.amazon.awssdk.services.bedrockruntime.model.ContentBlock; import software.amazon.awssdk.services.bedrockruntime.model.ConversationRole; import software.amazon.awssdk.services.bedrockruntime.model.ConverseRequest; import software.amazon.awssdk.services.bedrockruntime.model.ConverseResponse; import software.amazon.awssdk.services.bedrockruntime.model.Message; import...
@langchain4j see my example in issue #1074. I propose a new architecture to implement the converse API or create a new package.
I agree. However, some details still remain from the models, such as the `input schemas` and `inference configs`. I'm going to open a PR with the proposal.
Hello @langchain4j. No news. I haven't been able to focus on it yet.
@langchain4j I opened the draft PR. Please, if you can already suggest any changes, I'd appreciate it. Thank you!