forked from langchain4j/langchain4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix langchain4j#444: Added missing GraalVM metadata for Gson and excl…
…uded commons-logging (langchain4j#482) This PR is a fix for langchain4j#444 - Missing metadata for Gson serialization was added for `langchain4j-vertex-ai` module - `commons-logging` was excluded from dependencies as it causes troubles during native build
- Loading branch information
1 parent
93ff2f9
commit 8a7ad86
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...resources/META-INF/native-image/dev.langchain4j/langchain4j-vertex-ai/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"name" : "dev.langchain4j.model.vertexai.VertexAiChatInstance", | ||
"allDeclaredConstructors" : true, | ||
"allPublicConstructors" : true, | ||
"allDeclaredMethods" : true, | ||
"allPublicMethods" : true, | ||
"allDeclaredFields" : true, | ||
"allPublicFields" : true | ||
}, | ||
{ | ||
"name" : "dev.langchain4j.model.vertexai.VertexAiChatInstance$Message", | ||
"allDeclaredConstructors" : true, | ||
"allPublicConstructors" : true, | ||
"allDeclaredMethods" : true, | ||
"allPublicMethods" : true, | ||
"allDeclaredFields" : true, | ||
"allPublicFields" : true | ||
}, | ||
{ | ||
"name" : "dev.langchain4j.model.vertexai.VertexAiEmbeddingInstance", | ||
"allDeclaredConstructors" : true, | ||
"allPublicConstructors" : true, | ||
"allDeclaredMethods" : true, | ||
"allPublicMethods" : true, | ||
"allDeclaredFields" : true, | ||
"allPublicFields" : true | ||
}, | ||
{ | ||
"name" : "dev.langchain4j.model.vertexai.VertexAiParameters", | ||
"allDeclaredConstructors" : true, | ||
"allPublicConstructors" : true, | ||
"allDeclaredMethods" : true, | ||
"allPublicMethods" : true, | ||
"allDeclaredFields" : true, | ||
"allPublicFields" : true | ||
}, | ||
{ | ||
"name" : "dev.langchain4j.model.vertexai.VertexAiTextInstance", | ||
"allDeclaredConstructors" : true, | ||
"allPublicConstructors" : true, | ||
"allDeclaredMethods" : true, | ||
"allPublicMethods" : true, | ||
"allDeclaredFields" : true, | ||
"allPublicFields" : true | ||
} | ||
] |