跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Developing Genkit Go

技能 已验证 活跃
属于:Firebase

Develop AI-powered applications using Genkit in Go. Use when the user asks to build AI features, agents, flows, or tools in Go using Genkit, or when working with Genkit Go code involving generation, prompts, streaming, tool calling, or model providers.

目的

To enable developers to build AI-powered applications, agents, and tools efficiently using the Genkit SDK in Go, providing structure and best practices.

功能

  • Genkit SDK initialization and configuration in Go
  • Defining and executing text, data, and streaming generation
  • Creating and using prompts, including typed and file-based prompts
  • Integrating tools with interrupt and response handling
  • Building and deploying AI flows via HTTP handlers

使用场景

  • When a user asks to build AI features, agents, or flows in Go using Genkit.
  • When working with Genkit Go code involving generation, prompts, streaming, or tool calling.
  • When setting up model providers like Google AI, Anthropic, or OpenAI-compatible APIs within a Go application.
  • When developing structured AI outputs or complex AI logic via Genkit flows.

非目标

  • Providing specific AI models; relies on Genkit's provider integrations.
  • Managing deployment infrastructure for Genkit applications.
  • Replacing the core Genkit SDK or Go language itself.

工作流

  1. Initialize Genkit with plugins and configuration.
  2. Define AI resources like prompts, tools, and flows.
  3. Integrate AI logic into Go application code.
  4. Optionally, expose flows as HTTP endpoints.
  5. Utilize the Genkit CLI for development and tracing.

实践

  • AI Development
  • Go Programming
  • SDK Usage
  • Prompt Engineering

先决条件

  • Go programming language environment
  • Genkit SDK for Go
  • Access to configured AI model providers (e.g., API keys)

安装

请先添加 Marketplace

/plugin marketplace add firebase/agent-skills
/plugin install agent-skills@firebase

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标280
许可证Apache-2.0
状态
查看源代码

类似扩展

Azure Ai Document Intelligence Dotnet

100

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".

技能
microsoft

Skill Creator

99

Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.

技能
microsoft

Trader Regime

100

Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy

技能
ruvnet

Trading Memory

100

AI交易记忆的领域知识 — 结果加权记忆 (OWM) 架构、5种记忆类型、回忆评分和行为分析。用于记录交易、回忆相似的上下文、分析性能或检查行为漂移。在 "record trade"、"remember trade"、"recall"、"similar trades"、"performance"、"behavioral"、"disposition"、"affective state"、"confidence" 时触发。

技能
mnemox-ai

TradeMemory Protocol

100

Evolution Engine 的领域知识 — 支持 LLM 从原始 OHLCV 数据中自主发现策略。涵盖生成-回测-选择-进化循环、向量化回测、样本外验证和策略梯度。在发现交易模式、运行回测、进化策略或审查进化日志时使用。由“evolve”、“discover patterns”、“backtest”、“evolution”、“strategy generation”、“candidate strategy”触发。

技能
mnemox-ai

Image Transformation API

100

Transform images with resize, crop, smart crop, upscale, remove background, and 20+ operations.

技能
iterationlayer