AndroidX icon indicating copy to clipboard operation
AndroidX copied to clipboard

Update "Com.Google.Mediapipe.Tasks.Genai.Llminference"/ "Xamarin.Google.MediaPipe.Tasks.GenAI" with missing bindings

Open CBP-07 opened this issue 5 months ago • 2 comments

Description

Currently I am using a package for using EDGE.AI and this package is required for localagents but the package Xamarin.Google.MediaPipe.Tasks.GenAI Version="0.10.27" has the following errors

'LlmOptionsProto.LlmModelSettings' does not implement the interface member 'LlmOptionsProto.ILlmModelSettingsOrBuilder.AudioModelSettings'
'LlmOptionsProto.LlmModelSettings' does not implement the interface member 'LlmOptionsProto.ILlmModelSettingsOrBuilder.LlmPreferredBackend'
'LlmOptionsProto.LlmModelSettings' does not implement the interface member 'LlmOptionsProto.ILlmModelSettingsOrBuilder.VisionModelSettings'
'LlmOptionsProto.LlmSessionConfig' does not implement the interface member 'LlmOptionsProto.ILlmSessionConfigOrBuilder.GraphConfig'
'LlmOptionsProto.LlmSessionConfig' does not implement the interface member 'LlmOptionsProto.ILlmSessionConfigOrBuilder.PromptTemplates'

CBP-07 avatar Sep 26 '25 16:09 CBP-07

Can you share a more complete example & error message?

jonathanpeppers avatar Sep 26 '25 16:09 jonathanpeppers

Image the source generator is not implementing some classes from this binding

so the issue seems the source generator is omitting this binding

'LlmOptionsProto.ILlmModelSettingsOrBuilder.AudioModelSettings' 'LlmOptionsProto.ILlmModelSettingsOrBuilder.LlmPreferredBackend' 'LlmOptionsProto.ILlmModelSettingsOrBuilder.VisionModelSettings' 'LlmOptionsProto.ILlmSessionConfigOrBuilder.GraphConfig' 'LlmOptionsProto.ILlmSessionConfigOrBuilder.PromptTemplates'

Image

CBP-07 avatar Sep 26 '25 17:09 CBP-07