Module: Legion::Prompts
- Defined in:
- lib/legion/prompts.rb
Class Method Summary collapse
Class Method Details
.get(name, version: :production) ⇒ Object
6 7 8 |
# File 'lib/legion/prompts.rb', line 6 def get(name, version: :production) client.get_prompt(name: name, tag: version.to_s) end |
.list ⇒ Object
10 11 12 |
# File 'lib/legion/prompts.rb', line 10 def list client.list_prompts end |