Skip to content

[LLM Runner] Expose grammar/json_schema in Android and Python bindings #19478

@kirklandsign

Description

@kirklandsign

Surface grammar + grammar_type in LlmModule.java (Android) and pybindings.cpp (Python). Both pass through to GenerationConfig. Depends on: E2E integration.

cc @larryliu0820 @mergennachin @cccclai @helunwencser @jackzhxng

Metadata

Metadata

Assignees

Labels

module: llmIssues related to LLM examples and apps, and to the extensions/llm/ codetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type
No fields configured for issues without a type.

Projects

Status

To triage

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions