41 lines
2.6 KiB
JSON
41 lines
2.6 KiB
JSON
[
|
|
{
|
|
"extension": "revapi.differences",
|
|
"configuration": {
|
|
"ignore": true,
|
|
"differences": [
|
|
{
|
|
"code": "java.class.externalClassExposedInAPI",
|
|
"new": "missing-class dev.langchain4j.model.embedding.listener.EmbeddingModelListener",
|
|
"justification": "Core langchain4j type intentionally exposed by the EmbeddingModel request/response API (embed(EmbeddingRequest), supportedParameters(), supportedContentTypes(), provider(), listeners())"
|
|
},
|
|
{
|
|
"code": "java.class.externalClassExposedInAPI",
|
|
"new": "missing-class dev.langchain4j.model.embedding.request.EmbeddingRequest",
|
|
"justification": "Core langchain4j type intentionally exposed by the EmbeddingModel request/response API (embed(EmbeddingRequest), supportedParameters(), supportedContentTypes(), provider(), listeners())"
|
|
},
|
|
{
|
|
"code": "java.class.externalClassExposedInAPI",
|
|
"new": "missing-class dev.langchain4j.model.embedding.response.EmbeddingResponse",
|
|
"justification": "Core langchain4j type intentionally exposed by the EmbeddingModel request/response API (embed(EmbeddingRequest), supportedParameters(), supportedContentTypes(), provider(), listeners())"
|
|
},
|
|
{
|
|
"code": "java.class.externalClassExposedInAPI",
|
|
"new": "missing-class dev.langchain4j.data.message.ContentType",
|
|
"justification": "Core langchain4j type intentionally exposed by the EmbeddingModel request/response API (embed(EmbeddingRequest), supportedParameters(), supportedContentTypes(), provider(), listeners())"
|
|
},
|
|
{
|
|
"code": "java.class.nonPublicPartOfAPI",
|
|
"old": "class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingResponse",
|
|
"justification": "Internal package-private wire response type, used only as a generic type parameter of the Bedrock embedding models"
|
|
},
|
|
{
|
|
"code": "java.method.removed",
|
|
"old": "method dev.langchain4j.model.output.Response<java.util.List<dev.langchain4j.data.embedding.Embedding>> dev.langchain4j.model.bedrock.AbstractBedrockEmbeddingModel<T extends dev.langchain4j.model.bedrock.BedrockEmbeddingResponse>::embedAll(java.util.List<dev.langchain4j.data.segment.TextSegment>) @ dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel",
|
|
"justification": "embedAll now inherits its default implementation from EmbeddingModel (routing through embed(EmbeddingRequest)/doEmbed); the raw batch logic moved to the protected doEmbedAll. The method is still present and callable via inheritance — non-breaking"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|