Skip to content

Android implementation #41

@elile

Description

@elile

Hi,
I’m trying to implement function calling on Android.

First, I used the Hammer model with its formatter, but it either crashes on parseResponse or always returns hasFunction = true.

Then, I tried the Gemma model with its formatter, but it only returns plain text.

My goal is to implement a use case where:

  1. I invoke a tool and receive a JSON response.

  2. I then feed this JSON back into the model to generate a human-like text output.

How can I achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions