go

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0

README

Firebase Genkit

This package is the Go version of Firebase Genkit, a framework for building AI-powered apps. See: https://firebase.google.com/docs/genkit-go

Directories

Path Synopsis
Package core implements Genkit actions and other essential machinery.
Package core implements Genkit actions and other essential machinery.
logger
Package logger provides a context-scoped slog.Logger.
Package logger provides a context-scoped slog.Logger.
tracing
Package gtime provides time functionality for Go Genkit.
Package gtime provides time functionality for Go Genkit.
Package genkit provides Genkit functionality for application developers.
Package genkit provides Genkit functionality for application developers.
atype
Package atype provides types for Genkit actions.
Package atype provides types for Genkit actions.
cmd/copy
copy is a tool for copying parts of files.
copy is a tool for copying parts of files.
cmd/jsonschemagen
A simple, self-contained code generator for JSON Schema.
A simple, self-contained code generator for JSON Schema.
cmd/weave
The weave command is a simple preprocessor for markdown files.
The weave command is a simple preprocessor for markdown files.
doc-snippets
Package snippets contains snippets that are incorporated into documentation (see the docs-go directory under the repo root).
Package snippets contains snippets that are incorporated into documentation (see the docs-go directory under the repo root).
doc-snippets/init
[START main]
[START main]
fakeembedder
Package fakeembedder provides a fake implementation of genkit.Embedder for testing purposes.
Package fakeembedder provides a fake implementation of genkit.Embedder for testing purposes.
plugins
dotprompt
Package dotprompt parses and renders dotprompt files.
Package dotprompt parses and renders dotprompt files.
googlecloud
The googlecloud package supports telemetry (tracing, metrics and logging) using Google Cloud services.
The googlecloud package supports telemetry (tracing, metrics and logging) using Google Cloud services.
internal/gemini
Package gemini contains code that is common to both the googleai and vertexai plugins.
Package gemini contains code that is common to both the googleai and vertexai plugins.
internal/uri
Package uri extracts the content-type and data from a media part.
Package uri extracts the content-type and data from a media part.
localvec
Package localvec is a local vector database for development and testing.
Package localvec is a local vector database for development and testing.
pinecone
Package pinecone implements a genkit plugin for the Pinecone vector database.
Package pinecone implements a genkit plugin for the Pinecone vector database.
samples
pgvector
This program can be manually tested like so:
This program can be manually tested like so:
rag
tests
test_app
This program doesn't do anything interesting.
This program doesn't do anything interesting.