Class: Assistant::GammaToolBuilder
- Inherits:
-
Object
- Object
- Assistant::GammaToolBuilder
- Defined in:
- app/services/assistant/gamma_tool_builder.rb
Overview
Builds RubyLLM::Tool subclasses for Gamma presentation/document creation.
Provides two tools:
- gamma_create: Generate a presentation, document, webpage, or social post.
Submits the job and polls until completion (~30–90s). - gamma_list_themes: List available Gamma themes so the LLM can pick one by name.
Usage (via ChatToolBuilder):
tools = Assistant::GammaToolBuilder.tools
Defined Under Namespace
Modules: GammaIdExtractable Classes: CreateTool, ListThemesTool, ReadTool, ReworkTool
Class Method Summary collapse
Class Method Details
.tools ⇒ Array<RubyLLM::Tool>
516 517 518 519 520 521 522 523 |
# File 'app/services/assistant/gamma_tool_builder.rb', line 516 def tools [ CreateTool.new, ReworkTool.new, ReadTool.new, ListThemesTool.new ] end |