Sha256: 9133a72f155a29793e891cd1a0fcb3d40671a0102b40127a0e1c72e94b8aa6d0
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Ad module AgentArchitecture module Dsl # This class is responsible for defining the prompts of a workflow class PromptDsl def initialize(prompts) @prompts = prompts end def prompt(name, path: nil, content: nil) @prompts[name] = { name: name, path: path, content: content } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ad-agent_architecture-0.0.11 | lib/ad/agent_architecture/dsl/prompt_dsl.rb |
ad-agent_architecture-0.0.10 | lib/ad/agent_architecture/dsl/prompt_dsl.rb |