-
Notifications
You must be signed in to change notification settings - Fork 73
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
langchain4j example JlamaAiFunctionCallingExamples doesn't work with version 0.7 #95
Comments
This still fails with the same exception for me in version 0.8.2 |
Are you using latest langchain4j? |
I've tried 0.36.0, I see there is a 0.36.1 now, I can try that as well |
If I want to reproduce I just rub the examples or are you using something g else? |
This code would work: List<ToolCall> toolCallList = JsonSupport.om.readValue(jsonCall, new TypeReference<>() {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exception running langchain4j example JlamaAiFunctionCallingExamples with JLama version 0.7
JsonSupport.om readValue() returns a Tool instead of List of Tool
List toolCallList = JsonSupport.om.readValue(jsonCall, ToolCall.toolCallListTypeReference);
The text was updated successfully, but these errors were encountered: