Sha256: da96de8cb425948d8f3bb49c6954266f454eb6ebad8b421b661c043a7550ad35

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require "roseflow/prompt"

class GithubChatPrompt < Roseflow::Prompt
  def initialize(input)
    @input = input
  end

  attr_reader :input

  def template
    plain_raw condensed(prompt_string)
  end

  private

  def prompt_string
    <<-PROMPT

    Command: [#{input}]
    PROMPT
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roseflow-0.1.0 examples/github-repo-chat/lib/github_chat_prompt.rb