local_ai_genkit 0.0.3 copy "local_ai_genkit: ^0.0.3" to clipboard
local_ai_genkit: ^0.0.3 copied to clipboard

Optional Genkit orchestration layer for LocalAI Kit: flows, tools, prompt templates and schema-validated structured output on top of any core LocalLlm.

local_ai_genkit #

Optional Genkit orchestration for LocalAI Kit: flows, tools, prompt templates and schema-validated structured output over any LocalLlm.

import 'package:local_ai_genkit/local_ai_genkit.dart';

Add GenkitAdapterPlugin alongside your runtime adapter when you need Genkit flows. See the LocalAI Kit repository for examples and architecture documentation.

To expose a loaded LocalLlm as a native Genkit model, use a caller-owned Genkit runtime (the bridge targets Genkit 0.14.x):

final model = GenkitLlmAdapter(inner: llm).registerAsGenkitModel(
  genkit: Genkit(promptDir: null),
  name: 'localai/inner',
);
0
likes
0
points
179
downloads

Publisher

unverified uploader

Weekly Downloads

Optional Genkit orchestration layer for LocalAI Kit: flows, tools, prompt templates and schema-validated structured output on top of any core LocalLlm.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, genkit, local_ai_core, local_ai_kit

More

Packages that depend on local_ai_genkit