Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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). |
|
This sample demonstrates structured input/output with strongly-typed Go structs.
|
This sample demonstrates structured input/output with strongly-typed Go structs. |
|
compat_oai
|
|
|
anthropic
command
|
|
|
custom
command
|
|
|
openai
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. |
|
This sample demonstrates durable streaming with Firestore backend.
|
This sample demonstrates durable streaming with Firestore backend. |
|
Tool-interrupts demonstrates the tool interrupts feature in Genkit.
|
Tool-interrupts demonstrates the tool interrupts feature in Genkit. |
|
This program can be manually tested like so:
|
This program can be manually tested like so: |
|
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. |
Click to show internal directories.
Click to hide internal directories.