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 context-scoped structured logging for Genkit.
|
Package logger provides context-scoped structured logging for Genkit. |
|
tracing
Package tracing provides execution trace support for Genkit operations.
|
Package tracing provides execution trace support for Genkit operations. |
|
x/session
Package session provides experimental session management APIs for Genkit.
|
Package session provides experimental session management APIs for Genkit. |
|
x/streaming
Package streaming provides experimental durable streaming APIs for Genkit.
|
Package streaming provides experimental durable streaming APIs for Genkit. |
|
Package genkit provides a framework for building AI-powered applications in Go.
|
Package genkit provides a framework for building AI-powered applications in Go. |
|
cmd/copy
command
copy is a tool for copying parts of files.
|
copy is a tool for copying parts of files. |
|
cmd/jsonschemagen
command
A simple, self-contained code generator for JSON Schema.
|
A simple, self-contained code generator for JSON Schema. |
|
cmd/weave
command
The weave command is a simple preprocessor for markdown files.
|
The weave command is a simple preprocessor for markdown files. |
|
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
|
|
|
evaluators
Package evaluators defines a set of Genkit Evaluators for popular use-cases
|
Package evaluators defines a set of Genkit Evaluators for popular use-cases |
|
firebase/x
Package x contains experimental Firebase features.
|
Package x contains experimental Firebase features. |
|
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
Package internal contains code that is common to all models
|
Package internal contains code that is common to all models |
|
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. |
|
mcp
Package mcp provides a client for integration with the Model Context Protocol.
|
Package mcp provides a client for integration with the Model Context Protocol. |
|
mcp/fixtures/basic_server
command
|
|
|
mcp/fixtures/content_server
command
|
|
|
mcp/fixtures/policy_server
command
|
|
|
mcp/fixtures/server_a
command
|
|
|
mcp/fixtures/server_b
command
|
|
|
pinecone
Package pinecone implements a genkit plugin for the Pinecone vector database.
|
Package pinecone implements a genkit plugin for the Pinecone vector database. |
|
samples
|
|
|
anthropic
command
|
|
|
basic
command
This sample demonstrates basic Genkit flows: a non-streaming flow and a streaming flow that generate jokes about a given topic.
|
This sample demonstrates basic Genkit flows: a non-streaming flow and a streaming flow that generate jokes about a given topic. |
|
basic-prompts
command
This sample demonstrates prompts using both inline code definitions and .prompt files (Dotprompt).
|
This sample demonstrates prompts using both inline code definitions and .prompt files (Dotprompt). |
|
basic-structured
command
This sample demonstrates structured input/output with strongly-typed Go structs.
|
This sample demonstrates structured input/output with strongly-typed Go structs. |
|
cache-gemini
command
|
|
|
code-execution-gemini
command
|
|
|
coffee-shop
command
|
|
|
compat_oai/anthropic
command
|
|
|
compat_oai/custom
command
|
|
|
compat_oai/openai
command
|
|
|
durable-streaming
command
This sample demonstrates durable streaming, which allows clients to reconnect to in-progress or completed streams using a stream ID.
|
This sample demonstrates durable streaming, which allows clients to reconnect to in-progress or completed streams using a stream ID. |
|
durable-streaming-firestore
command
This sample demonstrates durable streaming with Firestore backend.
|
This sample demonstrates durable streaming with Firestore backend. |
|
files-api-vision
command
|
|
|
firebase-retrievers
command
|
|
|
flow-sample1
command
|
|
|
formats
command
|
|
|
imagen
command
|
|
|
imagen-gemini
command
|
|
|
intermediate-interrupts
command
Tool-interrupts demonstrates the tool interrupts feature in Genkit.
|
Tool-interrupts demonstrates the tool interrupts feature in Genkit. |
|
mcp-ception
command
|
|
|
mcp-client
command
|
|
|
mcp-server
command
|
|
|
menu
command
|
|
|
modelgarden
command
|
|
|
multipart-tools
command
|
|
|
ollama-tools
command
|
|
|
ollama-vision
command
|
|
|
partials-and-helpers
command
|
|
|
pgvector
command
This program can be manually tested like so:
|
This program can be manually tested like so: |
|
prompts
command
|
|
|
prompts-embed
command
|
|
|
rag
command
|
|
|
session
command
This sample demonstrates how to use sessions to maintain state across multiple requests.
|
This sample demonstrates how to use sessions to maintain state across multiple requests. |
|
text-to-speech
command
|
|
|
vectorsearch-biqguery
command
|
|
|
vectorsearch-firestore
command
|
|
|
veo
command
|
|
|
tests
|
|
|
test_app
command
This program doesn't do anything interesting.
|
This program doesn't do anything interesting. |
Click to show internal directories.
Click to hide internal directories.