Releases: firebase/genkit
Releases · firebase/genkit
0.5.4
What's Changed
- Add a flow name label to action and generate level metrics by @bryanatkinson in #404
- Adds 'any' scalar, nullable optionals, wildcards to Picoschema. by @mbleigh in #407
- Adds context and history support to Dotprompt. Fixes #418 by @mbleigh in #421
- fix: exit from
nonDurableExpressHandler
when authPolicy check fails by @pavelgj in #441 - add ollama plugin by @huangjeff5 in #378
- [plugins/firebase] defineFirestoreRetriever: Allow supplying collection at retrieval time by @mbleigh in #443
- Update to pnpm v9.4 by @tonybaroneee in #464
- docs: update prompts.md by @eltociear in #465
- docs: added a header for tools and function calling by @pavelgj in #444
- Upgrading firebase-admin to 12.2.0 by @maxl0rd in #476
- Adds telemetry export support to Firebase plugin by @bryanatkinson in #474
- Update ollama js plugin to support system message by @huangjeff5 in #471
- Update GCP Trace exporter to avoid ':' in span attributes. by @bryanatkinson in #490
- Add a status label to metrics so that they can be filtered by success state by @bryanatkinson in #491
- Carry over the span context. by @kmandrika in #502
- Updates logs to write friendly display paths instead of the annotated version by @bryanatkinson in #504
- Check auth on streamFlow() calls by @sam-gc in #506
- Adds
defineSchema
to support registered schema use in Dotprompt. by @mbleigh in #503 - chore: make firebase template auth policy a comment to reduce friction by @pavelgj in #468
- Adds partials to Dotprompt. by @mbleigh in #508
- Adds defineHelper to allow custom Handlebars helpers. by @mbleigh in #509
- Adding experimental flows streaming client library by @pavelgj in #230
- chore: bump version to 0.5.4 by @pavelgj in #511
- Update models.md -- remove callback streaming example by @kevinthecheung in #414
New Contributors
- @huangjeff5 made their first contribution in #378
- @eltociear made their first contribution in #465
Full Changelog: 0.5.3...0.5.4
Genkit Go v0.0.1 Preview Release
Update models.md -- remove callback streaming example (#414) Redundant with "Streaming responses" section
0.5.3
What's Changed
- [Go] pass tool description to service by @ianlancetaylor in #278
- Capture and log all flow variants. by @kmandrika in #258
- [Go] add general prompt support to ai package by @ianlancetaylor in #284
- Pass auth policy requirement through reflection API by @sam-gc in #268
- Make pnpm version match the one specified by the UI package by @sam-gc in #287
- [Go] Fixed streaming. by @apascal07 in #285
- [Go] Reuse the same file in localvec when indexing by @ssbushi in #286
- [Go] retrieve and index calls are always actions by @jba in #291
- [Go] run "go mod tidy" by @ianlancetaylor in #296
- [Go] add DefineAction by @jba in #295
- [Go] rename Retriever to DocumentStore by @jba in #298
- Use tools property being sent to CreatePromptFormat rather than create new property by @MaesterChestnut in #302
- [Go] add menu sample by @ianlancetaylor in #300
- [Go] embed calls are always actions by @jba in #301
- [Go] generate calls are always actions by @jba in #303
- [Go] support sending images to googleai/vertexai by @ianlancetaylor in #322
- Normalize to type/provider/name pattern for action names. by @randall77 in #324
- [Go] fix broken struct tags by @jba in #327
- [Go] fix spelling by @jba in #329
- [Go] googleai: revised plugin design by @jba in #326
- [Go] a generator is just an action by @jba in #335
- [Go] rename Generator to Model by @jba in #342
- [Go] change vertexai plugin to new style by @jba in #347
- [Go] make googlecloud.Init conform by @jba in #348
- [Go] replace Embedder interface with EmbedderAction by @jba in #349
- Dev UI test examples for auth and tools by @MichaelDoyle in #350
- [Go] replace ai.DocumentStore with indexer and retriever actions by @jba in #353
- [Go] fix Config godoc by @jba in #355
- [Go] localvec: default Dir to os.TempDir by @jba in #357
- [Go] don't pass callback from flow to prompt if flow didn't get one by @ianlancetaylor in #358
- [Go] make ActionType internal by @jba in #360
- [Go] rename RegisterTool to DefineTool by @jba in #362
- switch callbacks from taking a Candidate to taking a GenerateResponseChunk by @randall77 in #363
- [Go] change ai package prompt support to just render by @ianlancetaylor in #364
- [Go] proposal: vector DB Inits return actions by @jba in #367
- [Go] unexport symbols in core by @jba in #368
- Add initial tests for open telemetry metrics exported via the GCP plugin by @bryanatkinson in #288
- Update path variant logic to store paths in a new trace-scoped async local storage by @bryanatkinson in #297
- Update usage metrics capture for gemini to include returned token counts by @bryanatkinson in #332
- feat: added Gemini 1.5 GA model versions by @pavelgj in #341
- Add description on how to find 3P models by @i14h in #352
- [Go] export Action.Name by @jba in #371
- test that streaming and final answer contain the same text. by @randall77 in #382
- feat: added Vertex AI multilingual embeddings and text-embedding-004 by @pavelgj in #340
- [Go] simplify pinecone plugin, and configure with indexID by @ianlancetaylor in #385
- Fix CORS code snippet by @alexastrum in #377
- Update to pnpm v9.3 by @tonybaroneee in #376
- [Go] register Pinecone actions by index ID by @ianlancetaylor in #386
- Add ability to optionally disable collection of traces/metrics by @andrewbrook in #387
- Track the latency of each variant. by @kmandrika in #381
- Update metrics export defaults and truncate metric labels by @bryanatkinson in #380
- add NoValidCandidatesError export by @tpiaggio in #388
- [VertexAI] Fix Gemini 1.5 Pro model version by @Dabolus in #392
- chore: renamed google ai and vertex ai provider ids by @pavelgj in #396
- Update GCP metric exporter to use an ExponentialHistogramAggregation by @bryanatkinson in #398
New Contributors
- @i14h made their first contribution in #352
- @alexastrum made their first contribution in #377
- @andrewbrook made their first contribution in #387
- @tpiaggio made their first contribution in #388
- @Dabolus made their first contribution in #392
Full Changelog: 0.5.2...0.5.3
0.5.2
What's Changed
- [Go] more API and doc changes by @jba in #213
- [Go] move tracing to an internal package by @jba in #224
- Sync model type definitions onto tools-common by @MichaelDoyle in #220
- [JS] feat: add path prefix option to startFlowsServer by @debkanchan in #196
- Improving dotprompt plugin by @maxl0rd in #231
- Added input schema validation in dev UI for Go. by @apascal07 in #232
- [Go] fix tests by @jba in #237
- [Go] production server by @jba in #233
- Firebase plugin doc improvements by @kevinthecheung in #211
- Updated prompt files in dev-ui-gallery by @MichaelDoyle in #235
- Recursively look for
.prompt
files in specified dir by @tonybaroneee in #234 - [Go] move dotprompt to plugins by @ianlancetaylor in #241
- [Go] added action type and subtype span metadata to actions by @pavelgj in #229
- [Go] shell scripts for Cloud Run by @jba in #242
- [Go] fix go generate by @jba in #243
- [Go] move most of genkit package into core by @jba in #244
- [Go] make core the home of codegen by @jba in #245
- Add ajv-formats to schema validation by @sqrrrl in #228
- split Go Blob parts into Media and Data. by @randall77 in #246
- [Go] move tracing under core by @jba in #247
- Added initialization of Node.js project if no runtime is detected. by @apascal07 in #239
- [Go] move logging out of internal by @jba in #248
- Add example with input by @ssbushi in #236
- [Go] move Milliseconds into tracing package by @jba in #253
- fix: passthrough streaming callback on dotprompt render by @pavelgj in #249
- Add links to plugin docs by @kevinthecheung in #262
- chore: deemphasize tools API message in the console by @pavelgj in #264
- [Go] use "dotprompt" as the provider for dotprompt actions by @ianlancetaylor in #263
- [Go] improve doc for genkit package by @jba in #266
- [Go] rename type params in core package by @jba in #269
- [Go] rename Run[T] to Run[Out] by @jba in #267
- Clean up doc strings by @randall77 in #265
- [Go] Add simple RAG sample by @ssbushi in #261
- [Go] Added input/output validation for flows and actions and model output conformance. by @apascal07 in #251
- [Go] change embedder plugins to use Init and New by @ianlancetaylor in #276
- [Go] remove samples/menu by @ianlancetaylor in #277
- Add array of toolNames to CreatePromptRequest by @MaesterChestnut in #275
- feat: added
toolRequests
helper to GenerateResponse to make it easier to work with tools by @pavelgj in #273
New Contributors
- @debkanchan made their first contribution in #196
- @sqrrrl made their first contribution in #228
Full Changelog: 0.5.1...0.5.2
0.5.1
What's Changed
- Added firebase emulator instructions by @pavelgj in #100
- rename IsPlainText -> IsText by @randall77 in #155
- Make node version requirement explicit in genkit CLI by @tonybaroneee in #46
- [Go] better error message for LookupGeneratorAction by @ianlancetaylor in #157
- [Go] add tools support to vertexai plugin by @ianlancetaylor in #156
- Quick fix where we missed jokeFlow update by @MaesterChestnut in #162
- Make Evaluators plugin work with ESM by @ssbushi in #158
- Update integrations list by @kevinthecheung in #163
- Simplified firebase init instructions by @pavelgj in #164
- Updated readme by @pavelgj in #73
- Update logos by @pavelgj in #165
- Add a source and source version dimension to all metrics for TS. by @kmandrika in #161
- Add Project IDX link to README by @i2amsam in #166
- Add Gemini 1.5 Pro Flash by @MichaelDoyle in #167
- Add logo in README for Project IDX by @tonybaroneee in #168
- fix sample code of firebase by @laiso in #175
- Update index.md with repo link by @kevinthecheung in #178
- [Go] make the two Gemini generators more similar by @jba in #174
- Updated naming for Google AI and Vertex AI plugins by @chrisraygill in #45
- [Go] go.mod: change module path by @jba in #179
- [Go] support tool requests when invoking a generator by @ianlancetaylor in #181
- Adding Genkit for Go sign up link by @chrisraygill in #184
- [Go] fix panic when registering indexer by @jba in #186
- Fix bug in tool usage doc by @ssbushi in #189
- Update retrieverName in pgvector template by @ssbushi in #190
- Next.js docs by @kevinthecheung in #187
- Docs/firebase fixes by @MaesterChestnut in #177
- Added a structured streaming sample by @pavelgj in #204
- Update docs to include all supported vertexai models by @tonybaroneee in #208
- [Go] POC: redo dotprompt API by @jba in #202
- [Go] reorganize and document by @jba in #200
- Improved error message when ollama is not running by @pavelgj in #205
- Added docs links in API key errors by @pavelgj in #215
- Removed
build:clean
script fromgenkit init
sample package.json. by @apascal07 in #216 - [Docs] Fix config -> options for firestore retriever by @ssbushi in #218
- Export textEmbeddingGecko001 for googleai by @pavelgj in #217
New Contributors
Full Changelog: 0.5.0...0.5.1
0.5.0
Beta release of Firebase Genkit framework 🎉
What's Changed since 0.5.0-rc.12
- Rename
js/samples
->js/testapps
by @tonybaroneee in #143 - Update stale
js/pnpm-lock.yaml
by @tonybaroneee in #144 - [Go] adjust traces (redo) by @jba in #121
- Remove link to sample app in flows documentation by @tagboola in #147
- [Go] add localvec to correspond to TypeScript dev-local-vectorstore by @ianlancetaylor in #124
- [Go] logging for GCP by @jba in #146
- [Go] document most generated types by @jba in #119
- added missing .js suffix on import by @pavelgj in #153
- Replace bobFacts with menuSuggestion in rag docs by @tagboola in #113
- Update dotprompt and eval doc to reflect menuSuggestionFlow theme by @MaesterChestnut in #145
- Update order of selections in the Firebase by @tagboola in #152
- Update deploy and auth documentation to use menuSuggestionFlow by @MaesterChestnut in #112
- Updated the CLI readme by @pavelgj in #151
- Fix functions dependency by @tagboola in #154
- Replace Part layout to use enum instead of bool. For future adding of a Tool kind. by @randall77 in #148
Full Changelog: 0.5.0-rc.12...0.5.0
0.5.0-rc.12
What's Changed
- Added
-o, --open
flag to launch the browser togenkit start
by @pavelgj in #122 - Properly ensure reflection API is never started more than once by @pavelgj in #127
- Properly mark type exports to unblock ESM builds by @pavelgj in #126
- Adds defineSimpleRetriever and docs. by @mbleigh in #125
- Replaced
options
withconfig
in thegenerate
function within the document by @tanabee in #128 - Moves firestoreTraceStore to firebase plugin, cleans up unused deps and outdated examples. by @mbleigh in #132
- Update pnpm to v9.1.1 by @tonybaroneee in #138
- Replace template variable with actual model name by @peterfriese in #129
- Moved menu and coffee shop samples into top level samples folder by @pavelgj in #137
- Added (experimental) non-interactive mode option for
genkit init
by @pavelgj in #140 - Fixes issue with context not passing through generate() by @mbleigh in #139
- Update js/pnpm-lock.yaml and exclude pnpm lock from samples by @tonybaroneee in #142
- bump version to 0.5.0-rc.12 by @pavelgj in #141
New Contributors
Full Changelog: 0.5.0-rc.11...0.5.0-rc.12
0.5.0-rc.11
What's Changed
- update docs logo by @i2amsam in #109
- Strip keys with null values in prompt metadata by @tonybaroneee in #114
- Update I/O metrics to be counters instead of histograms by @bryanatkinson in #111
- Update dotprompt doc to clarify that it is a genkit plugin by @maxl0rd in #110
- Replace jokeFlow with menuSuggestionFlow in flows.md by @tagboola in #96
- Update linking instructions by @tonybaroneee in #116
- Write tools config in
genkit init
. by @apascal07 in #117 - Fixed .js -> .ts for harness files. by @apascal07 in #118
- Added .ts to the list of watched extensions by @pavelgj in #120
Full Changelog: 0.5.0-rc.10...0.5.0-rc.11
0.5.0-rc.10
What's Changed
- Rename toc titles to be more consistent with expected behaviors by @schnecle in #75
- Update docs to include embedder when using answer relevancy metric by @tagboola in #76
- Move CLI code to separate package folder by @tonybaroneee in #78
- Fixes DocumentData imports. by @mbleigh in #79
- Support references in
eval:flow
by @ssbushi in #63 - Use dotprompt in evaluators by @ssbushi in #42
- [Go] adding metadata to models, etc. by @pavelgj in #71
- Update genkit init templates and docs by @MaesterChestnut in #62
- [Go] add vertexai embedder by @ianlancetaylor in #81
- Fix genkit init to work with new cli directory by @MaesterChestnut in #84
- Adds enum support to Picoschema. by @mbleigh in #85
- Automatically generate schema export file on common build by @tonybaroneee in #39
- Create code for menu/basic example by @MaesterChestnut in #57
- Moving the dotprompt package into a plugin by @maxl0rd in #80
- Fix import in vertexai plugin by @tonybaroneee in #86
- Fixed more eval imports by @pavelgj in #87
- Add
dotprompt
plugin to menu sample by @tonybaroneee in #90 - Remove dotprompt plugin from
build:core
by @tonybaroneee in #88 - Unwrap logs by @ssbushi in #91
- Remove references to initializeGenkit() in samples by @MichaelDoyle in #89
- Add in a menu based rag example to use in docs. by @schnecle in #82
- Use cors middleware by default for startFlowsServer by @pavelgj in #95
- Resolving issues with loading dotprompt files by @maxl0rd in #92
- [Go] update dotprompt model strings to use provider/model by @ianlancetaylor in #94
- Added harness mode for Next.js. by @apascal07 in #93
- Implement tool calls for Google AI by @MichaelDoyle in #49
- [Go] regenerate types, set new GenerateResponse.Request field by @ianlancetaylor in #101
- Fixed default condition for entry point. by @apascal07 in #102
- fix go.mod Go version by @randall77 in #24
- Added defaultModel to config that allows setting a global default model and config by @pavelgj in #98
- Renamed ollama plugin to
genkitx-ollama
by @pavelgj in #97 - Fix missing attributes in dotprompt serialization by @MichaelDoyle in #104
- Minor cli cleanup: show help when no command provided, hide login/deploy unless plugins installed by @pavelgj in #105
- Add note that evaluator and vertexai packages must be installed by @tagboola in #77
- Fix pnpm-lock.yaml and build dotprompt plugin first by @tonybaroneee in #106
- Fix for doc referenced samples by @MaesterChestnut in #99
- Adding missing .js suffixes to relative imports (required for mjs) by @pavelgj in #108
Full Changelog: 0.5.0-rc.9...0.5.0-rc.10
0.5.0-rc.9
What's Changed
- Add vertex evaluator information to docs by @tagboola in #1
- Add strong response types for vertex evaluators by @tagboola in #2
- Add the genkit client header to calls to Vertex Rapid Eval by @schnecle in #10
- Use span's recordException to record Errors by @MichaelDoyle in #9
- Improve copypastability of some snippets by @kevinthecheung in #13
- Remove preview language from evals docs and expand supported evaluators by @schnecle in #6
- Update dev-ui-gallery to show both v1 and v1beta models for GoogleAI by @MichaelDoyle in #15
- Add Vertex AI fluency metric by @tagboola in #12
- Add docs for writing custom evaluators by @schnecle in #14
- Lifting definePrompt to genkit core by @maxl0rd in #11
- Add vertex ai summarization metrics by @tagboola in #17
- Mark next.js option experimental by @pavelgj in #21
- Update docs to include info about analytics by @sam-gc in #19
- Firestore vector store docs by @kevinthecheung in #18
- [Go] add coffee-shop sample by @ianlancetaylor in #23
- implement streaming in googleai generator by @randall77 in #25
- Support system prompt natively for Gemini 1.5 by @MichaelDoyle in #22
- Fix typo by @peterfriese in #33
- Introduced defineAction which handles registry for actions under the hood by @pavelgj in #35
- Update get-started.md - typo by @kevinthecheung in #30
- Update deploy-node.md - typo by @kevinthecheung in #31
- Update evaluation.md - typo by @kevinthecheung in #32
- Fix schema-exporter script in genkit-tools by @tonybaroneee in #38
- Do not pass systemInstructions to models that do not support it by @MichaelDoyle in #40
- Deleted obsolete action types and added
custom
by @pavelgj in #37 - Samples - merge custom model params into config by @MichaelDoyle in #41
- [Go] name dev trace store dir like js by @jba in #44
- Consolidate action subtype metadata setting in defineAction by @pavelgj in #47
- [Go] omit nulls from trace output by @jba in #48
- Moved middleware up to actions by @pavelgj in #53
- Use the same names from modelRefs as keys in SUPPORTED_GEMINI_MODELS by @MichaelDoyle in #59
- Prevent prompt rendering from spamming local trace store by @maxl0rd in #60
- Add prompts.md to _guides.yaml by @kevinthecheung in #55
- Add gcloud install links by @kevinthecheung in #66
- Update init command to play nice with Functions eslint default settings by @sam-gc in #43
- Fixed incorrect return statement. by @apascal07 in #67
- [Go] Added missing TraceID to go TraceData and made timeEvent optional by @pavelgj in #58
- Adds context as first-class feature of Model. by @mbleigh in #61
- Upgrade to pnpm 9.1.0 by @tonybaroneee in #69
- Respect log levels by @ssbushi in #68
- Restructure RAG doc to separate concepts from how-to by @schnecle in #65
- bump version to 0.5.0-rc.9 by @pavelgj in #74