action_prompter 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +24 -0
- data/LICENSE.txt +21 -0
- data/README.md +586 -0
- data/lib/action_prompt/adapters/base.rb +62 -0
- data/lib/action_prompt/adapters/null.rb +21 -0
- data/lib/action_prompt/adapters/test.rb +59 -0
- data/lib/action_prompt/base.rb +117 -0
- data/lib/action_prompt/configuration.rb +38 -0
- data/lib/action_prompt/message.rb +81 -0
- data/lib/action_prompt/railtie.rb +36 -0
- data/lib/action_prompt/renderer.rb +78 -0
- data/lib/action_prompt/version.rb +5 -0
- data/lib/action_prompt.rb +54 -0
- data/lib/generators/action_prompt/action_prompt_generator.rb +60 -0
- data/lib/generators/action_prompt/templates/prompt.rb.tt +18 -0
- data/lib/generators/action_prompt/templates/prompt.text.erb.tt +13 -0
- metadata +109 -0
metadata
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: action_prompter
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- James Alain Dantes
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-02-26 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: railties
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '7.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '7.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: actionview
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '7.0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '7.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: activesupport
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '7.0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '7.0'
|
|
55
|
+
description: |
|
|
56
|
+
ActionPrompt provides an ActionMailer-inspired DSL for defining, rendering, and
|
|
57
|
+
delivering LLM prompts in Ruby on Rails applications. Write prompts as ERB
|
|
58
|
+
templates, configure pluggable adapters, and deliver to any LLM provider.
|
|
59
|
+
email:
|
|
60
|
+
- 112568643+jamesalaindantes94@users.noreply.github.com
|
|
61
|
+
executables: []
|
|
62
|
+
extensions: []
|
|
63
|
+
extra_rdoc_files: []
|
|
64
|
+
files:
|
|
65
|
+
- CHANGELOG.md
|
|
66
|
+
- LICENSE.txt
|
|
67
|
+
- README.md
|
|
68
|
+
- lib/action_prompt.rb
|
|
69
|
+
- lib/action_prompt/adapters/base.rb
|
|
70
|
+
- lib/action_prompt/adapters/null.rb
|
|
71
|
+
- lib/action_prompt/adapters/test.rb
|
|
72
|
+
- lib/action_prompt/base.rb
|
|
73
|
+
- lib/action_prompt/configuration.rb
|
|
74
|
+
- lib/action_prompt/message.rb
|
|
75
|
+
- lib/action_prompt/railtie.rb
|
|
76
|
+
- lib/action_prompt/renderer.rb
|
|
77
|
+
- lib/action_prompt/version.rb
|
|
78
|
+
- lib/generators/action_prompt/action_prompt_generator.rb
|
|
79
|
+
- lib/generators/action_prompt/templates/prompt.rb.tt
|
|
80
|
+
- lib/generators/action_prompt/templates/prompt.text.erb.tt
|
|
81
|
+
homepage: https://github.com/soran-me/action_prompt
|
|
82
|
+
licenses:
|
|
83
|
+
- MIT
|
|
84
|
+
metadata:
|
|
85
|
+
allowed_push_host: https://rubygems.org
|
|
86
|
+
homepage_uri: https://github.com/soran-me/action_prompt
|
|
87
|
+
source_code_uri: https://github.com/soran-me/action_prompt
|
|
88
|
+
changelog_uri: https://github.com/soran-me/action_prompt/blob/main/CHANGELOG.md
|
|
89
|
+
rubygems_mfa_required: 'true'
|
|
90
|
+
post_install_message:
|
|
91
|
+
rdoc_options: []
|
|
92
|
+
require_paths:
|
|
93
|
+
- lib
|
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
- - ">="
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: 3.1.0
|
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
requirements: []
|
|
105
|
+
rubygems_version: 3.4.10
|
|
106
|
+
signing_key:
|
|
107
|
+
specification_version: 4
|
|
108
|
+
summary: Rails-native conventions for integrating Large Language Models.
|
|
109
|
+
test_files: []
|